Well, I can't find standardjboss.xml anywhere nor an <Optimized> tag in
any file in the conf directory.

So i decided to go for the embedded tomcat and ear option. I have
packaged up my war and ejb jar and application.xml but i get the
following exception - it seems to deploy the ejb jar and almost do the
war before failing. Unfortuntely the actual exception is not getting
reported...

[J2ee deployer] deploy j2ee application:
file:/home/matty/poc3/build-products/poc3.ear
[J2ee deployer] create application poc3.ear
[J2ee deployer] downloading and inflating module poc3.war
[J2ee deployer] downloading module poc3.jar
[J2ee deployer] deploying module poc3.jar
[Container factory]
Deploying:file:/home/matty/poc3/jboss/tmp/poc3.ear/poc3.jar
[Verifier] Verifying
file:/home/matty/poc3/jboss/tmp/deploy/tmpejbjar22996.jar
[Verifier] 
Class  : AddressEntry
Method : public abstract AddressEntry create(int) throws
CreateException, RemoteException
Section: 9.2.8
Warning: The method return values in the home interface must be of valid
types for RMI/IIOP.

[Verifier] 
Class  : AddressEntry
Method : public abstract AddressEntry findByPrimaryKey(AddressEntryPK)
throws FinderException, RemoteException
Section: 9.2.8
Warning: The method return values in the home interface must be of valid
types for RMI/IIOP.

[Verifier] 
Class  : AddressHandler
Method : public abstract AddressHandler create() throws RemoteException,
CreateException
Section: 6.10.6
Warning: The method return values in the home interface must be of valid
types for RMI/IIOP.

[Container factory] Deploying AddressEntry
[Container factory] Deploying AddressHandler
[JAWS] Table 'AddressEntry' already exists
[Container factory] Deployed application:
file:/home/matty/poc3/jboss/tmp/poc3.ear/poc3.jar
[J2ee deployer] deploying module poc3.war
[EmbeddedTomcat] ContextManager: Adding context Ctx( /poc3 )
[EmbeddedTomcat] Ctx( /poc3 ): Mapping with unregistered servlet
com.nuix.poc3.frontend.addressbook.DisplayServlet
[EmbeddedTomcat] Ctx( /poc3 ): Mapping with unregistered servlet
com.nuix.poc3.frontend.addressbook.RemoveServlet
[EmbeddedTomcat] Ctx( /poc3 ): Mapping with unregistered servlet
com.nuix.poc3.frontend.addressbook.ListServlet
[EmbeddedTomcat] Ctx( /poc3 ): Mapping with unregistered servlet
com.nuix.poc3.frontend.addressbook.CreateServlet
[EmbeddedTomcat] path="/poc3" :jsp: init
[EmbeddedTomcat] path="/poc3" :loader: init
[EmbeddedTomcat] Matty's servlet running!
[Default] javax.management.RuntimeErrorException: Error thrown in
operation deploy
[Default]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1642)
[Default]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Default]       at
org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:447)
[Default]       at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:121)
[Default]       at java.lang.reflect.Method.invoke(Native Method)
[Default]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Default]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Default]       at
com.sun.jdmk.comm.HtmlInvokePage.buildPage(HtmlInvokePage.java:240)
[Default]       at
com.sun.jdmk.comm.HtmlRequestHandler.processGetRequest(HtmlRequestHandler.java:325)
[Default]       at
com.sun.jdmk.comm.HtmlRequestHandler.processRequest(HtmlRequestHandler.java:152)
[Default]       at
com.sun.jdmk.comm.HtmlRequestHandler.doRun(HtmlRequestHandler.java:79)
[Default]       at com.sun.jdmk.comm.ClientHandler.run(ClientHandler.java:84)
[Default]       at java.lang.Thread.run(Thread.java:484)
[J2ee deployer] destroying application poc3.ear
[J2ee deployer] uninstalling module poc3.jar
[Container factory]
Undeploying:file:/home/matty/poc3/jboss/tmp/poc3.ear/poc3.jar
[Container factory] Undeployed application:
file:/home/matty/poc3/jboss/tmp/poc3.ear/poc3.jar
[J2ee deployer] uninstalling module poc3.war
[J2ee deployer] unable to undeploy module poc3.war: URL
file:/home/matty/poc3/jboss/tmp/poc3.ear/poc3.war is not deployed
[J2ee deployer] file tree file:/home/matty/poc3/jboss/tmp/poc3.ear
deleted.


Am I getting closer?

Matty

marc fleury wrote:
> 
> it is the optimized problem try the standardjboss.xml and put all
> <optimized> to false
> 
> marc


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to