11 Replies Latest reply on Dec 6, 2007 4:59 AM by Davide Pettenò

    Jbossws 2.0.2 with jdk1.6

    Davide Pettenò Newbie

      Hi,
      i try to install jboss2.0.2 on my Jboss AS 4.2.1 (with portal 2.6.1) with a jdk 1.6.0 but it didn't work.
      There's a document that shows in a clear way wich are the step to make ???

      Thank's a lot
      Davide

        • 2. Re: Jbossws 2.0.2 with jdk1.6
          Davide Pettenò Newbie

          Ok...it's the same document that i view yesterday.
          I copy the library into my installation path /data/jboss-portal/lib/endorsed

          The first question is: is correct my ant.properties

          #
          # A sample ant properties file
          #
          # $Id: ant.properties.example 3137 2007-05-18 13:41:57Z thomas.diesler@jboss.com $

          # Optional JBoss Home
          jboss405.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_0_5_GA/build/output/jboss-4.0.5.GA-ejb3
          jboss421.home=/data/jboss-portal/
          jboss422.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_2_2_GA/build/output/jboss-4.2.2.GA
          jboss500.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3

          # The JBoss server under test. This can be [jboss405|jboss421|jboss422|jboss500]
          jbossws.integration.target=jboss421

          # The JBoss settings
          jboss.server.instance=default
          jboss.bind.address=localhost

          # JBoss Repository
          #jboss.repository=file:/home/tdiesler/svn/jboss.local.repository
          jboss.repository=http://repository.jboss.org

          # JBoss JMX invoker authentication
          #jmx.authentication.username=admin
          #jmx.authentication.password=admin

          # Java Compiler options
          javac.debug=yes
          javac.deprecation=no
          javac.fail.onerror=yes
          javac.verbose=no

          Thanks
          Davide

          • 3. Re: Jbossws 2.0.2 with jdk1.6
            Davide Pettenò Newbie

            There other configuration to do in my jbossws-native-2.0.2.GA ??

            Thanks
            Davide

            • 4. Re: Jbossws 2.0.2 with jdk1.6
              Richard Opalka Master

              Hi,

              "Artec" wrote:

              # Optional JBoss Home
              jboss405.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_0_5_GA/build/output/jboss-4.0.5.GA-ejb3
              jboss421.home=/data/jboss-portal/
              jboss422.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_2_2_GA/build/output/jboss-4.2.2.GA
              jboss500.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3
              


              must be

              # Optional JBoss Home
              #jboss405.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_0_5_GA/build/output/jboss-4.0.5.GA-ejb3
              jboss421.home= ... and here put real absolute location to your JBoss 4.2.1 server
              #jboss422.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_2_2_GA/build/output/jboss-4.2.2.GA
              j#boss500.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3
              


              Richard

              • 5. Re: Jbossws 2.0.2 with jdk1.6
                Davide Pettenò Newbie

                Ok...i correct my ant.properties and i build jbossws.sar in this way

                root@S10lab:/data/jboss-portal-2.6.1.GA/lib/endorsed# export ANT_OPTS="-Djava.endorsed.dirs=/data/jboss-portal-2.6.1.GA/lib/endorsed/"
                root@S10lab:/data/jboss-portal-2.6.1.GA/lib/endorsed# export JAVA_HOME=/data/jdk1.6.0_03/
                root@S10lab:/data/jbossws-native-2.0.2.GA# /data/apache-ant-1.7.0/bin/ant deploy-jboss421
                Buildfile: build.xml

                prepare:

                undeploy-jboss421-endorsed:

                undeploy-jboss421:
                [delete] Deleting directory /data/jboss-portal-2.6.1.GA/server/default/deploy/jbossws.sar
                [delete] Deleting directory /data/jboss-portal-2.6.1.GA/server/default/deploy/juddi-service.sar

                deploy-jboss421-endorsed:
                [copy] Copying 5 files to /data/jboss-portal-2.6.1.GA/lib/endorsed

                deploy-jboss421:
                [unzip] Expanding: /data/jbossws-native-2.0.2.GA/lib/jbossws-core-scripts.zip into /data/jboss-portal-2.6.1.GA/bin
                [copy] Copying 15 files to /data/jboss-portal-2.6.1.GA/client
                [copy] Copying 1 file to /data/jboss-portal-2.6.1.GA/lib
                [mkdir] Created dir: /data/jboss-portal-2.6.1.GA/server/default/deploy/jbossws.sar
                [unjar] Expanding: /data/jbossws-native-2.0.2.GA/lib/jbossws-native42.sar into /data/jboss-portal-2.6.1.GA/server/default/deploy/jbossws.sar
                [mkdir] Created dir: /data/jboss-portal-2.6.1.GA/server/default/deploy/juddi-service.sar
                [unzip] Expanding: /data/jbossws-native-2.0.2.GA/lib/juddi-service.sar into /data/jboss-portal-2.6.1.GA/server/default/deploy/juddi-service.sar
                [unzip] Expanding: /data/jbossws-native-2.0.2.GA/lib/jbossws-framework-scripts.zip into /data/jboss-portal-2.6.1.GA/bin
                [copy] Copying 3 files to /data/jboss-portal-2.6.1.GA/client
                [copy] Copying 3 files to /data/jboss-portal-2.6.1.GA/server/default/lib

                BUILD SUCCESSFUL
                Total time: 9 seconds

                Is all correct ?
                Thanks
                Davide

                • 6. Re: Jbossws 2.0.2 with jdk1.6
                  Davide Pettenò Newbie

                  Ok. I've run my jboss and in my server.log there's this error

                  =========================================================================

                  JBoss Bootstrap Environment

                  JBOSS_HOME: /data/jboss-portal-2.6.1.GA

                  JAVA: /data/jdk1.6.0_03/bin/java

                  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms512m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

                  CLASSPATH: /data/jboss-portal-2.6.1.GA/bin/run.jar:/data/jdk1.6.0_03/lib/tools.jar

                  =========================================================================

                  14:08:58,718 INFO [Server] Starting JBoss (MX MicroKernel)...
                  14:08:58,724 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
                  14:08:58,736 INFO [Server] Home Dir: /data/jboss-portal-2.6.1.GA
                  14:08:58,737 INFO [Server] Home URL: file:/data/jboss-portal-2.6.1.GA/
                  14:08:58,742 INFO [Server] Patch URL: null
                  14:08:58,743 INFO [Server] Server Name: default
                  14:08:58,744 INFO [Server] Server Home Dir: /data/jboss-portal-2.6.1.GA/server/default
                  14:08:58,746 INFO [Server] Server Home URL: file:/data/jboss-portal-2.6.1.GA/server/default/
                  14:08:58,747 INFO [Server] Server Log Dir: /data/jboss-portal-2.6.1.GA/server/default/log
                  14:08:58,749 INFO [Server] Server Temp Dir: /data/jboss-portal-2.6.1.GA/server/default/tmp
                  14:08:58,752 INFO [Server] Root Deployment Filename: jboss-service.xml
                  14:09:01,505 INFO [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
                  14:09:01,507 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_03-b05,Sun Microsystems Inc.
                  14:09:01,508 INFO [ServerInfo] OS-System: SunOS 5.8,sparc
                  14:09:06,065 INFO [Server] Core system initialized
                  14:09:23,252 INFO [WebService] Using RMI server codebase: http://161.27.1.19:8083/
                  14:09:23,264 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
                  14:09:27,172 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
                  14:09:27,172 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
                  14:09:28,867 INFO [TransactionManagerService] Starting recovery manager
                  14:09:29,492 INFO [TransactionManagerService] Recovery manager started
                  14:09:29,493 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
                  14:09:55,211 INFO [EJB3Deployer] Starting java:comp multiplexer
                  14:10:58,962 INFO [STDOUT] no object for null
                  14:10:58,979 INFO [STDOUT] no object for null
                  14:10:59,117 INFO [STDOUT] no object for null
                  14:10:59,273 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
                  14:10:59,360 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
                  14:11:12,407 ERROR [AbstractKernelController] Error installing to Described: name=WSHTTPServer state=Not Installed mode=Manual requiredState=Create
                  java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.wsf.container.jboss42.DeploymentAspectHttpServer
                  at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
                  at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)
                  at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                  at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:216)
                  at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.getTypeInfo(IntrospectionTypeInfoFactory.java:47)
                  at org.jboss.classadapter.plugins.reflect.ReflectClassAdapterFactory.getClassAdapter(ReflectClassAdapterFactory.java:61)
                  at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:59)
                  at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:64)
                  at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:76)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$DescribeAction.installAction(KernelControllerContextActions.java:227)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:147)
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
                  at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291)
                  at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261)
                  at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117)
                  at org.jboss.kernel.deployment.jboss.JBossBeanDeployment.createService(JBossBeanDeployment.java:69)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
                  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                  at $Proxy0.create(Unknown Source)
                  at org.jboss.system.ServiceController.create(ServiceController.java:330)
                  at org.jboss.system.ServiceController.create(ServiceController.java:273)
                  at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy19.create(Unknown Source)
                  at org.jboss.deployment.SimpleSubDeployerSupport.createService(SimpleSubDeployerSupport.java:338)
                  at org.jboss.deployment.SimpleSubDeployerSupport.create(SimpleSubDeployerSupport.java:102)
                  at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
                  at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy9.deploy(Unknown Source)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                  at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                  at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                  at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                  at $Proxy0.start(Unknown Source)
                  at org.jboss.system.ServiceController.start(ServiceController.java:417)
                  at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy4.start(Unknown Source)
                  at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                  at $Proxy5.deploy(Unknown Source)
                  at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                  at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                  at org.jboss.Main.boot(Main.java:200)
                  at org.jboss.Main$1.run(Main.java:508)
                  at java.lang.Thread.run(Thread.java:619)

                  Can U help me ??
                  Thanks
                  Davide

                  • 7. Re: Jbossws 2.0.2 with jdk1.6
                    Richard Opalka Master

                     

                    "Artec" wrote:

                    Is all correct ?
                    Thanks
                    Davide


                    Yes, deploy seems to pass correctly.

                    Richard

                    • 8. Re: Jbossws 2.0.2 with jdk1.6
                      Davide Pettenò Newbie

                      ..ok...but i have problem in run fase...in particolar i receive many exception...

                      • 10. Re: Jbossws 2.0.2 with jdk1.6
                        Davide Pettenò Newbie

                        ok..and so i must install before jbossws 2.0.1 and then jbossws 2.0.2 to have a clear installation,right?

                        Thanks a lot
                        Davide

                        • 11. Re: Jbossws 2.0.2 with jdk1.6
                          Davide Pettenò Newbie

                          OK !!! IT WORKS !!!
                          Thank a lot to everybody !!!
                          Bye
                          Davide