[EJB3] - Re: JNDI Lookup fails with an ArrayStoreException
by Rias A. Sherzad
Rias A. Sherzad [http://community.jboss.org/people/rsherzad] created the discussion
"Re: JNDI Lookup fails with an ArrayStoreException"
To view the discussion, visit: http://community.jboss.org/message/635789#635789
--------------------------------------------------------------
Here's the myapp-kernel-1.0-SNAPSHOT.ear/META-INF/application.xml, in case it matters:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
<display-name>myapp-kernel</display-name>
<module>
<connector>myapp-kernel-service-1.0-SNAPSHOT.sar</connector>
</module>
<module>
<ejb>myapp-kernel-ejb-1.0-SNAPSHOT.jar</ejb>
</module>
<library-directory>lib/</library-directory>
</application>
This is the list of libraries in that .EAR's /lib/-folder:
Content of ...\jboss-6.1.0.Final\server\default\deploy\myapp-kernel-1.0-SNAPSHOT.ear\lib
65.536 activation-1.1.jar
49.152 ajaxanywhere-1.2-rc2.jar
1.290.240 ant-1.7.0.jar
12.288 ant-launcher-1.7.0.jar
45.056 asm-3.3.jar
40.960 asm-commons-3.3.jar
24.576 asm-tree-3.3.jar
339.968 avro-1.3.3.jar
622.592 baseframework-1.0.jar (our own library, with a few helper classes)
167.936 binding-2.0.6.jar
282.624 bsh-2.0b4.jar
217.088 camel-jonas5-jsch-1.1.1.jar
192.512 commons-beanutils-1.7.0.jar
45.056 commons-cli-1.2.jar
61.440 commons-codec-1.4.jar
561.152 commons-collections-3.1.jar
114.688 commons-el-1.0.jar
32.768 commons-email-1.2.jar
61.440 commons-fileupload-1.2.2.jar
307.200 commons-httpclient-3.1.jar
159.744 commons-io-2.0.1.jar
282.624 commons-lang-2.5.jar
61.440 commons-logging-1.1.1.jar
212.992 commons-net-2.2.jar
221.184 displaytag-1.2.jar
118.784 forms-1.2.1.jar
925.696 freemarker-2.3.18.jar
937.984 guava-r06.jar
2.711.552 hadoop-core-0.20-append-r1056497.jar
2.355.200 hbase-0.90.3.jar
290.816 htmlparser-1.6.jar
1.146.880 itext-1.3.jar
151.552 jackson-core-asl-1.4.2.jar
389.120 jackson-mapper-asl-1.4.2.jar
90.112 jaxb-api-2.1.jar
1.310.720 jboss-aop-2.0.0.GA.jar
544.768 jboss-common-core-2.2.14.GA.jar
24.576 jboss-logging-log4j-2.0.5.GA.jar
12.288 jboss-logging-spi-2.0.5.GA.jar
176.128 jboss-mdr-2.0.0.GA.jar
208.896 jboss-reflect-2.0.0.GA.jar
1.175.552 jbosscache-core-3.2.7.GA.jar
192.512 jbosscache-pojo-3.0.0.GA.jar
16.384 jcl104-over-slf4j-1.4.2.jar
32.768 jcommander-1.12.jar
540.672 jetty-6.1.26.jar
180.224 jetty-util-6.1.26.jar
2.125.824 jgroups-2.6.13.GA.jar
208.896 jsch-0.1.41.jar
49.152 jsr311-api-1.1.1.jar
1.499.136 jtstand-chart-1.4.4.jar
512.000 jtstand-common-1.4.4.jar
122.880 junit-3.8.1.jar
483.328 log4j-1.2.16.jar
450.560 mail-1.4.1.jar
790.528 mysql-connector-java-5.1.18.jar
229.376 ognl-3.0.3.jar
1.675.264 poi-3.7.jar
331.776 protobuf-java-2.3.0.jar
98.304 qdox-1.6.1.jar
135.168 servlet-api-2.5-6.1.14.jar
106.496 servlet-api-2.5.jar
323.584 simple-xml-2.4.1.jar
16.384 slf4j-api-1.4.2.jar
12.288 slf4j-log4j12-1.4.2.jar
233.472 snakeyaml-1.6.jar
778.240 struts2-core-2.3.1-SNAPSHOT.jar
598.016 testng-6.2.1.jar
188.416 thrift-0.2.0.jar
364.544 trove-2.1.1.jar
16.384 xmlenc-0.52.jar
622.592 xwork-core-2.3.1-SNAPSHOT.jar
602.112 zookeeper-3.3.2.jar
And this is the content of the .WAR files' /lib/-folder (I have *highlighted* the .JAR with the EJBs that need to be packaged in here):
Content of ...\jboss-6.1.0.Final\server\default\deploy\myapp-portal.war\WEB-INF\lib
65.536 activation-1.1.jar
49.152 ajaxanywhere-1.2-rc2.jar
1.290.240 ant-1.7.0.jar
12.288 ant-launcher-1.7.0.jar
45.056 asm-3.3.jar
40.960 asm-commons-3.3.jar
24.576 asm-tree-3.3.jar
339.968 avro-1.3.3.jar
622.592 baseframework-1.0.jar (our own library, with a few helper classes)
167.936 binding-2.0.6.jar
282.624 bsh-2.0b4.jar
217.088 camel-jonas5-jsch-1.1.1.jar
233.472 commons-beanutils-1.8.0.jar
45.056 commons-cli-1.2.jar
32.768 commons-codec-1.2.jar
561.152 commons-collections-3.1.jar
151.552 commons-digester-2.0.jar
114.688 commons-el-1.0.jar
32.768 commons-email-1.2.jar
32.768 commons-fileupload-1.1.1.jar
307.200 commons-httpclient-3.1.jar
159.744 commons-io-2.0.1.jar
282.624 commons-lang-2.5.jar
61.440 commons-logging-1.1.1.jar
212.992 commons-net-2.2.jar
221.184 displaytag-1.2.jar
118.784 forms-1.2.1.jar
925.696 freemarker-2.3.18.jar
937.984 guava-r06.jar
2.711.552 hadoop-core-0.20-append-r1056497.jar
2.355.200 hbase-0.90.3.jar
290.816 htmlparser-1.6.jar
1.146.880 itext-1.3.jar
151.552 jackson-core-asl-1.4.2.jar
389.120 jackson-mapper-asl-1.4.2.jar
614.400 javassist-3.11.0.GA.jar
90.112 jaxb-api-2.1.jar
1.310.720 jboss-aop-2.0.0.GA.jar
544.768 jboss-common-core-2.2.14.GA.jar
24.576 jboss-logging-log4j-2.0.5.GA.jar
12.288 jboss-logging-spi-2.0.5.GA.jar
176.128 jboss-mdr-2.0.0.GA.jar
208.896 jboss-reflect-2.0.0.GA.jar
1.175.552 jbosscache-core-3.2.7.GA.jar
192.512 jbosscache-pojo-3.0.0.GA.jar
16.384 jcl104-over-slf4j-1.4.2.jar
32.768 jcommander-1.12.jar
540.672 jetty-6.1.26.jar
180.224 jetty-util-6.1.26.jar
2.125.824 jgroups-2.6.13.GA.jar
208.896 jsch-0.1.41.jar
49.152 jsr311-api-1.1.1.jar
1.499.136 jtstand-chart-1.4.4.jar
512.000 jtstand-common-1.4.4.jar
122.880 junit-3.8.1.jar
483.328 log4j-1.2.16.jar
450.560 mail-1.4.1.jar
790.528 mysql-connector-java-5.1.18.jar
229.376 ognl-3.0.3.jar
69.632 packtag-3.7.jar
1.675.264 poi-3.7.jar
331.776 protobuf-java-2.3.0.jar
98.304 qdox-1.6.1.jar
135.168 servlet-api-2.5-6.1.14.jar
323.584 simple-xml-2.4.1.jar
16.384 slf4j-api-1.4.2.jar
12.288 slf4j-log4j12-1.4.2.jar
233.472 snakeyaml-1.6.jar
778.240 struts2-core-2.3.1-20111101.224904-48.jar
24.576 struts2-tiles-plugin-2.2.3.1.jar
598.016 testng-6.2.1.jar
188.416 thrift-0.2.0.jar
36.864 tiles-api-2.2.2.jar
163.840 tiles-core-2.2.2.jar
53.248 tiles-jsp-2.2.2.jar
61.440 tiles-servlet-2.2.2.jar
24.576 tiles-template-2.2.2.jar
364.544 trove-2.1.1.jar
167.936 myapp-kernel-ejb-1.0-SNAPSHOT.jar
16.384 xmlenc-0.52.jar
622.592 xwork-core-2.3.1-20111101.225006-48.jar
602.112 zookeeper-3.3.2.jar
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/635789#635789]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years
[JBoss Web Services] - Unexpected Runtime Error after moving Web Service to a different environment
by ccmagrane
ccmagrane [http://community.jboss.org/people/ccmagrane] created the discussion
"Unexpected Runtime Error after moving Web Service to a different environment"
To view the discussion, visit: http://community.jboss.org/message/635432#635432
--------------------------------------------------------------
I have a Web Service that is deployed on JBoss-EAP-5.1. On my development Platform it runs perfectly but after deploying it to my VM server running Windows Server 2008 R2, I get this Runtime Error after invoking a WebMethod :
java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:92)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:215)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:193)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:449)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:293)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)
at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Unknown Source)
16:31:25,491 ERROR [RequestHandlerImpl] Error processing web service request
org.jboss.ws.WSException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
at org.jboss.ws.WSException.rethrow(WSException.java:68)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:330)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)
at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:92)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:169)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.createSOAPMessage(SOAPFaultHelperJAXWS.java:305)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:257)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:188)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:102)
at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:650)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:490)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:293)
... 24 more
16:31:25,491 ERROR [[BOE_ReportEngineSDK]] Servlet.service() for servlet BOE_ReportEngineSDK threw exception
java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:92)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:169)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.createSOAPMessage(SOAPFaultHelperJAXWS.java:305)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:257)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:188)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:102)
at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:650)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:490)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:293)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)
at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Unknown Source)
16:31:25,540 ERROR [STDERR] AxisFault
faultCode: { http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: Premature end of file.
faultActor:
faultNode:
faultDetail:
{ http://xml.apache.org/axis/ http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at main.BOE_ReportEngineSDKBindingStub.getObjects(BOE_ReportEngineSDKBindingStub.java:231)
at org.apache.jsp.GetObjects_jsp._jspService(GetObjects_jsp.java:95)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Unknown Source)
{ http://xml.apache.org/axis/ http://xml.apache.org/axis/}hostname:BIAPPSDEV01V
16:31:25,541 ERROR [STDERR] org.xml.sax.SAXParseException: Premature end of file.
16:31:25,541 ERROR [STDERR] at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
16:31:25,541 ERROR [STDERR] at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
16:31:25,541 ERROR [STDERR] at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
16:31:25,541 ERROR [STDERR] at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
16:31:25,541 ERROR [STDERR] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
16:31:25,541 ERROR [STDERR] at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
16:31:25,541 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2767)
16:31:25,541 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2443)
16:31:25,541 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2366)
16:31:25,541 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:1812)
16:31:25,541 ERROR [STDERR] at main.BOE_ReportEngineSDKBindingStub.getObjects(BOE_ReportEngineSDKBindingStub.java:231)
16:31:25,541 ERROR [STDERR] at org.apache.jsp.GetObjects_jsp._jspService(GetObjects_jsp.java:95)
16:31:25,541 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
16:31:25,541 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
16:31:25,541 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
16:31:25,541 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
16:31:25,541 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
16:31:25,541 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
16:31:25,541 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
16:31:25,541 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
16:31:25,541 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
16:31:25,541 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
16:31:25,541 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
16:31:25,541 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
16:31:25,541 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
16:31:25,541 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
16:31:25,541 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
16:31:25,541 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
16:31:25,541 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
16:31:25,541 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
16:31:25,541 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
16:31:25,541 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
16:31:25,541 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
16:31:25,541 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
16:31:25,541 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
16:31:25,541 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
16:31:25,541 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
16:31:25,541 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
16:31:25,541 ERROR [STDERR] Caused by: org.xml.sax.SAXParseException: Premature end of file.
16:31:25,541 ERROR [STDERR] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
16:31:25,541 ERROR [STDERR] at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
16:31:25,541 ERROR [STDERR] at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
16:31:25,541 ERROR [STDERR] ... 36 more
There are a few solutions to similar problems but none seem to work for my configuration. The solutions I found were for early versions of JBoss. Both libraries for my development platform and the server platform are equivalent. I do not understand why I only get this runtime error on the Server Environment. Any help towards a solution would be much appreciated.
P.S. I also used wsconsume to create the client.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/635432#635432]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years
[jBPM] - Re: Propagation of ABORT state in Sub process to parent.
by Ralph Brendler
Ralph Brendler [http://community.jboss.org/people/rebrendler] created the discussion
"Re: Propagation of ABORT state in Sub process to parent."
To view the discussion, visit: http://community.jboss.org/message/635806#635806
--------------------------------------------------------------
A bit more detail here, as this is biting me as well right now. I don't believe that the end event is actually terminating the flow-- I think it's just not propogating the error back to the caller.
Using your examples (which are awsome, BTW), when I check the session state after execution, the session is marked as STATE_ACTIVE, not STATE_COMPLETED. This seems to indicate that the engine still thinks that the process is running, when clearly it is not. For a test I created an identical flow that put the steps into an embedded sub-process (rather than a called one), and the sequence of events is identical but the process state is STATE_COMPLETED.
Now, if I remove the boundaryEvent that handles the error, the embedded version of the flow returns STATE_ABORTED (which I would expect), but the call version still returns STATE_ACTIVE. It sure looks like the issue is that the error in the sub-flow is not getting passed back up, so the error handling in the caller never gets executed.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/635806#635806]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years
[EJB3] - JNDI Lookup fails with an ArrayStoreException
by Rias A. Sherzad
Rias A. Sherzad [http://community.jboss.org/people/rsherzad] created the discussion
"JNDI Lookup fails with an ArrayStoreException"
To view the discussion, visit: http://community.jboss.org/message/635239#635239
--------------------------------------------------------------
Hello everyone and "Guten Tag" from Germany :-)
I've been spending the past few days with a very strange problem that I just can't find a solution for.
We have successfully deployed our application to JBoss 5.1 and we're now trying to port it to JBoss 6.1 (with the same JDK - version 1.6.0_26). There's an .EAR, and a a .WAR file and, deployed into the "default" server, JBoss starts up cleanly (registers the EJBs etc. in the JNDI tree) and the web application also loads its first page.
The problem comes up when I attempt to login. That's when the web application accesses the EJBs defined in the .EAR file (trying to find UserControllerBean) to load some of the information associated with the user record.
The Stacktrace I see is:
Starting Login...
[org.jnp.interfaces.TimedSocketFactory] (http-127.0.0.1-8080-5) createSocket, hostAddr: /127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0
[org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory] (http-127.0.0.1-8080-5) org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory servicing request for myapp-kernel-1.0-SNAPSHOT/UserControllerBean/remote
javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ArrayStoreException: org.jboss.ejb3.proxy.impl.remoting.IsLocalProxyFactoryInterceptor]
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1508)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:824)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.castnote.comp.service.ComponentLocatorFactory.lookup(ComponentLocatorFactory.java:39)
at com.castnote.comp.service.ComponentLocatorFactory.lookup(ComponentLocatorFactory.java:34)
at com.castnote.server.core.action.AbstractAction.getUserController(AbstractAction.java:292)
at com.castnote.server.content.LoginAction.login(LoginAction.java:95)
at com.castnote.server.content.LoginAction.execute(LoginAction.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:453)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:292)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:255)
at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:211)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:211)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:90)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:192)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:510)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:434)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.ArrayStoreException: org.jboss.ejb3.proxy.impl.remoting.IsLocalProxyFactoryInterceptor
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1666)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1322)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:771)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688)
at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getProxyFactoryFromJNDI(ProxyObjectFactory.java:240)
at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getObjectInstance(ProxyObjectFactory.java:157)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1483)
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1500)
... 79 more
As far as I can tell this particular EJB has been deployed properly:
22:12:31,516 WARN [TimerServiceContainer] EJBTHREE-2193: using deprecated TimerServiceFactory for restoring timers
22:12:31,522 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=myapp-kernel-1.0-SNAPSHOT.ear,jar=myapp-kernel-ejb-1.0-SNAPSHOT.jar,name=UserControllerBean,service=EJB3
22:12:31,529 INFO [EJBContainer] STARTED EJB: com.myapp.comp.user.controller.UserControllerBean ejbName: UserControllerBean
22:12:31,663 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
myapp-kernel-1.0-SNAPSHOT/UserControllerBean/remote - EJB3.x Default Remote Business Interface
myapp-kernel-1.0-SNAPSHOT/UserControllerBean/remote-com.mycompany.sys.control.AbstractStatelessController - EJB3.x Remote Business Interface
myapp-kernel-1.0-SNAPSHOT/UserControllerBean/remote-com.myapp.comp.user.controller.UserController - EJB3.x Remote Business Interface
myapp-kernel-1.0-SNAPSHOT/UserControllerBean/local - EJB3.x Default Local Business Interface
myapp-kernel-1.0-SNAPSHOT/UserControllerBean/local-com.myapp.comp.user.controller.UserControllerLocal - EJB3.x Local Business Interface
I have to add that myapp-portal.war/WEB-INF/lib contains myapp-kernel-ejb-1.0-SNAPSHOT.jar (the .WAR needs this .JAR as it used the classes in it), which is the same file that is also present in the root of myapp-kernel-1.0-SNAPSHOT.ear.
I'm using Maven but not the "skinny WAR"-approach so lots of other libraries that are present and used in the .EAR file are also in the .WAR file's WEB-INF/lib folder.
One more thing: I also tried the "skinny WAR"-approach - didn't help. I thought if all classes are deployed from within the same artifact then the lookup would work or potential classloading issues (if this is one at all) could be evaded. I got exactly the same error message :-/
Any idea or advice could help. Thanks in advance :-)
Rias
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/635239#635239]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years