2 Replies Latest reply on Nov 18, 2009 8:06 PM by sumit kumar

    Seam with netbeans

    sumit kumar Newbie

      Hi All,


      I was trying to use netbeans 6.5.1 and jboss-seam-2.2.0.GA.
      I was using the tutorial http://www.coffeecrew.org/docs/html/netbeansFaceletsSeamEjb3/netbeansFaceletsSeamEjb3.html


      I am getting mad because i am thrown from one error to another.
      Some missing jar related problem or something else.
      Please help me as i stuck in this.
      I already use eclipse but i want it on netbeans as it has so many monitoring features that i can use


      Please help.


      Heres the log

        • 1. Re: Seam with netbeans
          sumit kumar Newbie
          Nov 17, 2009 11:18:44 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
          INFO:
          C:/Sun/SDK/jdk\bin\java
          -Dcom.sun.aas.instanceRoot=C:/Program Files/glassfish-v2.1/domains/domain1
          -Dcom.sun.aas.ClassPathPrefix=
          -Dcom.sun.aas.ClassPathSuffix=
          -Dcom.sun.aas.ServerClassPath=
          -Dcom.sun.aas.classloader.appserverChainJars.ee=
          -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
          -Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
          -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
          -Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
          -Dcom.sun.aas.classloader.serverClassPath.ee=/lib/hadbjdbc4.jar,C:/Program Files/glassfish-v2.1/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,C:/Program Files/glassfish-v2.1/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
          -Dcom.sun.aas.classloader.serverClassPath=C:/Program Files/glassfish-v2.1/lib/install/applications/jmsra/imqjmsra.jar,C:/Program Files/glassfish-v2.1/imq/lib/jaxm-api.jar,C:/Program Files/glassfish-v2.1/imq/lib/fscontext.jar,C:/Program Files/glassfish-v2.1/imq/lib/imqbroker.jar,C:/Program Files/glassfish-v2.1/imq/lib/imqjmx.jar,C:/Program Files/glassfish-v2.1/lib/ant/lib/ant.jar,C:/Program Files/glassfish-v2.1/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
          -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Program Files/glassfish-v2.1/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
          -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/SDK/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/Program Files/glassfish-v2.1/imq/lib/jaxm-api.jar,C:/Program Files/glassfish-v2.1/imq/lib/fscontext.jar,C:/Program Files/glassfish-v2.1/imq/lib/imqbroker.jar,C:/Program Files/glassfish-v2.1/imq/lib/imqjmx.jar,C:/Program Files/glassfish-v2.1/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/Program Files/glassfish-v2.1/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/Program Files/glassfish-v2.1/updatecenter/lib/updatecenter.jar,C:/Program Files/glassfish-v2.1/jbi/lib/jbi.jar,C:/Program Files/glassfish-v2.1/imq/lib/imqjmx.jar,C:/Program Files/glassfish-v2.1/lib/ant/lib/ant.jar,dbschema.jar
          -Dcom.sun.aas.configName=server-config
          -Dcom.sun.aas.configRoot=C:/Program Files/glassfish-v2.1/config
          -Dcom.sun.aas.defaultLogFile=C:/Program Files/glassfish-v2.1/domains/domain1/logs/server.log
          -Dcom.sun.aas.domainName=domain1
          -Dcom.sun.aas.installRoot=C:/Program Files/glassfish-v2.1
          -Dcom.sun.aas.instanceName=server
          -Dcom.sun.aas.processLauncher=SE
          -Dcom.sun.aas.promptForIdentity=true
          -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
          -Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
          -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
          -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
          -Dcom.sun.updatecenter.home=C:/Program Files/glassfish-v2.1/updatecenter
          -Ddomain.name=domain1
          -Djava.endorsed.dirs=C:/Program Files/glassfish-v2.1/lib/endorsed
          -Djava.ext.dirs=C:/Sun/SDK/jdk/lib/ext;C:/Sun/SDK/jdk/jre/lib/ext;C:/Program Files/glassfish-v2.1/domains/domain1/lib/ext;C:/Program Files/glassfish-v2.1/javadb/lib
          -Djava.library.path=C:\Program Files\glassfish-v2.1\lib;C:\Program Files\glassfish-v2.1\lib;C:\Program Files\glassfish-v2.1\bin;C:\Program Files\glassfish-v2.1\lib
          -Djava.security.auth.login.config=C:/Program Files/glassfish-v2.1/domains/domain1/config/login.conf
          -Djava.security.policy=C:/Program Files/glassfish-v2.1/domains/domain1/config/server.policy
          -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
          -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
          -Djavax.net.ssl.keyStore=C:/Program Files/glassfish-v2.1/domains/domain1/config/keystore.jks
          -Djavax.net.ssl.trustStore=C:/Program Files/glassfish-v2.1/domains/domain1/config/cacerts.jks
          -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
          -Djmx.invoke.getters=true
          -Dsun.rmi.dgc.client.gcInterval=3600000
          -Dsun.rmi.dgc.server.gcInterval=3600000
          -client
          -XX:+UnlockDiagnosticVMOptions
          -XX:MaxPermSize=192m
          -Xmx512m
          -XX:NewRatio=2
          -XX:+LogVMOutput
          -XX:LogFile=C:/Program Files/glassfish-v2.1/domains/domain1/logs/jvm.log
          -cp
          C:/Program Files/glassfish-v2.1/lib/jhall.jar;C:\Program Files\glassfish-v2.1\lib\appserv-launch.jar
          com.sun.enterprise.server.PELaunch
          start
          CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_09] from [Sun Microsystems Inc.]
          SEC1002: Security Manager is OFF.
          Using MQ RA for Broker lifecycle control
          SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
          WEB0114: SSO is disabled in virtual server [server]
          WEB0114: SSO is disabled in virtual server [__asadmin]
          REgistering Custom ContextConfig
          REgistering Custom Context
          JTS5014: Recoverable JTS instance, serverId = [2984]
          ADM1079: Initialization of AMX MBeans started
          ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://sumit:2987/jmxrmi].  This is where the remote administrative clients should connect using the standard JMX connectors
          ADM1506: Status of Standard JMX Connector: Active = [true]
          JMS Service Connection URL is :mq://sumit:2983/
          MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...
          MQJMSRA_EB1101: EMBEDDED broker started with code =0
          MQJMSRA_RA1101: SJSMQ JMSRA Started:DIRECT
          LDR5010: All ejb(s) of [MEjbApp] loaded successfully!
          EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]
          LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!
          JBIFW0010: JBI framework ready to accept requests.
          LDR5010: All ejb(s) of [sampleProject] loaded successfully!
          Error updating Java Web Start information for application sampleProject
          java.lang.NullPointerException
                  at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.prepareApplication(AppclientJWSSupportInfo.java:1223)
                  at com.sun.enterprise.appclient.jws.AppclientJWSSupportInfo.startJWSServicesForApplication(AppclientJWSSupportInfo.java:475)
                  at com.sun.enterprise.appclient.jws.AppclientJWSSupportManager.handleApplicationEvent(AppclientJWSSupportManager.java:156)
                  at com.sun.enterprise.server.event.ApplicationLoaderEventNotifier.notifyListeners(ApplicationLoaderEventNotifier.java:154)
                  at com.sun.enterprise.server.AbstractLoader.notifyAppEvent(AbstractLoader.java:874)
                  at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:192)
                  at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)
                  at com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)
                  at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:238)
                  at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:226)
                  at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:224)
                  at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:446)
                  at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
                  at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
                  at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
                  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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
          WEB0302: Starting Sun-Java-System/Application-Server.
          WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8081
          WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8182
          WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4849
          Initializing Sun's JavaServer Faces implementation (1.2_04-b22-p05) for context '/sampleProject-war'
          Cant instantiate class: org.jboss.seam.jsf.SeamELResolver.
          java.lang.ClassNotFoundException: org.jboss.seam.jsf.SeamELResolver
                  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1576)
                  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                  at java.lang.Class.forName0(Native Method)
                  at java.lang.Class.forName(Class.java:242)
                  at com.sun.faces.util.Util.loadClass(Util.java:227)
                  at com.sun.faces.util.Util.createInstance(Util.java:447)
                  at com.sun.faces.util.Util.createInstance(Util.java:436)
                  at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:601)
                  at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:487)
                  at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
                  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4632)
                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:5312)
                  at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
                  at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
                  at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
                  at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
                  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
                  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
                  at java.util.concurrent.FutureTask.run(FutureTask.java:123)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
                  at java.lang.Thread.run(Thread.java:595)
          Welcome to Seam null
          WebModule[/sampleProject-war]PWC1275: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
          java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
                  at org.jboss.seam.deployment.AbstractScanner.<init>(AbstractScanner.java:140)
                  at org.jboss.seam.deployment.URLScanner.<init>(URLScanner.java:35)
                  at org.jboss.seam.deployment.DeploymentStrategy.initScanner(DeploymentStrategy.java:107)
                  at org.jboss.seam.deployment.DeploymentStrategy.getScanner(DeploymentStrategy.java:59)
                  at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:113)
                  at org.jboss.seam.init.Initialization.create(Initialization.java:132)
                  at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
                  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4632)
                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:5312)
                  at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
                  at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
                  at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
                  at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
                  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
                  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
                  at java.util.concurrent.FutureTask.run(FutureTask.java:123)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
                  at java.lang.Thread.run(Thread.java:595)
          PWC1306: Startup of context /sampleProject-war failed due to previous errors
          WebModule[/sampleProject-war]PWC1277: Exception sending context destroyed event to listener instance of class org.jboss.seam.servlet.SeamListener
          java.lang.NoClassDefFoundError: javassist/util/proxy/MethodHandler
                  at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:243)
                  at org.jboss.seam.contexts.Lifecycle.endApplication(Lifecycle.java:61)
                  at org.jboss.seam.contexts.ServletLifecycle.endApplication(ServletLifecycle.java:149)
                  at org.jboss.seam.servlet.SeamListener.contextDestroyed(SeamListener.java:41)
                  at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4676)
                  at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5481)
                  at com.sun.enterprise.web.WebModule.stop(WebModule.java:384)
                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:5339)
                  at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
                  at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
                  at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
                  at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
                  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
                  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
                  at java.util.concurrent.FutureTask.run(FutureTask.java:123)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
                  at java.lang.Thread.run(Thread.java:595)
          SMGT0007: Self Management Rules service is enabled
          Application server startup complete.
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.XWS_ClientProvider.property.signature.key.alias"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.signature.key.alias"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.security.config"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.applications.lifecycle-module.JBIFramework.property.com.sun.jbi.home"
          javax.management.InstanceNotFoundException: No object matches the specified name "domain.applications.lifecycle-module.JBIFramework.property.com.sun.jbi.home"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.XWS_ServerProvider.property.signature.key.alias"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.XWS_ClientProvider.property.dynamic.username.password"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ServerProvider.property.encryption.key.alias"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.dynamic.username.password"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.encryption.key.alias"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.XWS_ClientProvider.property.encryption.key.alias"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.XWS_ServerProvider.property.encryption.key.alias"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ServerProvider.property.signature.key.alias"
          javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ServerProvider.property.security.config"
          • 2. Re: Seam with netbeans
            sumit kumar Newbie

            somebody please reply.......................