Re: Why does Geronimo not cleanup tempdir

2010-05-06 Thread Ivan
All the temp files are created with deleteOnExit, also, Geronimo will try to delete those files explictly once they are not needed. I just checked the trunk and add some codes to clean up those file as early as possible, but might be more places need to look at. 2010/5/6 Marc Vachon

packaging for geronimo specific deployment plan

2010-05-06 Thread Tapas Mishra
I tried to deploy a grail application (helloworld) on geronimo I got a few errors.Like xception in thread main java.lang.IllegalArgumentException: id must be in the form [groupId]/[artifactId]/[version]/[type] : /root/a12/target/a12-0.1.war        at

HTTP error 500 creating deployment plan on geronimo

2010-05-06 Thread Tapas Mishra
I opened the http://192.168.1.1:9090/console and was able to see GUI for admin control for Geronimo. I have a Java war file which I want to deploy in this server. So I clicked to create a deployment plan which after uploading the war and clicking on configure failed. I got following error.What

how to debug deployment plan

2010-05-06 Thread Tapas Mishra
I really do not know how to do I have gone through a lot of blogs tutorials forums etc etc.But have not yet got any sollution. I am trying to deploy a helloworld application on geronimo which is made using grails. and get error here is a snapshot server# java -jar deployer.jar --user system

Re: Running a non web java application

2010-05-06 Thread Marshall Crocker
Not to hijack this thread but I was wondering the same thing. In my web app, I want to be able to receive TCP data on a socket. That data will then be parsed and saved to a DB. Clients would connect directly to the TCP socket and transfer the raw data. Currently the way clients pass data is

Re: Why does Geronimo not cleanup tempdir

2010-05-06 Thread Kevan Miller
On May 5, 2010, at 1:08 PM, Marc Vachon wrote: Hi, Why does Geronimo not cleanup the files in its tempdir (var/temp). Some files do get removed but I don't understand why others are not. Hi Marc, What version of Geronimo? What files aren't being deleted? I'd suggest you create a Jira...

DayTrader on Tomcat

2010-05-06 Thread Dianne Richards
Hi - Donald Woods told me that he thought changes were being made to DayTrader in trunk to create a war file that can be run on Tomcat. I downloaded the files and see some changes in the code. But, when I build it I don't see any war file. Am I missing something? Or, how close is it to being done?

Re: DayTrader on Tomcat

2010-05-06 Thread Forrest Xia
Hi Dianne, What code base you are working on? Recently I copy daytrader into Geronimo samples trunk for future maintanence, the new URL is http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/daytrader/ If you get code from there, you can follow these steps to get a war which could be

Re: DayTrader on Tomcat

2010-05-06 Thread Dianne Richards
Thanks Forrest - I had downloaded DayTrader from https://svn.apache.org/repos/asf/geronimo/daytrader/trunk. I'll try it from the link you posted. Dianne On Thu, May 6, 2010 at 10:10 AM, Forrest Xia forres...@gmail.com wrote: Hi Dianne, What code base you are working on? Recently I copy

Re: Running a non web java application

2010-05-06 Thread David Jencks
Hi Marshall, There are several things you can do here. What's best may depend on quite a few factors including how heavily loaded this service is going to be and how you want to configure it. The most javaee way to approach this is to write an inbound j2ca resource adapter that listens on

Re: DayTrader on Tomcat

2010-05-06 Thread Dianne Richards
I need more help. I downloaded the code again from the new link ( http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/daytrader/) into G:\geronimo\samples\trunk. From that directory, I did mvn clean install. I got the following error: G:\geronimo\samples\trunkmvn clean install [INFO]

Re: DayTrader on Tomcat

2010-05-06 Thread David Jencks
Probably you need to checkout http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples and build at least that with mvn -N, then try again with daytrader. You may also need to download and build geronimo trunk, I don't know if there are dependencies on trunk nor how up to date any

Re: deploying grails to geromino xml problem for web app in

2010-05-06 Thread Tapas Mishra
Thanks for telling that. -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/deploying-grails-to-geromino-xml-problem-for-web-app-in-tp775201p781837.html Sent from the Users mailing list archive at Nabble.com.

Re: grail application deployment plan on geremino via command line

2010-05-06 Thread Tapas Mishra
Thanks for the reply. -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/grail-application-deployment-plan-on-geremino-via-command-line-tp775678p781851.html Sent from the Users mailing list archive at Nabble.com.

how in the world do you get the org.apache.geronimo.system.sharedlib.SharedLib to work?

2010-05-06 Thread Dan Flynn
I cannot figure out how to configure my application classpath in Geronimo v2.2. I have an EAR project with a single Web Module. I will add other modules after I get this simple configuration to work. My app needs to access files in several directories and I cannot get them onto the classpath.

Re: how in the world do you get the org.apache.geronimo.system.sharedlib.SharedLib to work?

2010-05-06 Thread chi runhua
Complete the deployment plan with reference to ServerInfo as followed, then try again. *classesDirs attribute is used for shared files while * * attribute name=libDirsvar/shared/lib/attribute * * shall be used if you are using shared libraries(jar files).* Hope this helps. Jeff

Re: how in the world do you get the org.apache.geronimo.system.sharedlib.SharedLib to work?

2010-05-06 Thread Ivan
As you said, all those files are in the application itself, why not put them together in the lib folder of the ear package ? 2010/5/7 chi runhua chirun...@gmail.com Complete the deployment plan with reference to ServerInfo as followed, then try again. *classesDirs attribute is used for

Re: DayTrader on Tomcat

2010-05-06 Thread Forrest Xia
Hi Dianne, Have you tried the steps that I list? *1. svn co http://svn.apache.org/repos/asf/geronimo/samples/trunk/gsamplestrunk 2. cd gsamplestrunk mvn install -N cd samples mvn install -N cd daytrader mvn install 3. then check daytrader/assemblies/web/* *daytrader-web-jdbc/target for the

Re: how to debug deployment plan

2010-05-06 Thread Ivan
If you would like to read those error messages by yourself, take an example : --- error: cvc-complex-type.2.4a: Expected elements 'modul...@http://geronimo.apache.org/xml/ns/deployment-1.2 --- It means that an elment named moduleId is required. But it is better to use an Eclipse IDE, and install

Re: DayTrader on Tomcat

2010-05-06 Thread Forrest Xia
More instructions: 1. If you hit buildutil missing error, please go to buildutil directory and execute mvn install 2. if you hit problem when building daytrader from its root, something could be like this Missing dependency: net.sourceforge.serp/serp/1.11.0/jar, just ignore it for now, and go to