I am using google app engine in eclipse in windows OS. I want to used Vosao CMS(which is develop for GAE). But i can't deploy in eclipse in windows and easily deploy in eclipse in windows.So how vosao(content management system) deploy in eclipse in windows OS.
There is not direct way to deploy the Vosao in eclipse in windows. But there is a alternate solution.
For- Eclipse IDE for Java Developers
1.Unzip the war file.
2.than create a project in eclipse.
3.Than copy the contain of unzip folder one by one & paste in proper position in your project.like servlet paste in src & jsp pages paste in war folder.
4.care fully read this point
In unzip folder there is a web-inf folder & also in your project there is web-inf folder. So copy the contain of web-inf folder carefully in project web-inf folder.
For-Eclipse IDE for Java EE developers
File-->Import-->web-->war
It may be work. In my project both are work.
There is a very good tutorial on this.
http://www.rarejava.com/blog/2011/07/deploying-vosao-from-eclipse
I had do minor modifications on my side for Maven and Subclipe 1.8. Other than that the Blog worked like a charm
Related
For a project I want to do a performance comparison of different web-frameworks on a raspberry pi. Thats why I want to do only a manual deploy to mess around with it a bit.
I created a Vaadin project using maven and exported it as application.war file. I downloaded the tomcat-7 server and unzipped it. After that I gave the .sh files in the folder executable permission. Then I copied .war file in the webapps folder of tomcat. Finally I started tomcat by running sh startup.sh.
But when I try to open the page on my dev machine under ip:8080/application I only receive a timeout.
Did I miss something?
I have a web source code includes two folders: META-INF and WEB-INF directory is structured as:
WhatJobs
|META-INF
|WEB-INF
|application
|classes
|framework
|lib
|resources
|web.xml
how I can load project in NetBean. Please help me.
Netbeans will need project property file by reading which, netbeans will be able to understand what type of project is. So either netbeans will check for the nbproject folder where in project.properties file will reside or it should be eclipse project where in netbeans can read eclipse project property file.
Your provided structure will not work.
If you want your project in netbeans, then you can create new project and copy paste files according to your requirement in that new project.
I am running jboss 7.1, maven 3, and a java ee6 application that generates an .ear
I am doing a mvn clean package jboss:as-deployand Jboss-as-maven-plugin 1.5 does its thing--I can view my app using http://localhost:8080...
just fine, but I want to know where the actual .ear is being put.
It is not in my jboss7.../standalone/deployments folder. So where is it? My app is obviously running in jboss 7.1 just fine, but I can't find the .ear file. I know that there is an .ear in Eclipse's 'target' directory, but that wasn't produced by jboss-as-maven-plugin is it? I hope you can understand my confusion--don't all .ear files need to be in the deployments directory? I also do see my .ear file inside my hidden .m2/repository directory, but does this have any interaction with jboss-as-maven-plugin? Maybe there is some hidden sym-linking between my Eclipse project's 'target' directory and the jboss7.1 standalone/deployment directory?
p.s. I am used to using a hard-deploy option with the other plugin jboss-maven that requires you to say jboss:hard-deploy which just copies the .ear to your deployments folder. Then jboss would pick up the new .ear and redeploy automatically. I get the sense that jboss-as-maven-plugin is the preferred plugin so that's why I am bothering.
The jboss-as-maven-plugin uses the deployment API so it doesn't copy the file to the deployments directory for the scanner to pick it up. It deploys just as if you deployed it from the web console or via CLI. The files should be located somewhere in the $JBOSS_HOME/standalone/data/ directory.
You're welcome to open an issue, for a discussion around it at least. I'm not sure how I feel about adding a goal for it, but here isn't the place to discuss that :)
I have been developing a web application , here I need to generate thumbnails of videos when they are uploaded by users. I am using Tomcat as my server. So my Tomcat resides in C:\Apache Tomcat 6 . So do i need to include the jar files of Xuggler in C:\Apache Tomcat 6\lib folder ???? and if so which specific jar files do i need to place there ?? which version of Xuggler would be better ? I am not using Maven or Ivy or any dependencies. I am just doing the Web Application in simple Servlet and Jsp concept.
I will explain how to setup xuggler on localhost tomcat 7
download xuggler jars and all its dependencies.
then extract the .dll files from xuggler.jar(xuggler5.2.jar or xuggler5.4.jar),it is the binary file which is written i c language.
copy the .dll files,which is perfect for your system (32bit x86 ,64bit x64) to any folder. for example
c:\xuggler.dll
Add the path of .dll to the classpath.
if you are using eclipse in the build path add path of .dll to the native library path to avoid any issues.
This could definitely work ,i have done this lot of times!!!
please vote if you find my answer useful !!!
Using NetBeans 7.1.2.
When editing pages with NetBeans as per the procedure explained below, the IDE offers only autocompletion for <jsp:...> tags:
This is how I have created the NetBeans project and the jsp (though it isn't archetype specific, nor the issue has anything to do with opencms): I have created a maven project with the OpenCms-Module archetype
mvn archetype:generate -DarchetypeCatalog=http://bp-cms-commons.sourceforge.net/m2repo
The archetype creates a maven project with jar packaging.
After that, I have added a jsp under src/main/opencms/modules/blahblah/templates.
And then I have added the taglibs.standard dependency to the project, to try to provide NetBeans with the corresponding tlds.
After several hours trying to get this working, I found this reported and closed bug that hinted me into the right direction:
Added src/main/webapp directory Edit 1: There is autocompletion only for jstl tags if the files are inside src/main/webapp. Workaround in linux (not sure if windows links will work): Create a symlink:
ln -s opencms/ src/main/webapp from the project root folder
Change maven project packaging to war (Project properties -> General -> Packaging)
(Notice that neither the #taglib directive nor the taglibs.standard dependency are necessary.)
If the Web Pages entry does not appear under your project (in the projects view), you may need to restart NetBeans. Now you'll have full autocompletion (only) under src/main/webapp! :-)
Edit 2
Unfortunately, if under version control, NetBeans sees the symlink as a new directory, and all files under it, as new files :-( This is very inconvenient, because to access the IDE integrated version control functionality, you still need to open the original resource.