Jboss Error

Hi Experts,
i am using JBoss 3.2.5 and Apache2 with mod_jk.
When i deploy my ear file in jboss by using ./run.sh -c all these are the errors i got
can any one help me out from this.
12:00:15,061 ERROR [STDERR] [Fatal Error] :1:1: Content is not allowed in prolog.
12:00:15,140 INFO [ServiceConfigurator] Problem configuring service jboss.web:service=WebServer
org.jboss.util.NestedRuntimeException: Content is not allowed in prolog.; - nested throwable: (org.xml.sax.SAXParseException: Content is not allowed in prolog.)
at org.jboss.util.propertyeditor.DocumentEditor.getAsDocument(DocumentEditor.java:78)
at org.jboss.util.propertyeditor.ElementEditor.setAsText(ElementEditor.java:31)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:310)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:160)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
at org.jboss.system.ServiceController.install(ServiceController.java:198)
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:585)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:204)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
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:585)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:367)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)
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:585)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
at org.jboss.Main.boot(Main.java:145)
at org.jboss.Main$1.run(Main.java:399)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.jboss.util.propertyeditor.DocumentEditor.getAsDocument(DocumentEditor.java:69)
Then in the following lines i got these
MBeans waiting for other MBeans:
ObjectName: jboss.web:service=WebServer
state: FAILED
I Depend On:
Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP
jboss:service=FarmMember,partition=DefaultPartition
org.jboss.util.NestedRuntimeException: Content is not allowed in prolog.; - nested throwable: (org.xml.sax.SAXParseException: Content is not allowed in prolog.)
ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
state: CONFIGURED
I Depend On: jboss.mq:service=Invoker
jboss.web:service=WebServer
Depends On Me:
ObjectName: jboss.mq:service=StateManager
state: CONFIGURED
I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS
Depends On Me: jboss.mq:service=DestinationManager
ObjectName: jboss.mq:service=DestinationManager
state: CONFIGURED
I Depend On: jboss.mq:service=MessageCache
jboss.mq:service=PersistenceManager
jboss.mq:service=StateManager
Then in the following lines i got these
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.jca:service=LocalTxCM,name=DefaultDS
state: NOTYETINSTALLED
I Depend On:
Depends On Me: jboss.mq:service=StateManager
jboss.mq:service=PersistenceManager
ObjectName: jboss.web:service=WebServer
state: FAILED
I Depend On:
Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP
jboss:service=FarmMember,partition=DefaultPartition
org.jboss.util.NestedRuntimeException: Content is not allowed in prolog.; - nested throwable: (org.xml.sax.SAXParseException: Content is not allowed in prolog.)
thanks for the help in advance
Srinivas

