Jdeveloper + Jboss 4.0.3SP1

Hi,
I´m trying to create a connection to a JBOSS AP 403sp1.
i was able to create a connection to the JBOSS AP server but couldn´t install the ADF Runtime for JBOSS. The ide shows a message saying that it is not a valid jboss home.
however, it lets me create teh same procedure to a jboss 3.2.5.
Does anyone know why ? is jdevepoler not intended to support any jboss server version after 3.2.5 ??
thanks

Pity, it is almost 10 days since you posted your problem.
I believe the error -- when you try to ADF Runtime Intstaller -> Jboss -- says %jboss-home%\j2ee\home does not exist or so.
What I did was:
1. Create inside my %jboss-home% directory, the following sub-directories
j2ee and
j2ee\home
2. Next I re-tried ADF Runtime Intstaller -> JBoss again. I entered my jboss-home but NOT the j2ee\home.
This fooled JDeveloper to do the job.

Similar Messages

  • Strange error when running ADFBC on Jboss 4.0.3SP1

    jdeveloper : 10.1.3.3.0.4157
    jboss : 4.0.3SP1
    database: Oracle10g
    I have developed a simple JSP page which talks to a table in the database using ADFBC, while I was developing I was using the OC4J server that comes with JDeveloper it runs fine, I deployed it to an Oracle Application Server, again it worked fine. Then my boss wants this deployed to a Jboss server and this is where it all went wrong.
    At first I had problems deploying to the server but then I realised that I need the ADF installer, so after I installed that it deployed fine. But when I try to goto the page it comes up with the following error
    JBO-30003: The application pool (com.delexian.notification.HRPublicServiceLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.CustomClassNotFoundException, msg=JBO-26022: Could not find and load the custom class com.delexian.notification.HRPublicServiceImpl
    Heres what I've done to try and resolve this problem
    - setup the oracle-ds.xml, standardjaws.xml and login-config.xml file according to this url http://www.onjava.com/pub/a/onjava/2004/02/25/jbossjdbc.html#oracle
    - checked that the class file is actually in the ear file that I've deployed.
    - double checked that I'm not deploying java files
    - double checked that the probject works on other app servers (OC4J and Oracle App Server)
    - setup the oracle-ds.xml jndi configuration according to bc4j.xcfg file
    I have been searching the forums and the only relevant thing I can find is someone said to goto a $JAVA_TOP/blah/blah directory and see if the files are in the folder. The problem with mine is that I am running on Windows and I don't have a $JAVA_TOP directory, could this be part of the problem ? The other reflex answer I've seen to problems like this is just "check your not deploying java files". Which is why I've double checked I'm deploying class files
    I have noticed that the class that it reckons it cannot find are in the Web-Inf folder, is this correct ?
    Here is my file layout in the war file (embedded in an EAR file), there is obviously other stuff in the WAR file, but I've posted what I think is most relevant, if you would like to know the location of other files please let me know.
    staff
    ----browsePersons.jspx
    WEB-INF
    ----classes
    --------com
    ------------delexian
    ----------------notification
    --------------------HRPublicServiceImpl.class
    should the com.delexian.notification.HRPublicServiceImpl.class be under a different folder ?
    I am just using a default deployment script, which was generated in JDev by right clicking on my view-controller project and selecting New -> Deployment Profiles -> WAR File.
    Is there anything in here I need to modify to get it running on a Jboss server ?
    Thanks
    Duncan

    Thanks for the reply, yes unfortunately it is in the classpath. Although I have a feeling it will be something simple like this when I work it out in the end...

  • MDB Deployment Problem in JBoss 4.0.3SP1

    Hi All,
    I am upgrading my App Server from JBoss 323 to JBoss 403.
    I had some MDBs, that are running successfully in JBoss 323.
    But when I tried to redeploy them(after recompiling with jdk1.5), I am facing few issues with them.
    First of all, I have a MDB whose destination was in some other Jboss server instance. That means I am trying to connect my destination "Queue" as remotely. At that time it is thorowing exception like as follows at my server startup time.......
    2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider adapter:                     java:/Server1JMSProvider
    2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter:                     org.jboss.jms.jndi.JNDIProviderAdapter@20dcb7
    2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
    2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Using factory:                     org.jboss.mq.SpyXAConnectionFactory@1ebe8ec
    2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Created connection:                     Connection@10751758[token=ConnectionToken:null/b3e21fe26fd3b44f4a0c5bb69995e669                     rcvstate=STOPPED]
    2006-04-17 07:17:15,472 DEBUG [org.jboss.mq.referenceable.SpyDestinationObjectFactory]                     SpyDestinationObjectFactory->getObjectInstance()
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Using Queue: QUEUE.DLQ
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Created DLQHandler
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] context: javax.naming.InitialContext@106989e
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] jndiSuffix: [u]xxxQueue[/u]
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Got destination type Queue for LifecycleMDB
    2006-04-17 07:17:15,488 DEBUG [org.jboss.jms.ConnectionFactoryHelper] using connection factory:                                         org.jboss.mq.SpyXAConnectionFactory@1ebe8ec
    2006-04-17 07:17:15,488 DEBUG [org.jboss.jms.ConnectionFactoryHelper] using username/password: null/null
    2006-04-17 07:17:15,488 DEBUG [org.jboss.jms.ConnectionFactoryHelper] created XAQueueConnection:                                         Connection@13605872[token=ConnectionToken:null/ea8d256e12a297e358803b37d7bfee4d                               rcvstate=STOPPED]
    2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Using client id: null
    2006-04-17 07:17:15,488 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not find the queue                                         destination-jndi-name=queue/[u]xxxQueue[/u]
    2006-04-17 07:17:15,488 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] destination not found: queue/[u]xxxQueue[/u]                               reason: javax.naming.NameNotFoundException: [u]xxxQueue[/u] not bound
    2006-04-17 07:17:15,488 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating a new temporary destination:                               queue/[u]xxxQueue[/u]
    2006-04-17 07:17:15,488 DEBUG [org.jboss.mq.server.jmx.DestinationManager] Attempting to create destination:                                    jboss.mq.destination:service=Queue,name=xxxQueue; type=org.jboss.mq.server.jmx.Queue
    2006-04-17 07:17:15,488 INFO  [org.jboss.mq.server.jmx.Queue.xxxQueue] Registration is not done -> stop
    2006-04-17 07:17:15,488 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected:
    org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.management.MBeanException)
         at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)My jboss.xml was
    <jboss>
       <enterprise-beans>
          <message-driven>
             <ejb-name>LifecycleMDB</ejb-name>
             <destination-jndi-name>queue/xxxQueue</destination-jndi-name>
             <invoker-bindings>
               <invoker>
                 <invoker-proxy-binding-name>server1-message-driven-bean</invoker-proxy-binding-name>
               </invoker>
             </invoker-bindings>
             <resource-ref>
                <res-ref-name>jms/QueueFactory</res-ref-name>
                <jndi-name>UIL2XAConnectionFactory</jndi-name>
             </resource-ref>
          </message-driven>
       </enterprise-beans>
       <invoker-proxy-bindings>
           <invoker-proxy-binding>
             <name>server1-message-driven-bean</name>
             <invoker-mbean>default</invoker-mbean>
             <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
             <proxy-factory-config>
             <JMSProviderAdapterJNDI>Server1JMSProvider</JMSProviderAdapterJNDI>
             <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
             <CreateJBossMQDestination>true</CreateJBossMQDestination>
                <MaximumSize>15</MaximumSize>
                <MaxMessages>1</MaxMessages>
                <MDBConfig>
                   <ReconnectIntervalSec>10</ReconnectIntervalSec>
                   <DLQConfig>
                      <DestinationQueue>queue/DLQ</DestinationQueue>
                      <MaxTimesRedelivered>10</MaxTimesRedelivered>
                      <TimeToLive>0</TimeToLive>
                   </DLQConfig>
                </MDBConfig>
             </proxy-factory-config>
          </invoker-proxy-binding>
      </invoker-proxy-bindings>
    </jboss>and my deployment file consist of the following code
    <server>
    <!-- The JMS provider loader -->
      <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
          name="jboss.mq:service=JMSProviderLoader,name=Server1MQProvider">
        <attribute name="ProviderName">Server1JMSProvider</attribute>
        <attribute name="ProviderAdapterClass">
          org.jboss.jms.jndi.JNDIProviderAdapter
        </attribute>
        <!-- The combined connection factory -->
        <attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
        <!-- The queue connection factory -->
        <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
        <!-- The topic factory -->
        <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
        <!-- Uncomment to use HAJNDI to access JMS-->
        <attribute name="Properties">
           java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
           java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
           java.naming.provider.url=jnp://SERVER:1499
        </attribute>
      </mbean> 
    </server>

    Did you find a solution to this problem?

  • Deploying JSC 2 project in jboss-4.0.3SP1

    Hi, could someone please help me, I'm using the latest version of JSC and trying to deploy it in jboss - I get an error when I try to access the page. I've been using JSC EA and managed to successfully deploy and use projects created from it. I have addedd jstl.jar and standard.jar to the jboss sar directory already. The project is just a JSF Web Application with nothing on the page.
    Any help will be much appreciated.
    Here is the error message:
    08:55:48,328 ERROR [UIComponentTag] Faces context not found. getResponseWriter w
    ill fail. Check if the FacesServlet has been initialized at all in your web.xml.
    08:55:48,328 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.
    java:615)
    at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
    at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
    at org.apache.jsp.Page1_jsp._jspx_meth_f_view_0(org.apache.jsp.Page1_jsp
    :92)
    at org.apache.jsp.Page1_jsp._jspService(org.apache.jsp.Page1_jsp:70)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    14)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
    atcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
    tionDispatcher.java:463)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
    ispatcher.java:398)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
    patcher.java:301)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImp
    l.java:322)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.
    java:130)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHand
    lerImpl.java:311)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
    se.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

    OK, found the solution
    Check out
    http://weblogs.java.net/blog/ddevore/archive/2006/01/how_to_setup_jb_1.html

  • Deploy SRDemoSample to JBoss

    Hi,
    I am trying to deploy the SRDemoSample to JBoss jboss-4.0.3SP1. I have followed instructions contained in paragraph 22.7 of 'ADF Development Guide' for setting up JBoss.
    When I deploy the ear to JBoss through JDeveloper 10.1.3.0.4 I have the following exception:
    org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: expected one local-home tag)..
    then this one:
    11:32:09,413 ERROR [ContextConfig] Parse error in application web.xml
    java.lang.IllegalArgumentException: Invalid <url-pattern> faces/app/management/*
    in security constraint...
    The same application is deployed without problems in OC4J 10.1.3. Does anybody can suggest me what's the problem?
    Thanks in advance.
    Best Regards,
    Giuseppe

    try this:
    faces/app/management/*
    to:
    /faces/app/management/*
    in Jboss and tomcat is the same problem...

  • Can't remote debug appliaction with jdeveloper10.1.3 deployed in JBoss 4.2

    can't remote debug appliaction with jdeveloper10.1.3 deployed in JBoss 4.2.2
    when i try to debugg with old version like jboss-4.0.3SP1 it is workking good
    but when i'm try to debugg with jboss-4.2.2.GA and add project newly libaray jboss client jars of this version i got error
    Exception in thread "main" java.lang.NoClassDefFoundError: in
    and the debugger stoped in URLClassLoader and throw NoClassDefFoundError exception, i think the reason is the client jars
    which jars should i add to project libarary to success remotely debugg application in jboss 4.2.2 GA ?

    Remote debugging with JBoss 4.2 is the same as for 4.0.
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=rem_p_servlet_general_html

  • EJB3 - JDeveloper vs Eclipse

    Hi all,
    I have some problems that I couldn't figured it out my own, hope you all can help. and I'm very new to EJB3.
    I have two tables Organization and GroupABC. Organization table contained a primary key ORG_ID(Fields : ORG_ID, ORG_NAME) and GroupABC(Fields: ORG_ID, GROUP_ID, GROUP_NAME) table contained 2 primaryKey that is ORG_ID and GROUP_ID. ORG_ID is also a foreignkey for this table as well.
    I'm trying to get the GroupABC records. I managed to get GROUP_ID and GROUP_NAME only however failed to get ORG_ID from GroupABC table. It always giving me the first record ORG_ID.
    To overcome that problem, I thought of using JDeveloper to avoid wasting time creating entity bean. Therefore, I've created CMP Entity Beans from Tables using JDeveloper wizard, however when I copy the code and plug it into Eclipse, it giving me out problem for example : @Column(name="GROUP_ID", primaryKey=true). The primaryKey attribute giving me error in Eclipse. For eclipse, the EJB3 library is imported from JBoss-4.0.3SP1.
    Thanks in advance.

    JDeveloper's EJB 3 implementation is based on Toplink. JBoss's EJB 3 implementation is based on Hibernate.

  • Problem in configuring mysql with JBoss 4

    Hello Forum
    I m having following exceptions while invoking my session bean from servlet
    java.rmi.ServerException: RuntimeException; nested exception is: java.lang.NullPointerException I have put mysql-ds.xml file in :\jboss-4.0.3SP1\server\default\deploy directory and mysql-connector-java-3.1.10-bin.jar in :\jboss-4.0.3SP1\server\default\lib directory.
    my mysql-ds.xml code is (which I take from connector-j doc)
    <datasources>
        <local-tx-datasource>
            <!-- This connection pool will be bound into JNDI with the name
                 "java:/MySQLDB" -->
            <jndi-name>MySQLDB</jndi-name>
            <connection-url>jdbc:mysql://localhost:3306/student</connection-url>
            <driver-class>com.mysql.jdbc.Driver</driver-class>
            <user-name>root</user-name>
            <password>pakistan</password>
            <min-pool-size>5</min-pool-size>
            <max-pool-size>20</max-pool-size>
            <idle-timeout-minutes>5</idle-timeout-minutes>
            <exception-sorter-class-name>com.mysql.jdbc.integration.jboss.ExtendedMysqlExceptionSorter</exception-sorter-class-name>
            <valid-connection-checker-class-name>com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker</valid-connection-checker-class-name>
        </local-tx-datasource>
    </datasources>and my session bean code is:
    imports ....
    public class JBSessionBean implements javax.ejb.SessionBean, JBSession.JBSessionRemoteBusiness {
        private javax.ejb.SessionContext context;
        public void ejbCreate() { }
        public java.sql.ResultSet setDbConnection()
            InitialContext ctx ;
            String jndiName = "java:/MySQLDB";
            DataSource ds = null;
            Connection conn = null;
            ResultSet rs = null;                
            String query = "SELECT * FROM stdinfo";
            try
                ctx = new InitialContext();
            catch (NamingException e)
                System.out.println (e.toString());
            //Lookup the data source
            ctx = null;
            try
                ds = (DataSource) ctx.lookup(jndiName);
            catch(NamingException e)
                System.out.println (e.toString() + "Error in Creating the DataSource");
            try
                conn = ds.getConnection();
            catch(SQLException e)
                System.out.println (e.toString() + "Error in Creating Connection");
            try
                Statement stmt = conn.createStatement( );
                System.out.println("got statmnet");
                rs= stmt.executeQuery( query ) ;
                System.out.println("got rs");     
            catch(SQLException e)
                System.out.println (e.toString() + "Error in Creating statement n query");
            return rs;
    }and my servlet code is
    public class JBossWeb extends HttpServlet {
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            ResultSet rSet = null;
            JBSessionRemote remoteRef = lookupJBSessionBean();
            try {
               rSet =  remoteRef.setDbConnection();
            } catch (RemoteException ex) {
                out.println(ex.toString());
            } catch (SQLException ex) {
                out.println(ex.toString());
            } catch (Exception ex){
                out.println(ex.toString());
            out.println("<html>");
            out.println("<head>");
            out.println("<title>Servlet JBossWeb</title>");
            out.println("</head>");
            out.println("<body>");
            out.println("<h1>Servlet JBossWeb</h1>");
            out.println(remoteRef.printTemp());
            if (rSet == null)
                out.println("Resultset null");
            out.println("</body>");
            out.println("</html>");
            out.close();
        private JBSession.JBSessionRemote lookupJBSessionBean() {
            try {
                javax.naming.Context c = new javax.naming.InitialContext();
                Object remote = c.lookup("java:comp/env/ejb/JBSessionBean");
                JBSession.JBSessionRemoteHome rv = (JBSession.JBSessionRemoteHome) javax.rmi.PortableRemoteObject.narrow(remote, JBSession.JBSessionRemoteHome.class);
                return rv.create();
            catch(javax.naming.NamingException ne) {
                java.util.logging.Logger.getLogger(getClass().getName()).log(java.util.logging.Level.SEVERE,"exception caught" ,ne);
                throw new RuntimeException(ne);
            catch(javax.ejb.CreateException ce) {
                java.util.logging.Logger.getLogger(getClass().getName()).log(java.util.logging.Level.SEVERE,"exception caught" ,ce);
                throw new RuntimeException(ce);
            catch(java.rmi.RemoteException re) {
                java.util.logging.Logger.getLogger(getClass().getName()).log(java.util.logging.Level.SEVERE,"exception caught" ,re);
                throw new RuntimeException(re);
    }I m using NetBeans IDE 5. Am I missing anything regarding more configuration in JBoss regarding mysql?
    I could not found why I got exception, please tell me after reviewing my code.
    hope I will got solution from u ppl
    Thanx in advance

    dear dvohra09
    it still giving me the same exception
    java.rmi.ServerException: RuntimeException; nested exception is: java.lang.NullPointerException as u suggested
    <application-policy name = "MySqlDbRealm">
    <authentication>
    <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
    <module-option name ="principal"></module-option>
    <module-option name ="userName">root</module-option>
    <module-option name ="password">pakistan</module-option>
    <module-option name ="managedConnectionFactoryName"> jboss.jca:service=LocalTxCM,name=MySQLDB
    </module-option>
    </login-module>
    </authentication>
    </application-policy>but still I didnt able to connect my database to JBoss
    any idea...???

  • Problem i loading jdbc connections , in JBOSS

    In my jboss , when i deploy and run my project, i am getting login page and when i give my uid and pwd and submit data, its throwing exception saying connectivity is not present.
    but when i refresh the same page and resend the data again its getting connected to db and getting validated.
    jboss version-jboss-4.0.3SP1
    ds.xml(located in deploy folder of jboss)
    <local-tx-datasource>
    <jndi-name>awpds</jndi-name>
    <connection-url>jdbc racle:thin:@3.137.168.136:1529 EVCMA</connection-url>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <user-name>CMADBA</user-name>
    <password>devcma321#</password>
    <min-pool-size>5</min-pool-size>
    <max-pool-size>200</max-pool-size>
    <idle-timeout-minutes>30</idle-timeout-minutes>
    <new-connection-sql>select sysdate from dual</new-connection-sql>
    <check-valid-connection-sql>select sysdate from dual</check-valid-connection-sql>
    </local-tx-datasource>
    please let me know if there is any configuration or settings i need to do in my jboss or project

    You forget to copypaste the exception and the trace here. They contain the most important information about the problem.

  • Problems with JSP and Tag Libraries in JBoss using Tomcat 5.5.9

    Hi,
    I am experiencing a really weird situation here. When running a deployed EJB3 ear application in a JBoss 4.0.3sp1 application using Tomcat service 5.5.9, Jasper is unable to compile any JSP file using Tag Libraries. To be more precise, when generating the Java source file (looking in the 'work' directory) everything in the file after the first occurance of a Tag Library usage is commented out (with "//"), causing the Java source to be invalid and outputs an error when accessing the page via a browser saying:
    "org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    Syntax error, insert "}" to complete ClassBody
    Generated servlet error:
    Syntax error, insert "}" to complete Block
    Generated servlet error:
    Syntax error, insert "finally" to complete TryStatement
    Generated servlet error:
    Syntax error, insert "}" to complete MethodBody"
    etc... where every error row is a suggestion of steps to take to make the source file valid. (of course).
    The Tag Library jar files are located in the web application WEB-INF/lib folder as they should be. The descriptive Tag Library Definition files (tld:s) are located in the WEB-INF folder and every JSP file references these tld files directly via this path (WEB-INF/).
    Any hints are most appreciated!!
    Cheers!
    /Henrik

    Hi,
    I am experiencing a really weird situation here. When running a deployed EJB3 ear application in a JBoss 4.0.3sp1 application using Tomcat service 5.5.9, Jasper is unable to compile any JSP file using Tag Libraries. To be more precise, when generating the Java source file (looking in the 'work' directory) everything in the file after the first occurance of a Tag Library usage is commented out (with "//"), causing the Java source to be invalid and outputs an error when accessing the page via a browser saying:
    "org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    Syntax error, insert "}" to complete ClassBody
    Generated servlet error:
    Syntax error, insert "}" to complete Block
    Generated servlet error:
    Syntax error, insert "finally" to complete TryStatement
    Generated servlet error:
    Syntax error, insert "}" to complete MethodBody"
    etc... where every error row is a suggestion of steps to take to make the source file valid. (of course).
    The Tag Library jar files are located in the web application WEB-INF/lib folder as they should be. The descriptive Tag Library Definition files (tld:s) are located in the WEB-INF folder and every JSP file references these tld files directly via this path (WEB-INF/).
    Any hints are most appreciated!!
    Cheers!
    /Henrik

  • Sun Studio creator + jboss  jboss-4.2.2.GA

    Everything is runing well in jboss-4.0.3SP1 with Sun Studio Creator(JSF)
    but when Sun Studio Creator(JSF) deploying war to jboss-4.2.2.GA, I got the following Error
    please help me
    12:45:25,343 ERROR [[]] Exception sending context initialized event to listener instance
    of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
    java.lang.ExceptionInInitializerError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor
    Impl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor
    AccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at com.sun.faces.config.rules.RenderKitRule.begin(RenderKitRule.java:79)
    at com.sun.org.apache.commons.digester.Digester.startElement(Digester.java:1273)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
    .dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Sour
    ce)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at com.sun.org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1417)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.jav
    a:348)
    at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitializ
    ed(JBossJSFConfigureListener.java:69)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:385
    6)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeploye
    r.java:301)
    at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:1
    04)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
    at org.jboss.web.WebModule.startModule(WebModule.java:83)
    at org.jboss.web.WebModule.startService(WebModule.java:61)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.jav
    a:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport
    .java:245)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    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:9
    78)
    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.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    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 $Proxy44.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13
    3)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperat
    ionInterceptor.java:142)
    at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
    at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMB
    eanSupport.java:238)
    at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.j
    ava:87)
    at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubD
    eployerInterceptorSupport.java:188)
    at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:
    95)
    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 $Proxy45.start(Unknown Source)
    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 sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13
    3)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperat
    ionInterceptor.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 $Proxy9.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.j
    ava:421)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.jav
    a:634)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(Abs
    tractDeploymentScanner.java:263)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Abstr
    actDeploymentScanner.java:274)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abstra
    ctDeploymentScanner.java:225)
    Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.loggin
    g.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid
    class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Lo
    g' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationEx
    ception: Invalid class loader hierarchy. You have more than one version of 'org.apache.co
    mmons.logging.Log' visible, which is not allowed.) (Caused by org.apache.commons.logging.L
    ogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid cl
    ass loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log'
    visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationExcep
    tion: Invalid class loader hierarchy. You have more than one version of 'org.apache.commo
    ns.logging.Log' visible, which is not allowed.))
    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:
    543)
    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:
    235)
    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:
    209)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
    at com.sun.faces.config.beans.RenderKitBean.<clinit>(RenderKitBean.java:26)
    ... 111 more
    Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.loggin
    g.LogConfigurationException: Invalid class loader hierarchy. You have more than one versi
    on of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apach
    e.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have mor
    e than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.)
    at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl
    .java:397)
    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:
    529)
    ... 115 more
    Caused by: org.apache.commons.logging.LogConfigurationException: Invalid class loader hier
    archy. You have more than one version of 'org.apache.commons.logging.Log' visible, which
    is not allowed.
    at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl
    .java:385)
    ... 116 more
    12:45:25,484 ERROR [StandardContext] Error listenerStart
    12:45:25,484 ERROR [StandardContext] Context [] startup failed due to previous errors
    12:45:25,640 WARN [ServiceController] Problem starting service jboss.web.deployment:war=M
    angalyam.war,id=950888772
    org.jboss.deployment.DeploymentException: URL file:/C:/Program Files/jboss-4.2.2.GA/server
    /default/tmp/deploy/tmp3295Mangalyam-exp.war/ deployment failed
    at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeploye
    r.java:379)
    at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:1
    04)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
    at org.jboss.web.WebModule.startModule(WebModule.java:83)
    at org.jboss.web.WebModule.startService(WebModule.java:61)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.jav
    a:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport
    .java:245)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    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:9
    78)
    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.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    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 $Proxy44.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13
    3)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperat
    ionInterceptor.java:142)
    at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
    at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMB
    eanSupport.java:238)
    at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.j
    ava:87)
    at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubD
    eployerInterceptorSupport.java:188)
    at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:
    95)
    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 $Proxy45.start(Unknown Source)
    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 sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13
    3)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperat
    ionInterceptor.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 $Proxy9.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.j
    ava:421)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.jav
    a:634)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(Abs
    tractDeploymentScanner.java:263)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Abstr
    actDeploymentScanner.java:274)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abstra
    ctDeploymentScanner.java:225)
    12:45:25,703 ERROR [MainDeployer] Could not start deployment: file:/C:/Program Files/jboss
    -4.2.2.GA/server/default/deploy/Mangalyam.war
    org.jboss.deployment.DeploymentException: URL file:/C:/Program Files/jboss-4.2.2.GA/server
    /default/tmp/deploy/tmp3295Mangalyam-exp.war/ deployment failed
    at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeploye
    r.java:379)
    at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:1
    04)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
    at org.jboss.web.WebModule.startModule(WebModule.java:83)
    at org.jboss.web.WebModule.startService(WebModule.java:61)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.jav
    a:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport
    .java:245)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    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:9
    78)
    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.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    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 $Proxy44.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13
    3)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperat
    ionInterceptor.java:142)
    at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
    at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMB
    eanSupport.java:238)
    at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.j
    ava:87)
    at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubD
    eployerInterceptorSupport.java:188)
    at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:
    95)
    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 $Proxy45.start(Unknown Source)
    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 sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
    va:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15
    5)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13
    3)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperat
    ionInterceptor.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 $Proxy9.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.j
    ava:421)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.jav
    a:634)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(Abs
    tractDeploymentScanner.java:263)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Abstr
    actDeploymentScanner.java:274)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abstra
    ctDeploymentScanner.java:225)

    I figured it out by looking at the application server logs on the admin console. The problem was a permissions issue. I'm working with some plug-ins from ESRI (the gis software company) for ArcGIS Server 9.2. I forgot that you have to add some lines to the server.policy file (located at:
    /<install directory>/SunAppServer8/domains/creator/config/
    The text you have to add is
    grant {
    permission java.util.logging.LoggingPermission "control","";
    permission java.lang.RuntimePermission "*","read";
    permission java.util.PropertyPermission "PEOBJEDITHOME","read,write";
    permission java.util.PropertyPermission "ARCGIS_RELEASEALL_SHUTDOWN_HOOK","read,write";
    permission java.util.PropertyPermission "ARCGIS_IUNKNOWN_VARIENT_OBJECTS","read,write";
    So there you go.

  • How to Deploy Oracle 10g Express to JBOSS

    I am trying to learn JBOSS 4.03, Oracle 10g Express, & myEclipse 4.1.1 for a class project and get the following error when trying to deploy oracle to JBOSS.
    --- Packages waiting for a deployer ---
    org.jboss.deployment.DeploymentInfo@67e105b1 { url=file:/C:/Program Files/jboss-4.0.3SP1/server/default/deploy/oracle-ds.xml }
    deployer: null
    status: null
    state: INIT_WAITING_DEPLOYER
    watch: file:/C:/Program Files/jboss-4.0.3SP1/server/default/deploy/oracle-ds.xml
    altDD: null
    lastDeployed: 1142921147203
    lastModified: 1142921147203
    mbeans:
    --- Incompletely deployed packages ---
    org.jboss.deployment.DeploymentInfo@67e105b1 { url=file:/C:/Program Files/jboss-4.0.3SP1/server/default/deploy/oracle-ds.xml }
    deployer: null
    status: null
    state: INIT_WAITING_DEPLOYER
    watch: file:/C:/Program Files/jboss-4.0.3SP1/server/default/deploy/oracle-ds.xml
    altDD: null
    lastDeployed: 1142921147203
    lastModified: 1142921147203
    mbeans:
    Does anyone know of a good online tutorial for this or has anyone solved this problem? All I did was copy the oracle-ds.xml file from oracle into C:\Program Files\jboss-4.0.3SP1\server\default\deploy

    hi,
    Do this...
    Get  Current Config....
    sqlplus system@xe
    SQL*Plus: Release 10.1.0.2.0 - Production on Mi Jan 25 11:44:33 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Beta
    SQL> select dbms_xdb.gethttpport as "HTTP-Port"
    , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    8080 0
    Change Port HTTP and FTP.
    SQL> begin
    2 dbms_xdb.sethttpport('80');
    3 dbms_xdb.setftpport('2100');
    4 end;
    5 /
    PL/SQL procedure successfully completed.
    SQL> select dbms_xdb.gethttpport as "HTTP-Port"
    , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    80 2100
    Disable HTTP and FTP
    SQL> begin
    2 dbms_xdb.sethttpport('0');
    3 dbms_xdb.setftpport('0');
    4 end;
    5 /
    PL/SQL procedure successfully completed.
    SQL> -- get current status
    SQL> select dbms_xdb.gethttpport as "HTTP-Port"
    , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    0 0
    Regards,
    Levi Pereira

  • Problems of connecting mySQL to jboss 4.0.3

    hi friends,
    I have the problem of bounding jdbc to jboss.
    i just want to create a data source for mySQL in JBOSS 4.0.3 application server and i want to access that datasource from my session bean while deploying it, it gives a warning:
    09:47:46,046 INFO [EjbModule] Deploying MusicEJB
    09:47:46,078 WARN [StatelessSessionContainer] No resource manager found for jdbc/MusicDB
    09:47:46,078 INFO [ProxyFactory] Bound EJB Home 'MusicEJB' to jndi 'MusicEJB'
    09:47:46,078 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.3SP1/server/defaul
    t/tmp/deploy/tmp36512MusicApp.ear-contents/ejb-jar-ic.jar
    09:47:46,093 INFO [TomcatDeployer] deploy, ctxPath=/music, warUrl=.../tmp/deplo
    y/tmp36512MusicApp.ear-contents/war-ic-exp.war/
    09:47:46,187 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.0.3S
    P1/server/default/deploy/MusicApp.ear
    When i open up my jsp page it gives this error:
    javax.ejb.EJBException: MusicDAOFactory.getDAO: NamingException for <asg.MusicEJ
    B.MusicDAOCloudscape> DAO class :
    Cannot connect to database: java:comp/env/jdbc/MusicDB:
    jdbc not bound at asg.MusicEJB.MusicBean.ejbCreate(MusicBean.java:56)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    My -ds.xml code shown below:
    <local-tx-datasource>
        <jndi-name>MusicDB</jndi-name>
        <connection-url>jdbc:mysql://localhost:3306/music</connection-url>
        <driver-class>com.mysql.jdbc.Driver</driver-class>
        <user-name>chongming</user-name>
        <password>kcm82</password>
    <metadata>
             <type-mapping>MS SQLSERVER2000</type-mapping>
          </metadata>
      </local-tx-datasource>My session bean code:
         public MusicDAOCloudscape() throws MusicDAOSysException {
              String dbName = "java:comp/env/jdbc/MusicDB";
                      private DataSource datasource = null;
              try {
                   //InitialContext ic = new InitialContext();
                   //datasource = (DataSource) ic.lookup(dbName);
                            initialContext = new InitialContext();
                            datasource = (DataSource) initialContext.lookup(dbName);
              } catch (NamingException ex) {
                   throw new MusicDAOSysException("Cannot connect to database: " +
                        dbName + ":\n" + ex.getMessage());
              }Please give me advice on this because i have been stuck in this part for 2 wks and i really want to know what going on. If the understand of the codes are not enough, i can post more of the codes if you request.
    Regards
    ChongMing

    Connecting to mySQL using JBoss 4.0.3.
    1) Download this connector from sql website: http://dev.mysql.com/downloads/connector/j/3.1.html
    2) open up and copy mysql-connector-java-bin.jar in C:\jboss\server\default\lib
    3) Do not copy the mysql-connector-java-bin-g.jar into the jboss lib folder. Do check it out
    4) Next go to your jboss and: C:\jboss\docs\examples\jca and copy the mssql-ds.xml into c:jboss\server\default\deploy
    5) Edit the mssql-ds.xml as shown below:
    <datasources>
      <local-tx-datasource>
        <jndi-name>MusicDB</jndi-name>
        <connection-url>jdbc:mysql://localhost:3306/music</connection-url>
        <driver-class>com.mysql.jdbc.Driver</driver-class>
        <user-name>chongming</user-name>
        <password>kcm82</password>
            <!-- sql to call when connection is created
            <new-connection-sql>some arbitrary sql</new-connection-sql>
            -->
            <!-- sql to call on an existing pooled connection when it is obtained from pool
            <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
            -->
          <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
          <metadata>
             <type-mapping>mySQL</type-mapping>
        </metadata>
      </local-tx-datasource>6) for the context calling do this:
    public MusicDAOCloudscape() throws MusicDAOSysException {
              String dbName = "java:MusicDB";
                      //String dbName = "java:/MusicDB";
              try {
                   //InitialContext ic = new InitialContext();
                   //datasource = (DataSource) ic.lookup(dbName);
                            initialContext = new InitialContext();
                            datasource = (DataSource) initialContext.lookup(dbName);
              } catch (NamingException ex) {
                   throw new MusicDAOSysException("Cannot connect to database: " +
                        dbName + ":\n" + ex.getMessage());
         }Notice how i map the jdbc to the jndi name. BTW jboss.xml and jboss-web.xml are not include in my package. The package is still able to run
    Thats all folks..
    Regards
    Chongming
    Message was edited by:
    chongming
    Message was edited by:
    chongming

  • JBoss Configuration or Start-up Problem: Non-Turnkey, Win 2003 EE, MSSQL 2005 Ent.

    Hello,
    I'm trying to get Jboss app. server to start cleanly. I've performed the manual installation per the instructions in the 'Preparing to Install LiveCycle ES' pdf. Hardware, OS, and MS SQL Server configurations have been vetted for use with the product.
    Below I've posted the command prompt output from starting Jboss with the batch file. It has been edited for posting here. I deleted the output for most of the objects that were configured successfully. Can someone please let me know what I've missed or mis-configured?
    Thanks for your help!!
    Geo...
    C:\Program Files\jboss-4.0.3SP1\bin>run.bat -c all
    ===============================================================================
    JBoss Bootstrap Environment
    JBOSS_HOME: C:\Program Files\jboss-4.0.3SP1\bin\\..
    JAVA: C:\Program Files\Java\jdk1.5.0_14\\bin\java
    JAVA_OPTS: -Dadobeidp.serverName=server1 -Dprogram.name=run.bat -Djava.security.manager -Djava.security.policy=../ser
    ver/all/conf/server.policy -Djava.security.debug=failure -XX:MaxPermSize=256m -Xms256m -Xmx1024m -Djava.net.preferIPv4St
    ack=true
    CLASSPATH: C:\Program Files\Java\jdk1.5.0_14\\lib\tools.jar;C:\Program Files\jboss-4.0.3SP1\bin\\run.jar
    ===============================================================================
    14:15:21,257 INFO [Server] Starting JBoss (MX MicroKernel)...
    14:15:21,257 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
    14:15:21,257 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.3SP1
    14:15:21,257 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.3SP1/
    14:15:21,272 INFO [Server] Patch URL: null
    14:15:21,272 INFO [Server] Server Name: all
    14:15:21,272 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.3SP1\server\all
    14:15:21,272 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.3SP1/server/all/
    14:15:21,272 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.3SP1\server\all\tmp
    14:15:21,272 INFO [Server] Root Deployment Filename: jboss-service.xml
    14:15:21,616 INFO [ServerInfo] Java version: 1.5.0_14,Sun Microsystems Inc.
    14:15:21,616 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_14-b03,Sun Microsystems Inc.
    14:15:21,616 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
    14:15:22,085 INFO [Server] Core system initialized
    14:15:24,491 INFO [WebService] Using RMI server codebase: http://File_Server:8083/
    14:15:24,522 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    14:15:41,365 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
    --- MBeans waiting for other MBeans ---
    ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
    State: CONFIGURED
    I Depend On:
    jboss.jca:service=DataSourceBinding,name=DefaultDS
    . ObjectName output edited...
    ObjectName: jboss.mq.destination:service=Queue,name=adobe_TaskEventTopic
    State: CONFIGURED
    I Depend On:
    jboss.mq:service=DestinationManager
    --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
    ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS
    State: NOTYETINSTALLED
    Depends On Me:
    jboss.ejb:service=EJBTimerService,persistencePolicy=database
    jboss:service=juddi
    jboss:service=KeyGeneratorFactory,type=HiLo
    jboss.mq:service=StateManager
    jboss.mq:service=PersistenceManager

    i have de same problem, can some one help me please.
    ===============================================================================
    JBoss Bootstrap Environment
    JBOSS_HOME: C:\accquisio\appservers\jboss\jboss-4.2.2.GA
    JAVA: C:\Program Files\Java\jdk1.5.0_15\bin\java
    JAVA_OPTS: -Dhttp.proxyHost= -Dhttp.proxyPort= -Dhttp.nonProxyHosts="localhost|127.0.0.1|PC_User" -Dhttps.proxyHost= -Dhttps.proxyPort= -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
    CLASSPATH: C:\Program Files\Java\jdk1.5.0_15\lib\tools.jar;C:\accquisio\appservers\jboss\jboss-4.2.2.GA\bin\run .jar
    ===============================================================================
    00:05:05,545 INFO [Server] Starting JBoss (MX MicroKernel)...
    00:05:05,546 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
    00:05:05,548 INFO [Server] Home Dir: C:\accquisio\appservers\jboss\jboss-4.2.2.GA
    00:05:05,548 INFO [Server] Home URL: file:/C:/accquisio/appservers/jboss/jboss-4.2.2.GA/
    00:05:05,549 INFO [Server] Patch URL: null
    00:05:05,550 INFO [Server] Server Name: default
    00:05:05,639 INFO [Server] Server Home Dir: C:\accquisio\appservers\jboss\jboss-4.2.2.GA\server\default
    00:05:05,639 INFO [Server] Server Home URL: file:/C:/accquisio/appservers/jboss/jboss-4.2.2.GA/server/default/
    00:05:05,639 INFO [Server] Server Log Dir: C:\accquisio\appservers\jboss\jboss-4.2.2.GA\server\default\log
    00:05:05,640 INFO [Server] Server Temp Dir: C:\accquisio\appservers\jboss\jboss-4.2.2.GA\server\default\tmp
    00:05:05,640 INFO [Server] Root Deployment Filename: jboss-service.xml
    00:05:06,053 INFO [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
    00:05:06,053 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04,Sun Microsystems Inc.
    00:05:06,139 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
    00:05:06,611 INFO [Server] Core system initialized
    00:05:10,740 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
    00:05:10,743 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
    00:05:11,409 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
    00:05:11,409 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
    00:05:11,708 INFO [TransactionManagerService] Starting recovery manager
    00:05:11,825 INFO [TransactionManagerService] Recovery manager started
    00:05:11,825 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
    00:05:17,096 INFO [EJB3Deployer] Starting java:comp multiplexer
    00:05:17,537 INFO [STDOUT] no object for null
    00:05:17,542 INFO [STDOUT] no object for null
    00:05:17,576 INFO [STDOUT] no object for null
    00:05:17,623 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
    00:05:17,635 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
    00:05:20,864 INFO [NativeServerConfig] JBoss Web Services - Native
    00:05:20,864 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
    00:05:23,510 INFO [Embedded] Catalina naming disabled
    00:05:23,722 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_15\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Window s;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\MySQL\MySQL Server 5.0\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\SSH Communications Security\SSH Secure Shell
    00:05:23,913 INFO [Http11Protocol] Initialisation de Coyote HTTP/1.1 sur http-127.0.0.1-8080
    00:05:23,917 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
    00:05:23,917 INFO [Catalina] Initialization processed in 407 ms
    00:05:23,917 INFO [StandardService] Démarrage du service jboss.web
    00:05:23,920 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
    00:05:24,116 INFO [Catalina] Server startup in 198 ms
    00:05:24,505 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
    00:05:25,537 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
    00:05:25,951 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
    00:05:26,166 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    00:05:28,368 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
    00:05:29,202 INFO [MailService] Mail Service bound to java:/Mail
    00:05:29,496 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
    00:05:29,586 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
    00:05:29,646 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
    00:05:29,690 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
    00:05:29,810 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
    00:05:29,928 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
    00:05:29,985 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
    00:05:30,002 INFO [QuartzResourceAdapter] start quartz!!!
    00:05:30,090 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
    00:05:30,121 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
    00:05:30,125 INFO [RAMJobStore] RAMJobStore initialized.
    00:05:30,381 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
    00:05:30,381 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
    00:05:30,382 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
    00:05:30,623 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    00:05:30,809 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Acq1DS' to JNDI name 'java:Acq1DS'
    00:05:30,890 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    00:05:35,131 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
    00:05:35,373 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
    --- MBeans waiting for other MBeans ---
    ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
    State: CONFIGURED
    I Depend On:
    jboss.mq:service=Invoker
    jboss.web:service=WebServer
    ObjectName: jboss.mq.destination:service=Topic,name=testTopic
    State: CONFIGURED
    I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager
    ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
    State: CONFIGURED
    I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager
    ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
    State: CONFIGURED
    I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager
    ObjectName: jboss.mq.destination:service=Queue,name=testQueue
    State: CONFIGURED
    I Depend On:
    jboss.mq:service=DestinationManager

  • Entity Beans deployed on JBOSS

    We have a Web application in our project that includes 6 Entity Beans with CMP fields1.1
    The application was developed in WSAD 5.1
    The WSAD generates Access Beans for each Entity Bean as well as stubs in default package com.ibm.ejs.container and com.ibm.websphere.csi.
    E.g. The Entity Bean �Organization.java� has Access Bean �OrganizationAccessBean.java�.
    Similarly for other 5 Entity Beans there are Access Beans created in WSAD.
    But now we are migrating the application to JBOSS 4.0.3SP1 server.
    The EAR of the application exported from the WSAD contains all the deployed code (stubs) and Access Beans.
    When this EAR was imported in Eclipse 3.2, it gave us error as it does not support the IBM specific files.
    We have replaced the IBM specific �.xmi� files by JBOSS compatible files like ejb-jar.xml, jboss.xml.
    Then a mapping file was created with the name jbosscmp-jdbc.xml which has all the mapping between the beans and the tables in the database.
    Also this file contains the relationship between the beans.
    After this we tried deploying the code on JBOSS but got some errors as mentioned below:
    Error:
    12:42:53,141 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-4.0.3SP1/server/default/deploy/pmt.ear
    12:42:53,797 WARN [verifier] EJB spec violation:
    Bean : Organization
    Method : public void ejbCreate(String, int, int) throws Create Exception, Remote Exception
    Section: 9.2.3
    Warning: The return type of an ejbCreate (...) method must be the entity bean's primary key type.
    What we analyzed was that in ejb-jar.xml there were some entries.
    Here in <ejb-class> the Bean class was given, but there was no information about the AccessBean class.
    In WSAD the AcessBean classes were generated by the tool, but we actually did not know how to refer the AccessBean.
    Can anyone help us in successfully deploying the application to JBOSS server or provide some pointers/ steps to proceed.
    Also need help regarding generation of Access Beans, stubs (IBM specific files) in Eclipse 3.2
    Thanks
    Regards,
    dcpmt

    So if I understand correctly you wish to use IBM specific classes in support of entity beans running on JBoss?
    That won't be necessary on JBoss because JBoss has its own means of supporting entity beans on its server.

Maybe you are looking for