Finally got my EJBs and my webapp working!!
Had to pack it in an ear to get classes for the EJB deploy in Geronimo.
One thing I notised with my webapp:
When I redeploy it was not properly deleted in config-store.
Got a lot of folders there like this
40
war
WEB-INF
lib
Stein,
What OS are you running on? I think we've seen people have trouble
with extra folders left over on Windows, but not (AFAIK) on other
platforms.
Thanks,
Aaron
On 1/25/06, Stein Kråbøl [EMAIL PROTECTED] wrote:
Finally got my EJBs and my webapp working!!
Had to pack it in an ear to
On Jan 25, 2006, at 10:18 AM, Aaron Mulder wrote:
Stein,
What OS are you running on? I think we've seen people have trouble
with extra folders left over on Windows, but not (AFAIK) on other
platforms.
That's right. Because of Windows file locking strategy and issues
with URLClassLoader,
Aaron!
This happend on XP. Have not checked this on my linux box, but I'm going to
later. By the way everyting goes fine here by now, with database rescorce
and everything. Are now ready to port somebodys application to one of my
ISPs linuxboxes!
Stein
Aaron Mulder writes:
Stein,
Yes, I have deleted some of them but many are still used by sombody.
Good to hear they are deleted later!
Stein
Kevan Miller writes:
On Jan 25, 2006, at 10:18 AM, Aaron Mulder wrote:
Stein,
What OS are you running on? I think we've seen people have trouble
with extra folders left over
You need an EJB Reference in your WAR (in Geronimo, a web app can't
look up an EJB in JNDI unless there's an EJB Reference in the
web.xml). It's easiest if your EJB JAR and WAR are deployed as part
of an EAR so you can use an ejb-link in the EJB Reference in web.xml
and then you don't need any
The thing is (as posted earlier) that when I put
ejb-ref
ejb-ref-nameejb/BCalcREJB/ejb-ref-name
ejb-ref-typeSession/ejb-ref-type
homecom.tellussoft.Test.BonusCalculatorHome/home
remotecom.tellussoft.Test.BonusCalculator/remote
/ejb-ref
I get an error when deploying:
In your geronimo-web.xml (the one with the EJB reference) add a
parentId attribute to the web-app element right after the configId.
The parentId of the WAR file should be set to be the same as the
configId of the EJB JAR file. That will add the EJB JAR classes to
the class path of the WAR so it
Thank you for your response!
The error now is:
C:\web\geronimo-1.0\bindeploy --user system --password manager deploy
c:\project\my-webapp\target\my-webapp-1.0.war
Error: Unable to distribute my-webapp-1.0.war: Unable to load first
parent of configuration MyWebApp-1.0
No
A small correction conserning my former posting:
ejb-jar.xml headding wouldn't allow confiId.
But openejb-jar.xml does
Stein
According to our deployer the actual plan you are deploying has a
typo, parentid (lower case i) instead of parentId (upper case I)
hope this helps
david jencks
On Jan 24, 2006, at 8:52 PM, Stein Kråbøl wrote:
Thank you for your response!
The error now is:
C:\web\geronimo-1.0\bindeploy
I see what you mean, but this is now the errormessage:
Invalid deployment descriptor: [error: cvc-complex-type.3.2.1:
Attribute not allowed (no wildcards allowed): configId in element
[EMAIL PROTECTED]://java.sun.com/xml/ns/j2ee, error:
cvc-complex-type.3.2.1: Attribute not allowed (no
The configId and parentId go in geronimo plans, not in the spec
deployment descriptors. It looks like you have put them in web.xml
rather than the geronimo plan for your web app: I think one of your
mails indicated you had already fixed a corresponding problem for
your ejb app?
david
The error now:
Error: Unable to distribute my-webapp-1.0.war: Error processing
'remote' element for EJB Reference 'ejb/BCalcREJB' for module
'my-webapp-1.0': Remote interface class not found:
com.tellussoft.Test.BonusCalculator
--
web.xml:
I'm confused -- the geronimo-web.xml that you show has a configId of
MyWebApp-1.0 but the error is for a module called my-webapp-1.0...
Are you sure you're using the geronimo-web.xml that you think you
are? Have you tried passing both the WAR file and the
geronimo-web.xml on the command line to
The only place I can see this entry (my-webapp.1.0) is in the web.xml
displayname:
?xml version=1.0 encoding=UTR-8?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
Can somebody please send me a simple workable ear (+ source) with a simple
web app that I can deploy on my server. In this way I will understand that
Geronimo is a great server and that I can recommend it to my customers.
Without that I am afraid my last week has been useless, working almost day
On Jan 24, 2006, at 11:41 PM, Stein Kråbøl wrote:
Can somebody please send me a simple workable ear (+ source) with a
simple
web app that I can deploy on my server. In this way I will
understand that
Geronimo is a great server and that I can recommend it to my
customers.
Without that I am
18 matches
Mail list logo