[Double post|http://forums.sun.com/thread.jspa?threadID=5418759&tstart=0]
Mel

Similar Messages

  • SPRING App through JBOSS - error:Unable to read TLD

    Hello,
    First post for me, not 100% certain I am in the right forum, but here I go.
    I am using Eclipse 3.1, JRE j2sdk1.4.2, spring-framework-1.2, and JBOSS 3.2.7 to follow this tutorial
    http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-by-step-Part-2.html
    on building a simple Spring MVC application.
    I am using jstl.jar,standard.jar (among others) from the spring-framework-1.2 release. I noticed JBOSS starting to go nuts after adding these 2 jars specifically.
    My project .war is deployed to JBOSS containg a WEB-INF/lib storing the .jars (standard.jar, jstl.jar ...) I do not have these .jars configured in JBOSS' classpath.
    When I run my app and hit my my servlet followed by jsp page, JBOSS reports a runtime exception.
    jsp...
    <%@ include file="/WEB-INF/jsp/include.jsp"%>
    <html>
    <head>
    <title>Hello :: Spring Application</title>
    </head>
    <body>
    <h1>Hello - Spring Application</h1>
    <p>Greetings, it is now <c:out value="${now}" /></p>
    </body>
    </html>
    exception...
    : Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /index.jsp(1,1) Unable to read TLD "META-INF/c.tld" from JAR file "file:/C:/java/jboss-3.2.7/server/default/tmp/deploy/tmp3725spring_app.war/WEB-INF/lib/standard.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
    I confirmed that this standard.jar is deployed/accessible, and the tld is present.
    any ideas?
    Thanks,
    Chris

    Hi
    I am also facing the same problem. But I am using tomcat 5.0.xx and i havnt included extra jsp-api in the lib. But getting the error
    JSP Parsing Error:Failed to load or instantiate TagLibraryValidator class: com.sun.faces.taglib.jsf_core.CoreValidator
    tried all the options...but yet not got where is the problem.
    Please help.

  • The requested resource (/helloworld) is not available JBoss error

    Hi all,
    I'm new to Java EE programming, and trying to run simple web application using JBoss AS.
    I followed all the steps carefully (in the book Beginning Java EE 5).
    1) First of all, I set environment variables for JBoss and JDK:
    http://img694.imageshack.us/img694/4070/69943683.jpg
    2) Then I created directory for JBoss projects under C:\JBoss_Projects
    3) Then I created index.jsp file in JBoss_Projects folder which looks like this:
    <%--
    file: index.jsp
    desc: Test installation of Java EE SDK 5
    --%>
    <html>
    <head>
    <title>Hello World - test the Java EE SDK installation
    </title>
    </head>
    <body>
    <%
    for (int i = 1; i < 5; i++)
    %>
    <h<%=i%>>Hello World</h<%=i%>>
    <%
    %>
    </body>
    </html>
    4) After that I created subfolder under C:\JBoss_Projects\META-INF
    5) In that subfolder I created application.xml file like this:
    <?xml version="1.0"?>
    <application>
    <display-name>Hello Java EE World!</display-name>
    <module>
    <web>
    <web-uri>web-app.war</web-uri>
    <context-root>/hello</context-root>
    </web>
    </module>
    </application>
    6) Then I ran the following:
    C:\JBoss_Projects>jar cf web-app.war index.jsp
    C:\JBoss_Projects>jar cf helloworld.ear web-app.war META-INF
    7) And after that I copied the helloworld.ear into JBoss deployment directory (C:\JBoss\server\all\deploy)
    Finally I started JBoss and went to the page http://localhost:8080/helloworld and had seen the following error:
    http://img694.imageshack.us/img694/6849/48749890.jpg
    Could anybody help me out and explain what went wrong?
    I would very appreciate your responses.

    so basically your web-app.war doesn't have a web.xml file??

  • I got this jboss error,guide me to rectify it

    14:53:50,593 ERROR [JMSContainerInvoker] Reconnect failed: JMS provider failure
    detected for PolicyViewerIpmQueueMDB
    javax.naming.NameNotFoundException: XAConnectionFactory
    at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242)
    at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java
    :258)
    at $Proxy70.lookup(Unknown Source)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:18
    2)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBean
    Support.java:260)
    at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:
    188)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSC
    ontainerInvoker.java:510)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$E
    xceptionListenerRunnable.run(JMSContainerInvoker.java:1419)
    at java.lang.Thread.run(Thread.java:534)

    There is nothing legitimate about a business that uses a completely deceptive and dishonest strategy to trick people into downloading its overpriced garbage. Here it is relying on the excellent reputation of the completely legitimate ClamXav to prey on the unwary.
    Try going to ClamXav.org. Nothing at all to do with the real ClamXav; the real one is ClamXav.com. This will bring you to "ClamXav Review." After a very "informative" overview of the real ClamXav -- which is, apparently, meant to lead one into forming the completely mistaken impression that this site is really about ClamXav -- down at the bottom, you can download, you guessed it, MacKeeper. But you won't know that if you don't mouse hover over "Recommended Software: Mac Anti Virus DOWNLOAD NOW," while looking at the status bar in your browser. You'll see you will actually be going to mac-keeper.com. The "Recommended Software: Mac Anti Virus" has nothing to do with ClamXav.
    In the very fine print, presumably just for the sake of creating some sense of propriety and quite easy to miss by comparison, you'll see what might be a link to the real ClamXav.
    This is slimeware of the first order.

  • JBOSS error message

    Hi,
    May be this is not the right place to post this but i did not receive any reply from JBOSS forum.
    I've followed the tutorial from
    http://www.laliluna.de/ejb-3-tutorial-jboss.html
    and created a jar file FirstEJB3Tutorial.jar. But, when when deployed the jar file to the JBOSS 4.0.4, the jmx-console does not show the JNDI deployed service. Please help.
    The jar file available at
    http://www.laliluna.de/download/first-ejb3-tutorial.zip
    Error Message
    ===========
    org.jboss.xb.binding.JBossXBException: Failed to parse source: The content of element type "enterprise-beans" is incompl
    ete, it must match "(session|entity|message-driven)+". @ unknown[6,23]
    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:141)
    at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:190)
    at org.jboss.ejb3.Ejb3DescriptorHandler.parseDescriptors(Ejb3DescriptorHandler.java:549)
    at org.jboss.ejb3.Ejb3HandlerFactory$DDFactory.<init>(Ejb3HandlerFactory.java:42)
    at org.jboss.ejb3.Ejb3HandlerFactory.getInstance(Ejb3HandlerFactory.java:79)
    Thanks in advance.

    org.jboss.xb.binding.JBossXBException: Failed to parse source: The
    content of element type "enterprise-beans" is incomplete, it must
    match "(session|entity|message-driven)+". @*unknown*[6,23]<?xml version="1.0" encoding="UTF-8"?>
    I took a peek at that xml file:<ejb-jar>
       <enterprise-beans>
       </enterprise-beans>
    </ejb-jar>... and it seems a bit incomplete to me; enterprise beans must be
    session beans, entity beans or message beans; exactly what that
    xml compiler is trying to tell you.
    kind regards,
    Jos

  • JBoss error when EJB try to access a MySql database

    Hi folk,
    I deployed my EAR in Jboss 3.2.8 that access a MySql db. On my local Windows machine everything works perfect.
    On the production environment (Linux Fedora) when the bean starts to access the database this hell of an error is triggered.
    Never seen something like that. Any idea? Shall I configure something in MySql db?
    11:26:58,208 ERROR [LogInterceptor] Unexpected Error:
    java.lang.NoSuchMethodError: org.jboss.util.timeout.Timeout.cancel()V
    at org.jboss.tm.TransactionImpl.cancelTimeout(TransactionImpl.java:1070)
    at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:420)
    at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:456)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:324)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:128)
    at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:94)
    at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
    at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:478)
    at org.jboss.ejb.Container.invoke(Container.java:743)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:294)
    at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
    at $Proxy37.getForumsData(Unknown Source)
    at uk.co.backrack.ejb.session.beans.ForumHandlerBean.listForums(Unknown Source)
    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:324)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144)
    at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
    at org.jboss.ejb.Container.invoke(Container.java:723)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
    at $Proxy48.listForums(Unknown Source)
    at uk.co.backrack.web.ListForumsServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
    at uk.co.backrack.web.EnterSiteServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:534)

    Found out! I was running a personalised server configuration (a myconfig folder in the server folder) that I built for jboss 3.2.4, on jboss3.2.8, the version I put on the Linux environment.
    So even this slight difference of versions created a problem.
    Thanks for the reply and I hope this can help somebody else.

  • JBOSS Errors

    Hi guys,
    I had try to setup an web application (hosted in the JBOSS).
    It run successfully at the Window XP.
    However, when it prompt me the error below when running on the Window vista,
    +03:01:42,494 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for ser+
    vlet jsp threw exception
    java.lang.NoSuchMethodError: javax.servlet.jsp.PageContext.handlePageException(L
    java/lang/Throwable;)V
    at org.apache.jsp.login_jsp._jspService(login_jsp.java:215)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    +.java:324)+
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
    +92)+
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilt
    er.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
    lter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
    ipalValve.java:66)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
    yAssociationValve.java:153)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
    e.java:54)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    +0)+
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    +:799)+
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    +:577)+
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Thread.java:595)
    +03:02:18,202 WARN [ConnectionManager] unclosed connection, forgot to call close+
    +() on your session?+
    Can anyone help me on this issue?
    Thanks in advance for the help.

    cause by the conflict between the servlet.jar in the jdk extension lib and the javax.servlet file of the jboss.

  • JBoss Errors (learning JBoss)

    All,
    I am currently doing my best to learn more about JBoss and wanted to set up a test project. I am able to get the basics of the server running, JMX console up in a web browser, etc. etc. etc. The problems I am having now are most likely related to my understand of JBoss and would appreciate some help.
    I have created this directory (based on the "default" server scheme, I simply renamed "default" to "testproject"):
    <jboss.home>/server/testproject/lib
    Running "as is" it is just fine. However, when I add my bootstrap to JBoss (I used ejbdoclet to generate my data), I kept getting java.lang.NoClassDefFoundError exceptions. So, I changed my JBoss classpath to include my lib files explicitly. This leads me to my first question:
    Shouldn't everything in <jboss.home>/server/testproject/lib automatically be loaded by JBoss? If so, why wouldn't me dumping my local classes (myproject.jar) and my utility classes (joesutils.jar) be picked up?
    So... after including the file explicitly in my JBoss launch classpath (just added <jboss.home>/server/testproject/lib/myproject.jar;<jboss.home>/server/testproject/lib/joesutils.jar at the end), my bootstrap got deployed just fine and my base system was initialized perfectly.
    However, after all of that succeeded, I'm still getting an exception that I just can't figure out how to fix. So, based on the stack trace below... What can I do to fix this exception?
    Some details before the stack trace:
    JDK: 1.5.0_08 (results the same in 1.6)
    JBoss Version: 4.0.5 (GA)
    09:24:13,908 WARN  [EJBDeployer] Verify failed; continuing
    java.lang.NoClassDefFoundError: javax/ejb/EJBHome
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
         at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
         at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
         at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517)
         at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.jboss.verifier.strategy.EJBVerifier20.hasRemoteInterfaces(EJBVerifier20.java:248)
         at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:80)
         at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:181)
         at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594)
         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:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
         at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
         at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:74)
         at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy26.create(Unknown Source)
         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
         at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy8.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:417)
         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
         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:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy5.deploy(Unknown Source)
         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
         at org.jboss.Main.boot(Main.java:200)
         at org.jboss.Main$1.run(Main.java:490)
         at java.lang.Thread.run(Thread.java:595)
    09:24:13,961 ERROR [MainDeployer] Could not create deployment: file:/src/java/testproject/server/build/output/jboss/server/testproject/deploy/testproject-ejb.jar
    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
         at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
         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:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
         at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
         at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:74)
         at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy26.create(Unknown Source)
         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
         at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy8.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:417)
         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
         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:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy5.deploy(Unknown Source)
         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
         at org.jboss.Main.boot(Main.java:200)
         at org.jboss.Main$1.run(Main.java:490)
         at java.lang.Thread.run(Thread.java:595)

    Well... chalk this one up to stupidity.
    I was overwriting my myproject.jar file with my myproject-ejb.jar. I was copying the myproject-ejb.jar file (for some reason) but RENAMING IT to myproject.jar. After figuring that out and removing the overwrite in my build process, it's all working fine again.
    Thanks!

  • EJB on JBoss error

    Hi all;i have an EJB Message Driven that is tring to call another EJB, but i have this exception:
    exception
    12:39:31,187 INFO [STDOUT] Message Driven Bean got message org.jboss.mq.SpyObjectMessage {
    Header {
    jmsDestination : QUEUE.BBkEvtMgrQueue
    jmsDeliveryMode : 2
    jmsExpiration : 0
    jmsPriority : 4
    jmsMessageID : ID:13-10960223709261
    jmsTimeStamp : 1096022370926
    jmsCorrelationID: null
    jmsReplyTo : null
    jmsType : null
    jmsRedelivered : true
    jmsProperties : {JMS_JBOSS_REDELIVERY_COUNT=5}
    jmsPropReadWrite: false
    msgReadOnly : true
    producerClientId: ID:13
    12:39:31,187 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract de.danet.an.workflow.ejbs.WorkflowEngine de.danet.an.workflow.ejbs.WorkflowEngineHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException, causedBy:
    javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract de.danet.an.workflow.ejbs.WorkflowEngine de.danet.an.workflow.ejbs.WorkflowEngineHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:632)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:205)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:51)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:128)
    at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:94)
    at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
    at org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
    at org.jboss.ejb.Container.invoke(Container.java:743)
    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:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)
    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
    at $Proxy161.create(Unknown Source)
    at de.danet.an.workflow.ejbs.client.StandardWorkflowServiceFactory.newWorkflowService(StandardWorkflowServiceFactory.java:206)
    at com.bbk.evtmgr.ejbs.BbkCmdRcvBean.onMessage(BbkCmdRcvBean.java:156)
    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:324)
    at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:458)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
    at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372)
    at org.jboss.ejb.Container.invoke(Container.java:723)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:914)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1208)
    at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:276)
    at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:871)
    at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:159)
    at org.jboss.mq.SpySession.run(SpySession.java:347)
    at org.jboss.jms.asf.StdServerSession.run0(StdServerSession.java:200)
    at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
    at java.lang.Thread.run(Thread.java:534)
    12:39:31,197 INFO [STDOUT] [StandardWorkflowServiceFactory,ERROR] Invalid invocation, check your deployment packaging, method=public abstract de.danet.an.workflow.ejbs.WorkflowEngine de.danet.an.workflow.ejbs.WorkflowEngineHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException; nested exception is:
    javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract de.danet.an.workflow.ejbs.WorkflowEngine de.danet.an.workflow.ejbs.WorkflowEngineHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
    javax.transaction.TransactionRolledbackException: Invalid invocation, check your deployment packaging, method=public abstract de.danet.an.workflow.ejbs.WorkflowEngine de.danet.an.workflow.ejbs.WorkflowEngineHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException; nested exception is:
    javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract de.danet.an.workflow.ejbs.WorkflowEngine de.danet.an.workflow.ejbs.WorkflowEngineHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:214)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:128)
    at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:94)
    at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
    at org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
    at org.jboss.ejb.Container.invoke(Container.java:743)
    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:324)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)
    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
    at $Proxy161.create(Unknown Source)
    at de.danet.an.workflow.ejbs.client.StandardWorkflowServiceFactory.newWorkflowService(StandardWorkflowServiceFactory.java:206)
    at com.bbk.evtmgr.ejbs.BbkCmdRcvBean.onMessage(BbkCmdRcvBean.java:156)
    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:324)
    at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:458)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
    at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372)
    at org.jboss.ejb.Container.invoke(Container.java:723)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:914)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1208)
    at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:276)
    at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:871)
    at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:159)
    at org.jboss.mq.SpySession.run(SpySession.java:347)
    at org.jboss.jms.asf.StdServerSession.run0(StdServerSession.java:200)
    at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract de.danet.an.workflow.ejbs.WorkflowEngine de.danet.an.workflow.ejbs.WorkflowEngineHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:632)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:205)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:51)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
    ... 51 more
    12:39:31,197 ERROR [BbkCmdRcvBean] com.bbk.evtmgr.ejbs.BbkCmdRcvBean
    de.danet.an.workflow.api.FactoryConfigurationError: Cannot create WorkflowEngineEJB: Invalid invocation, check your deployment packaging, method=public abstract de.danet.an.workflow.ejbs.WorkflowEngine de.danet.an.workflow.ejbs.WorkflowEngineHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException; nested exception is:
    javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract de.danet.an.workflow.ejbs.WorkflowEngine de.danet.an.workflow.ejbs.WorkflowEngineHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
    at de.danet.an.workflow.ejbs.client.StandardWorkflowServiceFactory.newWorkflowService(StandardWorkflowServiceFactory.java:220)
    at com.bbk.evtmgr.ejbs.BbkCmdRcvBean.onMessage(BbkCmdRcvBean.java:156)
    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:324)
    at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:458)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
    at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372)
    at org.jboss.ejb.Container.invoke(Container.java:723)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:914)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1208)
    at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:276)
    at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:871)
    at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:159)
    at org.jboss.mq.SpySession.run(SpySession.java:347)
    at org.jboss.jms.asf.StdServerSession.run0(StdServerSession.java:200)
    at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
    at java.lang.Thread.run(Thread.java:534)
    12:39:31,197 INFO [STDOUT] Finishing onMessageOn JBoss forum i have received this response:
    There is a packaging conflict that is resulting in the type(s) being passed into the ejb container to be seen as incompatible. This can happen when two ejb deployments are interacting via call by reference and one is redeployed and invalidates the common type system.Now i'm a newbie in EJB technology and so i don't know ho to solve the problem.... can anybody help me?
    I post my ejb-jar.xml:
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <![CDATA[No Description.]]>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <!--
    To add session beans that you have deployment descriptor info for, add
    a file to your XDoclet merge directory called session-beans.xml that contains
    the markup for those beans.
    -->
    <!-- Entity Beans -->
    <!--
    To add entity beans that you have deployment descriptor info for, add
    a file to your XDoclet merge directory called entity-beans.xml that contains
    the markup for those beans.
    -->
    <!-- Message Driven Beans -->
    <message-driven >
    <![CDATA[<!-- begin-user-doc --> You can insert your documentation for 'BbkCmdRcvBean'.]]>
    <ejb-name>BbkCmdRcvBean</ejb-name>
    <ejb-class>com.bbk.evtmgr.ejbs.BbkCmdRcvBean</ejb-class>
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    <security-identity>
    <run-as>
    <role-name>StaffManagementRole_0</role-name>
    </run-as>
    </security-identity>
    </message-driven>
    <!--
    To add message driven beans that you have deployment descriptor info for, add
    a file to your XDoclet merge directory called message-driven-beans.xml that contains
    the <message-driven></message-driven> markup for those beans.
    -->
    </enterprise-beans>
    <!-- Relationships -->
    <!-- Assembly Descriptor -->
    <assembly-descriptor >
    <!--
    To add additional assembly descriptor info here, add a file to your
    XDoclet merge directory called assembly-descriptor.xml that contains
    the <assembly-descriptor></assembly-descriptor> markup.
    -->
    <!-- finder permissions -->
    <method-permission >
    <![CDATA[description not supported yet by ejbdoclet]]>
    <role-name>StaffManagementRole_0</role-name>
    <![CDATA[description not supported yet by ejbdoclet]]>
    <ejb-name>BbkCmdRcvBean</ejb-name>
    <method-name>*</method-name>
    </method-permission>
    <!-- transactions -->
    <!-- finder transactions -->
    <container-transaction >
    <ejb-name>BbkCmdRcvBean</ejb-name>
    <method-name>*</method-name>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>and my jboss.xml:
    jboss.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">
    <security-domain>java:/jaas/danetworkflow</security-domain>
    <enterprise-beans>
    <!--
    To add beans that you have deployment descriptor info for, add
    a file to your XDoclet merge directory called jboss-beans.xml that contains
    the , and <message-driven></message-driven>
    markup for those beans.
    -->
    <message-driven>
    <ejb-name>BbkCmdRcvBean</ejb-name>
    <destination-jndi-name>queue/BBkEvtMgrQueue</destination-jndi-name>
    </message-driven>
    </enterprise-beans>
    <resource-managers>
    </resource-managers> Thanks

    Hello,
    I'm also having a similar exception, but, in a totally different situation. Mine is while instantiating an
    stateless session bean through its Home interface. Now the catch is this: the client is contained
    within a WAR which contains servlet code and from within this context I'm trying to create the EJB.
    The EJB is contained within a separate EAR.
    Could this be a strange packaging requirement, that needs explicit dependency information in the
    deployment descriptors of the deplyed archives?
    I'm using JBoss 3.2.5, default configuration. Thanks for any help!
    Here is the relevant stack trace in the client:
    [cactus] Testcase: testRestart(com.mycomp.myproj.scheduler.SchedulerLifecycleTest): Caused an ERROR
    [cactus] java.rmi.ServerException: EJBException:; nested exception is:
    [cactus] javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract com.mycomp.myproj.scheduler.ejb.S
    chedulerEjb com.mycomp.myproj.scheduler.ejb.SchedulerEjbHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
    [cactus] java.lang.RuntimeException: java.rmi.ServerException: EJBException:; nested exception is:
    [cactus] javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract com.mycomp.myproj.scheduler.ejb.S
    chedulerEjb com.mycomp.myproj.scheduler.ejb.SchedulerEjbHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
    [cactus] at com.mycomp.myproj.scheduler.BaseModuleTestCase$SchedulerEjbFacadeProxy.<init>(BaseModuleTestCase.java:77)
    [cactus] at com.mycomp.myproj.scheduler.BaseModuleTestCase.initScheduler(BaseModuleTestCase.java:475)
    [cactus] at com.mycomp.myproj.scheduler.BaseModuleTestCase.setUp(BaseModuleTestCase.java:481)
    [cactus] at com.mycomp.myproj.scheduler.SchedulerLifecycleTest.setUp(SchedulerLifecycleTest.java:38)
    [cactus] at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
    [cactus] at (...)
    This is the one in JBoss server log:
    2004-10-18 21:02:54,086 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException:
    javax.ejb.EJBException: Invalid invocation, check your deployment packaging,
    method=public abstract com.mycomp.myproj.scheduler.ejb.SchedulerEjb com.mycomp.myproj.scheduler.ejb.SchedulerEjbHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:632)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:205)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:51)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:128)
         at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:94)
         at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
         at org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
         at org.jboss.ejb.Container.invoke(Container.java:743)
         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:324)
         at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
         at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)
         at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
         at $Proxy49.create(Unknown Source)
         at com.mycomp.myproj.scheduler.BaseModuleTestCase$SchedulerEjbFacadeProxy.<init>(BaseModuleTestCase.java:75)
         at com.mycomp.myproj.scheduler.BaseModuleTestCase.initScheduler(BaseModuleTestCase.java:475)
         at com.mycomp.myproj.scheduler.BaseModuleTestCase.setUp(BaseModuleTestCase.java:481)
         at com.mycomp.myproj.scheduler.CreateScheduleTest.setUp(CreateScheduleTest.java:81)
         at junit.framework.TestCase.runBare(TestCase.java:125)
         at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
         at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)

  • Applet + EJB (jBoss) - Error to get an EJB from Applet

    Hello? All
    Could anybody explain why i get an error here. There are an Applet, which should get an access to EJB which was deployed on JBOSS Server (version 4.2.2.GA). If I run this code as a Desktop Application (Make a window and put my panel here) - all OK. But if I run my Code as an Applet from HTML page I get an Exception like this:
    java.lang.IllegalStateException: unread block data
    I refer to my EJB this way:
    public void init()
    try
    Properties jndiProps = new Properties();
    String myServer = "michhome";
    jndiProps.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory") ;
    jndiProps.setProperty("java.naming.provider.url", myServer) ;
    jndiProps.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces") ;
    InitialContext ctx = new InitialContext(jndiProps);
    // Error got here:
    Object homeSource = ctx.lookup("Data1EJB");
    Data1Home home = (Data1Home)PortableRemoteObject.narrow(homeSource, Data1Home.class) ;
    RemoteBean1 = home.create() ;
    catch (Exception e)
    PrintException(e);
    Fragment of my HTML page where I put an Applet:
    <applet code=J2EEApplClientPKG.MainApplet codebase=classes ARCHIVE = "jbossall-client.jar" width=600 height=300>
    </applet>
    Thank you for time you spend on this question.

    Hello, my first applet is in the jar, and I want to
    get it out.get it out you mean launch from an applet which would be
    applet code=AppletClassName.class
    archive="JarFileName.jar"
    width=width height=height>
    </applet>
    or unjar it out which would be
    jar -xvf JarFileName.jar
    There is no plug-in installed here either, so I want
    THE LATEST VERSION to be uploaded from sun
    automatically.
    My book suggested something like the code below, but
    the plug-in version must be an oldie.
    Please help!
    <code>
    <!--archive="napaku.jar"-->
    <object
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width="307"
    height="231"
    codebase="http://java.sun.com/products/plugin/1.2/jinst
    ll-12-win32.cab#Version=1,2,0,0">
    <param name="code" value="Lottery.class" />
    <param name="type" archive="napaku.jar" />
    <comment>
    <embed type="application/x-java-applet;version=1.2"
    code="Lottery.class"
    width="307"
    height="231"
    pluginspace="http://java.sun.com/products/plugin/1.2/pl
    gin-install.html">
    <noembed>
    </comment>
    "Napaku applet fails to load!
    </noembed>
    </embed>
    </object>
    </code>codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    The version may not be latest but you could change that as per your req.

  • JBoss Error Urgent !

    Hi,
    I have installed the jboss-4.0.0 and i installed the openCRX as per the installation guide. When i am accessing such us with url
    http://10.10.0.76:4040/opencrx-core-CRX/Login.jsp
    can able to view the above url.Note: userid-guest, pwd-guest.
    but i am facing the problem which u cab see in your browser. Please let me know
    Yours
    ElayaRaja.S

    Unfortunatly, the ip address you provided - 10.10.0.76 - is a private ip and cannot be accessed from the Internet.
    You will need to explain and document the problem with applicable code.

  • JBoss error with richfaces

    What&acute;s going on?
    org.apache.jasper.JasperException: /public_jsp/login.jsp(1,1) The absolute uri: http://richfaces.org/rich cannot be resolved in either web.xml or the jar files deployed with this application
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
    org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:334)
    org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:367)
    org.apache.jasper.compiler.Parser.parseDirective(Parser.java:468)
    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
    org.apache.jasper.compiler.Parser.parse(Parser.java:133)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
    org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:62)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    <p>

    I have a similar descriptor, and it works (jboss 3.0.6 that is ...)
    <ejb-relation>
    <ejb-relation-name>ThemeDescriptionContentMaster</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>ThemeHasDescription</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>EntTheme</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>descriptiveContent</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>IsDescriptionForTheme</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>EntContentMaster</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
    I don't know exactly what your <cmr-field-name>DEPT_ID</cmr-field-name> is. The cmr-field in my ejb <cmr-field-name>descriptiveContent</cmr-field-name>is just the local interface of the referenced ejb. DEPT_ID sounds more like a key of some sort, and not a CMR-field in your ejb.
    [email protected]
    solaas.minidns.net

  • Error while exporting Quincy demo data in ATG 9.3

    Hi there, I am trying to export ATG 9.3 quincy demo data from Solid to
    Oracle but I get this strange problem while running the command.
    Environment = Ubuntu 11.10 64 bit, Jboss EAP 4.2, ATG 9.3, Sun JDK 1.6
    Update 26
    Went to ATG Home/bin
    tenzing:$./startSolid -f
    tenzing:$ ./startSQLRepository -m DSSJ2EEDemo -exportRepositories all
    all.xml -repository /atg/userprofiling/ProfileAdapterRepository
    ARGS: args = -m DSSJ2EEDemo -exportRepositories all all.xml -
    repository /atg/userprofiling/ProfileAdapterRepository
    /harbinger/home/ecommerce/jboss-eap-4.2/jboss-as/server/all/lib/
    javax.servlet.jar:/harbinger/home/ecommerce/jboss-eap-4.2/jboss-as/
    server/all/lib/jboss-j2ee.jar
    TEMP IS NOW /tmp
    Before base, JAVA_ARGS=
    CLASSPATH=./locallib/:./lib/launcher.jar:/harbinger/home/ecommerce/
    jboss-eap-4.2/jboss-as/server/all/lib/javax.servlet.jar:/harbinger/
    home/ecommerce/jboss-eap-4.2/jboss-as/server/all/lib/jboss-j2ee.jar:/
    harbinger/home/ecommerce/jboss-eap-4.2/jboss-as/server/all/lib/
    javax.servlet.jar:/harbinger/home/ecommerce/jboss-eap-4.2/jboss-as/
    server/all/lib/jboss-j2ee.jar
    The following installed ATG components are being used to launch:
    ATGPlatform version 9.3 installed at /harbinger/home/ecommerce/ATG/
    ATG9.3
    JAVA_ARGS: -Djava.security.policy=lib/java.policy -Datg.dynamo.home=. -
    Datg.dynamo.root=./.. -Datg.dynamo.display=:0.0 -
    Djava.protocol.handler.pkgs=atg.net.www.protocol -
    Djava.naming.factory.url.pkgs=atg.jndi.url -
    Datg.dynamo.modulepath=./.. -Xms512m -Xmx1024m -XX:MaxPermSize=128m -
    XX:MaxNewSize=128m -Datg.dynamo.server.home=. -
    Datg.dynamo.modules=DAS:DAS-UI::DSSJ2EEDemo:DSS -Datg.dynamo.layers= -
    Dsun.rmi.dgc.server.gcInterval=3600000
    DYNAMO_MODULES: DAS:DAS-UI:DPS:DSS:DSSJ2EEDemo
    CONFIGPATH: /harbinger/home/ecommerce/ATG/ATG9.3/DAS/config/
    config.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DAS/config/oca-
    ldap.jar:vfs[localconfig-1]=/atg/dynamo/service/groupconfig/
    ClientNodeTypeVirtualFileSystem:vfs[localconfig-1]=/atg/dynamo/service/
    groupconfig/ClientInstanceVirtualFileSystem:/harbinger/home/ecommerce/
    ATG/ATG9.3/DAS-UI/config/uiconfig.jar:/harbinger/home/ecommerce/ATG/
    ATG9.3/DPS/config/targeting.jar:/harbinger/home/ecommerce/ATG/ATG9.3/
    DPS/config/oca-cms.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DPS/config/
    oca-html.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DPS/config/oca-
    xml.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DPS/config/
    userprofiling.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DPS/config/
    profile.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DSS/config/
    config.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DSSJ2EEDemo/config:../
    DAS/config/dtmconfig.jar:localconfig:../DAF/config/dafconfig.jar
    CLASSPATH: ./locallib/:./lib/launcher.jar:/harbinger/home/ecommerce/
    jboss-eap-4.2/jboss-as/server/all/lib/javax.servlet.jar:/harbinger/
    home/ecommerce/jboss-eap-4.2/jboss-as/server/all/lib/jboss-j2ee.jar:/
    harbinger/home/ecommerce/jboss-eap-4.2/jboss-as/server/all/lib/
    javax.servlet.jar:/harbinger/home/ecommerce/jboss-eap-4.2/jboss-as/
    server/all/lib/jboss-j2ee.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DSS/
    lib/resources.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DSS/lib/
    classes.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DPS/lib/
    resources.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DPS/lib/
    classes.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DAS-UI/lib/
    uiresources.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DAS-UI/lib/
    uiclasses.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DAS-UI/lib/
    jhall.jar:/harbinger/home/ecommerce/ATG/ATG9.3/DAS/lib/resources.jar:/
    harbinger/home/ecommerce/ATG/ATG9.3/DAS/lib/classes.jar:/harbinger/
    home/ecommerce/ATG/ATG9.3/DAS/lib/servlet.jar:/harbinger/home/
    ecommerce/ATG/ATG9.3/DAS/lib/ice.jar:/harbinger/home/ecommerce/ATG/
    ATG9.3/DAS/solid/SolidDriver2.1.jar
    PATH: /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/
    sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.26/
    bin:/harbinger/home/build/apache-ant-1.8.1/bin:/tmp:/harbinger/home/
    build/apache-maven-2.2.1/bin:/opt/oracle/oracle/product/10.2.0/db_1//
    bin:./../DAS/os_specific_files/i486-unknown-linux2
    **** info Mon Nov 07 10:03:23 CST 2011 1320681803373 /atg/demo/
    QuincyFunds/repositories/Features/Features SQL Repository startup
    complete
    **** info Mon Nov 07 10:03:23 CST 2011 1320681803969 /atg/
    userprofiling/ProfileAdapterRepository SQL Repository startup complete
    Nucleus running
    **** Warning Mon Nov 07 10:03:24 CST 2011 1320681804181
    DistributorSender No remote servers configured
    **** info Mon Nov 07 10:03:24 CST 2011 1320681804200 /atg/content/
    media/MediaRepository SQL Repository startup complete
    **** info Mon Nov 07 10:03:24 CST 2011 1320681804251 /atg/
    userprofiling/PersonalizationRepository SQL Repository startup
    complete
    **** info Mon Nov 07 10:03:24 CST 2011 1320681804314 /atg/demo/
    QuincyFunds/repositories/News/News SQL Repository startup complete
    **** info Mon Nov 07 10:03:24 CST 2011 1320681804376 /atg/demo/
    QuincyFunds/repositories/Images/Images SQL Repository startup complete
    **** info Mon Nov 07 10:03:24 CST 2011 1320681804461 /atg/demo/
    QuincyFunds/repositories/Funds/Funds SQL Repository startup complete
    **** info Mon Nov 07 10:03:24 CST 2011 1320681804533 /atg/demo/
    QuincyFunds/repositories/Email/Email SQL Repository startup complete
    **** info Mon Nov 07 10:03:24 CST 2011 1320681804599 /atg/demo/
    QuincyFunds/repositories/InvestmentTips/InvestmentTips SQL Repository
    startup complete
    **** info Mon Nov 07 10:03:24 CST 2011 1320681804669 /atg/demo/
    QuincyFunds/repositories/Offers/Offers SQL Repository startup complete
    exporting repository: /atg/demo/QuincyFunds/repositories/Offers/Offers
    exporting repository: /atg/demo/QuincyFunds/repositories/News/News
    exporting repository: /atg/demo/QuincyFunds/repositories/Email/Email
    exporting repository: /atg/demo/QuincyFunds/repositories/
    InvestmentTips/InvestmentTips
    exporting repository: /atg/demo/QuincyFunds/repositories/Funds/Funds
    exporting repository: /atg/userprofiling/ProfileAdapterRepository
    exporting repository: /atg/content/media/MediaRepository
    exporting repository: /atg/userprofiling/PersonalizationRepository
    exporting repository: /atg/demo/QuincyFunds/repositories/Features/
    Features
    exporting repository: /atg/demo/QuincyFunds/repositories/Images/Images
    **** error exporting data:
    CONTAINER:atg.repository.RepositoryException;
    SOURCE:java.sql.SQLException: [Solid JDBC 02.10.0024] Invalid Date
    **** info Mon Nov 07 10:03:27 CST 2011 1320681807658 /atg/dynamo/
    service/Scheduler Scheduler shutting down.
    **** info Mon Nov 07 10:03:27 CST 2011 1320681807659 /atg/dynamo/
    service/Scheduler Scheduler stopped.
    It fails by saying Invalid Date. I tried searching for this answer but
    did not find it.
    Also started the Jboss server.
    *./startDynamoOnJBOSS.sh -c atg -m DafEar.Admin DSSJ2EEDemo -f -run-in-*
    place  | /harbinger/home/ecommerce/ATG/ATGLogColorizer_v1_2
    and tried to login with jack/jack as mentioned in the document but
    says supplied login was invalid
    the Jboss error log says
    10:24:27,605 ERROR [ProfileItemFinder]
    CAUGHT AT:
    CONTAINER:atg.repository.RepositoryException;
    SOURCE:java.sql.SQLException: [Solid JDBC 02.10.0024] Invalid Date
    at
    atg.adapter.gsa.GSAItemDescriptor.getPersistentItems(GSAItemDescriptor.java:
    4426)
    at
    atg.adapter.gsa.GSAItemDescriptor.getPersistentItems(GSAItemDescriptor.java:
    4003)
    at atg.adapter.gsa.GSAItemDescriptor.getItems(GSAItemDescriptor.java:
    3250)
    at atg.adapter.gsa.GSAItemDescriptor.getItems(GSAItemDescriptor.java:
    2955)
    at
    atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:
    7383)
    at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:332)
    at
    atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:
    693)
    at atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
    at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:
    433)
    at
    atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:
    344)
    at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:281)
    at
    atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:
    323)
    at
    atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:
    298)
    at
    atg.userprofiling.RepositoryProfileItemFinder.findByLogin(RepositoryProfileItemFinder.java:
    159)
    at
    atg.userprofiling.RepositoryProfileItemFinder.findByLogin(RepositoryProfileItemFinder.java:
    128)
    at atg.userprofiling.ProfileTools.getItem(ProfileTools.java:808)
    at
    atg.userprofiling.ProfileTools.locateUserFromLogin(ProfileTools.java:
    556)
    at atg.userprofiling.ProfileForm.findUser(ProfileForm.java:2170)
    at atg.userprofiling.ProfileForm.handleLogin(ProfileForm.java:1906)
    at
    atg.scenario.userprofiling.ScenarioProfileFormHandler.handleLogin(ScenarioProfileFormHandler.java:
    541)
    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 atg.droplet.EventSender.sendEvent(EventSender.java:582)
    at atg.droplet.FormTag.doSendEvents(FormTag.java:791)
    at atg.droplet.FormTag.sendEvents(FormTag.java:640)
    at
    atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:
    523)
    at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:
    550)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:
    2425)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:
    602)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:
    169)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:
    477)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:
    436)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:
    469)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:
    280)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:
    370)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:
    561)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:
    91)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:
    212)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:
    1097)
    at
    atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:
    779)
    at
    atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:
    250)
    at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:227)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
    235)
    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:
    230)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
    173)
    at
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:
    182)
    at
    org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
    84)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
    128)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
    104)
    at
    org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:
    157)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
    109)
    at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
    241)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
    844)
    at org.apache.coyote.http11.Http11Protocol
    $Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
    447)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.sql.SQLException: [Solid JDBC 02.10.0024] Invalid
    Date
    at solid.jdbc.SolidTA.s_InvDt(Unknown Source)
    at solid.jdbc.SolidTTs.getDate(Unknown Source)
    at solid.jdbc.SolidResultSet.getDate(Unknown Source)
    at
    org.jboss.resource.adapter.jdbc.WrappedResultSet.getDate(WrappedResultSet.java:
    565)
    at atg.core.jdbc.ResultSetGetter
    $DateGetter.getObject(ResultSetGetter.java:215)
    at
    atg.adapter.gsa.GSAItemDescriptor.getPersistentItems(GSAItemDescriptor.java:
    4284)
    ... 73 more
    SOURCE EXCEPTION:
    java.sql.SQLException: [Solid JDBC 02.10.0024] Invalid Date
    at solid.jdbc.SolidTA.s_InvDt(Unknown Source)
    at solid.jdbc.SolidTTs.getDate(Unknown Source)
    at solid.jdbc.SolidResultSet.getDate(Unknown Source)
    at
    org.jboss.resource.adapter.jdbc.WrappedResultSet.getDate(WrappedResultSet.java:
    565)
    at atg.core.jdbc.ResultSetGetter
    $DateGetter.getObject(ResultSetGetter.java:215)
    at
    atg.adapter.gsa.GSAItemDescriptor.getPersistentItems(GSAItemDescriptor.java:
    4284)
    at
    atg.adapter.gsa.GSAItemDescriptor.getPersistentItems(GSAItemDescriptor.java:
    4003)
    at atg.adapter.gsa.GSAItemDescriptor.getItems(GSAItemDescriptor.java:
    3250)
    at atg.adapter.gsa.GSAItemDescriptor.getItems(GSAItemDescriptor.java:
    2955)
    at
    atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:
    7383)
    at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:332)
    at
    atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:
    693)
    at atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
    at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:
    433)
    at
    atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:
    344)
    at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:281)
    at
    atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:
    323)
    at
    atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:
    298)
    at
    atg.userprofiling.RepositoryProfileItemFinder.findByLogin(RepositoryProfileItemFinder.java:
    159)
    at
    atg.userprofiling.RepositoryProfileItemFinder.findByLogin(RepositoryProfileItemFinder.java:
    128)
    at atg.userprofiling.ProfileTools.getItem(ProfileTools.java:808)
    at
    atg.userprofiling.ProfileTools.locateUserFromLogin(ProfileTools.java:
    556)
    at atg.userprofiling.ProfileForm.findUser(ProfileForm.java:2170)
    at atg.userprofiling.ProfileForm.handleLogin(ProfileForm.java:1906)
    at
    atg.scenario.userprofiling.ScenarioProfileFormHandler.handleLogin(ScenarioProfileFormHandler.java:
    541)
    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 atg.droplet.EventSender.sendEvent(EventSender.java:582)
    at atg.droplet.FormTag.doSendEvents(FormTag.java:791)
    at atg.droplet.FormTag.sendEvents(FormTag.java:640)
    at
    atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:
    523)
    at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:
    550)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:
    2425)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:
    602)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:
    169)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:
    477)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:
    436)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:
    469)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:
    280)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:
    370)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:
    561)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:
    91)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:
    212)
    at
    atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:
    135)
    at
    atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:
    1097)
    at
    atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:
    779)
    at
    atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:
    250)
    at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:227)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
    235)
    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:
    230)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
    173)
    at
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:
    182)
    at
    org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
    84)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
    128)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
    104)
    at
    org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:
    157)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
    109)
    at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
    241)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
    844)
    at org.apache.coyote.http11.Http11Protocol
    $Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
    447)
    at java.lang.Thread.run(Thread.java:662)
    Any help is most soughted for. Thanks in Advance

    Solved

  • Form-based authentication in JBoss using a database and JAAS

    I am trying to set up simple authentication using a database. I am initially trying to secure all web resources, since my application accesses the EJBs via servlets (and is working fine without security). Later I will tighten things down so that the EJB's business methods will also have security in place.
    It seems that everything is in place but I am unable to authenticate a user when I use a valid login/password combination (I am being redirected to the login error page). No exceptions appear in the JBoss console, and the database tables are populated with proper values. I'm clueless as to why this isn't working -- hopefully someone reading this can give me a clue as to what is going wrong.
    Here is what I have done so far:
    1) I have two tables in my database, one for the username and password, and another for roles. The database tables look like this:
    table name: principals
    column: principal_id VARCHAR(64) primary key
    column: password VARCHAR(64)
    table name: roles
    column: principal_id VARCHAR(64)
    column: user_role VARCHAR(64)
    column: role_group VARCHAR(64)
    2) I have added an entry in $JBOSS/server/default/conf/login-config.xml to declare an application policy which uses a DatabaseServerLoginModule. In this entry I have specified the SQl to be used by the module for selecting the password and role, following the example in the JBoss Getting Started Guide (p. 57):
        <!-- added for HIM Server security -->
        <application-policy name="HIM-client-login">
            <authentication>
                <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule"
                              flag="required">
                    <module-option name="dsJndiName">java:/OracleDS</module-option>
                    <module-option name="principalsQuery">select password from principals where principal_id=?</module-option>
                    <module-option name="principalsQuery">select user_role, role_group from roles where principal_id=?</module-option>
                </login-module>
            </authentication>
        </application-policy>
         ...3) I have added a security domain entry in the jboss-web.xml file:
        <!-- All secure web resources will use this security domain -->
        <security-domain>java:/jaas/HIM-client-login</security-domain>
        ... 4) I have declared a security constraint in the web.xml file:
        <!-- security configuration -->
        <security-constraint>
            <display-name>Server Configuration Security Constraint</display-name>
            <!-- the collection of resources to which the sucurity constraint applies -->
            <web-resource-collection>
                <web-resource-name>Secure Resources</web-resource-name>
                <description>Security constraint for all resources</description>
                <!-- the pattern that this constraint applies to -->
                <url-pattern>/*</url-pattern>
                <!-- the HTTP methods that this constraint applies to -->
                <http-method>POST</http-method>
                <http-method>GET</http-method>
            </web-resource-collection>
            <!-- the user roles that should be permitted access to this resource collection -->
            <auth-constraint>
                <description>Only allow those users that are in the following role</description>
                <role-name>user</role-name>
            </auth-constraint>
            <!-- declare a transport guarantee, if any -->
            <user-data-constraint>
                <transport-guarantee>NONE</transport-guarantee>
            </user-data-constraint>
        </security-constraint>
        ... 5) I have a simple login form (LoginForm.jsp) which encodes j_security_check:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
        <head>
            <title>HIM Client Login</title>
        </head>
        <body>
            <form method="POST"
                  action='<%= response.encodeURL( "j_security_check" ) %>'>
                Username: <input type="text"
                                 name="j_username"><br/>
                Password: <input type="password"
                                 name="j_password"><br/>
                <br/>
                <input type="submit"
                       value="Login">
                <input type="reset"
                       value="Reset">
            </form>
        </body>
    </html>
        Can anyone see from the above that I have missed something, or that I have done something wrong ?
    Is there a way to get more information ? All I see in the access log file are logs of the requests for the servlet, j_security_check, and the login and error pages, and it might be helpful to have a little more information as to what is going on.
    Thanks in advance for any insight.
    -James

    Hi,
    I have exactly followed your configurations. However, I dont have the same database tables in my database. I used the following:
    <module-option name="principalsQuery">select password from s_users where username=?</module-option>
    <module-option name="rolesQuery">select role from s_users where username=?</module-option>However, when I try to logon I get the following error message from jboss:
    "ERROR [org.jboss.security.auth.spi.UsersRolesLoginModule] Failed to load users/passwords/role files
    java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found" although I do not want to use property files as I want to use the oracle database.
    Any help appreciated!

  • Modeler development - Flash Builder 4 and LCDS JBoss

    Hi,
    I am trying out modeler development in Jboss, Followed the below steps and I am getting error while deploying the model
    1         Installed LCDS 3.0 as JBoss.
    2         Uncommented the RDS configuration in web.xml of lcds.war.
    3         Copied lcds.war to jboss-4.2.3.GA\server\default\deploy folder.
    4         Configured Flash builder RDS Server to point Jboss.
    5         Created Data model from Database.
    6      Getting error while deploying the model.(PFA JBoss Error-1.txt)
    I am assuming bug LCDS-408 does not apply to Jboss 4.2.3.GA, but still went ahead and removed hibernate related JAR from WEB-INF/lib folder.
    After this change while deploying the model(fml) following error pops up in flash builder. Corresponding JBOSS log in JBoss Error-2.txt
    I did not find any documents /blogs related to modeler development in JBoss
    Please help me on this, Thanks in advance
    Rao

    Hi Martin,
    Flex Mobile project is only available with Flash Builder Burrito (which is a preview release of the version after Flash Builder 4) available at http://labs.adobe.com/technologies/flashbuilder_burrito/
    Flash Builder 4 does not support mobile projects.
    Thanks,
    Anirudh

Maybe you are looking for