[JBossWS] - Re: Jbossws Tutorial.
by poisoner
I tried also the zeeshan.javeed hello world example (foo.war in the log) but it also doesn't work. I cannot run any simple web services???
11:40:08,000 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/foo.war
| java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/tmp/deploy/tmp8820jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
| at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:172)
| at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
| at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
| at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
| at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
| at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(CustomizableJAXBContextFactory.java:110)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:951)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:156)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:52)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63)
| at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66)
| at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
| at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.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 $Proxy200.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.GeneratedMethodAccessor31.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.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)
| 11:40:08,093 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 11:40:08,343 INFO [DefaultEndpointRegistry] register: jboss.ws:context=sum,endpoint=Sum
| 11:40:08,343 INFO [TomcatDeployer] deploy, ctxPath=/sum, warUrl=.../tmp/deploy/tmp8870sum-exp.war/
| 11:40:08,500 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/sum.war
| java.lang.StringIndexOutOfBoundsException: String index out of range: -1
| at java.lang.String.substring(String.java:1938)
| at org.jboss.wsf.common.JavaUtils.getPackageName(JavaUtils.java:535)
| at org.jboss.ws.metadata.wsdl.WSDLUtils.getTypeNamespace(WSDLUtils.java:700)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.processWebService(JAXWSWebServiceMetaDataBuilder.java:315)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:109)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:52)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63)
| at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66)
| at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
| at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.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 $Proxy200.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.GeneratedMethodAccessor31.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.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)
| 11:40:08,562 INFO [EARDeployer] Init J2EE application: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/jboss-forums.ear
| 11:40:13,812 INFO [Configuration] configuring from url: jar:file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/tmp/deploy/tmp8871jboss-forums.ear-contents/portal-forums.sar!/conf/hibernate/hibernate.cfg.xml
| 11:40:13,812 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/CategoryImpl.hbm.xml
| 11:40:13,843 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.CategoryImpl -> jbp_forums_categories
| 11:40:13,843 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/ForumImpl.hbm.xml
| 11:40:13,843 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.ForumImpl -> jbp_forums_forums
| 11:40:13,843 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/PollImpl.hbm.xml
| 11:40:13,859 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.PollImpl -> jbp_forums_polls
| 11:40:13,859 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.PollImpl.options -> jbp_forums_poll_option
| 11:40:13,859 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.PollImpl.voted -> jbp_forums_poll_voted
| 11:40:13,859 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/PosterImpl.hbm.xml
| 11:40:13,875 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.PosterImpl -> jbp_forums_posters
| 11:40:13,875 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/PostImpl.hbm.xml
| 11:40:13,890 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.PostImpl -> jbp_forums_posts
| 11:40:13,890 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/TopicImpl.hbm.xml
| 11:40:13,906 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.TopicImpl -> jbp_forums_topics
| 11:40:13,906 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/WatchImpl.hbm.xml
| 11:40:13,921 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.WatchImpl -> jbp_forums_watch
| 11:40:13,921 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portlet.forums.impl.ForumWatchImpl -> jbp_forums_forumswatch
| 11:40:13,921 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portlet.forums.impl.TopicWatchImpl -> jbp_forums_topicswatch
| 11:40:13,921 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/AttachmentImpl.hbm.xml
| 11:40:13,937 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.AttachmentImpl -> jbp_forums_attachments
| 11:40:13,937 INFO [Configuration] Configured SessionFactory: null
| 11:40:14,109 INFO [AclKernelFactory] org.jboss.security.acl.AclKernelFactory successfully started......
| 11:40:14,140 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.CategoryImpl.forums -> jbp_forums_forums
| 11:40:14,140 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.ForumImpl.topics -> jbp_forums_topics
| 11:40:14,140 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.ForumImpl.forumWatch -> jbp_forums_forumswatch
| 11:40:14,140 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.ForumImpl.watches -> jbp_forums_forumswatch
| 11:40:14,140 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.PostImpl.attachments -> jbp_forums_attachments
| 11:40:14,140 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.TopicImpl.posts -> jbp_forums_posts
| 11:40:14,140 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.TopicImpl.watches -> jbp_forums_topicswatch
| 11:40:14,156 INFO [NamingHelper] JNDI InitialContext properties:{}
| 11:40:14,156 INFO [DatasourceConnectionProvider] Using datasource: java:PortalDS
| 11:40:14,156 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
| 11:40:14,156 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
| 11:40:14,156 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
| 11:40:14,156 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
| 11:40:14,156 INFO [NamingHelper] JNDI InitialContext properties:{}
| 11:40:14,156 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 11:40:14,156 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 11:40:14,156 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 11:40:14,156 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 11:40:14,156 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled
| 11:40:14,156 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 11:40:14,156 INFO [SettingsFactory] JDBC batch size: 15
| 11:40:14,156 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 11:40:14,156 INFO [SettingsFactory] Scrollable result sets: enabled
| 11:40:14,156 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 11:40:14,156 INFO [SettingsFactory] Connection release mode: auto
| 11:40:14,156 INFO [SettingsFactory] Default batch fetch size: 1
| 11:40:14,156 INFO [SettingsFactory] Generate SQL with comments: disabled
| 11:40:14,156 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 11:40:14,156 INFO [SettingsFactory] Order SQL inserts for batching: disabled
| 11:40:14,156 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 11:40:14,156 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 11:40:14,156 INFO [SettingsFactory] Query language substitutions: {}
| 11:40:14,156 INFO [SettingsFactory] JPA-QL strict compliance: disabled
| 11:40:14,156 INFO [SettingsFactory] Second-level cache: enabled
| 11:40:14,156 INFO [SettingsFactory] Query cache: disabled
| 11:40:14,156 INFO [SettingsFactory] Cache provider: org.hibernate.cache.NoCacheProvider
| 11:40:14,156 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 11:40:14,156 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 11:40:14,156 INFO [SettingsFactory] Statistics: disabled
| 11:40:14,156 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 11:40:14,156 INFO [SettingsFactory] Default entity-mode: pojo
| 11:40:14,156 INFO [SettingsFactory] Named query checking : enabled
| 11:40:14,171 INFO [SessionFactoryImpl] building session factory
| 11:40:15,156 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
| 11:40:15,156 INFO [NamingHelper] JNDI InitialContext properties:{}
| 11:40:15,203 INFO [AuthorizationContextImpl] org.jboss.portlet.forums.auth.AuthorizationContextImpl successfully started......
| 11:40:15,312 INFO [TomcatDeployer] deploy, ctxPath=/portal-forums, warUrl=.../tmp/deploy/tmp8871jboss-forums.ear-contents/portal-forums-exp.war/
| 11:40:15,718 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
| 11:40:15,828 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/tmp/deploy/tmp8871jboss-forums.ear-contents/jsf-facelets.jar!/META-INF/faces-config.xml
| 11:40:15,843 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/tmp/deploy/tmp8871jboss-forums.ear-contents/tomahawk.jar!/META-INF/faces-config.xml
| 11:40:15,890 INFO [FacesConfigurator] Reading config /WEB-INF/forums-config.xml
| 11:40:17,093 INFO [StartupServletContextListener] ServletContext 'C:\jboss\jboss-portal-2.6.2.GA\server\default\.\tmp\deploy\tmp8871jboss-forums.ear-contents\portal-forums-exp.war\' initialized.
| 11:40:17,203 INFO [PortletAppDeployment] Parsing /portal-forums/jboss-portlet.xml
| 11:40:17,250 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
| 11:40:17,359 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/tmp/deploy/tmp8871jboss-forums.ear-contents/jsf-facelets.jar!/META-INF/faces-config.xml
| 11:40:17,375 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/tmp/deploy/tmp8871jboss-forums.ear-contents/tomahawk.jar!/META-INF/faces-config.xml
| 11:40:17,406 INFO [FacesConfigurator] Reading config /WEB-INF/forums-config.xml
| 11:40:17,468 INFO [RenderKitFactoryImpl] RenderKit with renderKitId 'HTML_BASIC' was replaced.
| 11:40:17,484 INFO [MyFacesGenericPortlet] PortletContext 'C:\jboss\jboss-portal-2.6.2.GA\server\default\.\tmp\deploy\tmp8871jboss-forums.ear-contents\portal-forums-exp.war\' initialized.
| 11:40:17,625 INFO [EARDeployer] Started J2EE application: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/jboss-forums.ear
| 11:40:17,656 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- Packages waiting for a deployer ---
| org.jboss.deployment.DeploymentInfo@7f08c218 { url=file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.jse }
| deployer: null
| status: Starting
| state: INIT_WAITING_DEPLOYER
| watch: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.jse
| altDD: null
| lastDeployed: 1214642402359
| lastModified: 1214642363250
| mbeans:
|
| --- Incompletely deployed packages ---
| org.jboss.deployment.DeploymentInfo@900cc972 { url=file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/foo.war }
| deployer: MBeanProxyExt[jboss.web:service=WebServer]
| status: Deployment FAILED reason: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/tmp/deploy/tmp8820jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
| state: FAILED
| watch: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/foo.war
| altDD: null
| lastDeployed: 1214642406640
| lastModified: 1214642406640
| mbeans:
| jboss.web:j2eeType=Servlet,name=HelloWorldService,WebModule=//localhost/foo,J2EEApplication=none,J2EEServer=none (state not available)
| jboss.web:j2eeType=Servlet,name=default,WebModule=//localhost/foo,J2EEApplication=none,J2EEServer=none (state not available)
| jboss.web:j2eeType=Servlet,name=jsp,WebModule=//localhost/foo,J2EEApplication=none,J2EEServer=none (state not available)
|
| org.jboss.deployment.DeploymentInfo@49deb077 { url=file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/sum.war }
| deployer: MBeanProxyExt[jboss.web:service=WebServer]
| status: Deployment FAILED reason: String index out of range: -1
| state: FAILED
| watch: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/sum.war
| altDD: null
| lastDeployed: 1214642408328
| lastModified: 1214642408328
| mbeans:
| jboss.web:j2eeType=Servlet,name=Sum,WebModule=//localhost/sum,J2EEApplication=none,J2EEServer=none (state not available)
| jboss.web:j2eeType=Servlet,name=jsp,WebModule=//localhost/sum,J2EEApplication=none,J2EEServer=none (state not available)
| jboss.web:j2eeType=Servlet,name=default,WebModule=//localhost/sum,J2EEApplication=none,J2EEServer=none (state not available)
|
|
| 11:40:17,828 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
| 11:40:17,859 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 11:40:17,890 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 1m:3s:875ms
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161683#4161683
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161683
16 years, 6 months
[JBossWS] - Port does not contain operation meta data for: {http://www.w
by helmutdoe
Hi i have a similiar problem
using a client which should be able to encrypt soaprequests
| javax.xml.ws.soap.SOAPFaultException: Endpoint {urn:com:tools:wsse}... Port does not contain operation meta data for: {http://www.w3.org/2001/04/xmlenc#}EncryptedData
| at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:72)
| at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:109)
| at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:383)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:304)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
| at $Proxy9.get6From49(Unknown Source)
|
|
did the community solve this problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161676#4161676
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161676
16 years, 6 months
[JBossWS] - Re: Jbossws Tutorial.
by poisoner
Here is the error, why I get this error?
10:55:03,796 INFO [DefaultEndpointRegistry] register: jboss.ws:context=sum,endpoint=Sum
| 10:55:04,062 INFO [TomcatDeployer] deploy, ctxPath=/sum, warUrl=.../tmp/deploy/tmp32805sum-exp.war/
| 10:55:04,281 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/sum.war
| java.lang.StringIndexOutOfBoundsException: String index out of range: -1
| at java.lang.String.substring(String.java:1938)
| at org.jboss.wsf.common.JavaUtils.getPackageName(JavaUtils.java:535)
| at org.jboss.ws.metadata.wsdl.WSDLUtils.getTypeNamespace(WSDLUtils.java:700)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.processWebService(JAXWSWebServiceMetaDataBuilder.java:315)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:109)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:52)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63)
| at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66)
| at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
| at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.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 $Proxy200.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.GeneratedMethodAccessor31.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.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)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161673#4161673
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161673
16 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Failed to update deployment descriptor
by modkota
Hello friends,
I am working on creating the webservice using JBOSS IDE for Eclipse. When I am publishing a service as webservice I am getting the fallowing error message. It seems like configuration issue. If anyone of you know the solution for this please reply back ..
Thanks in advance..
Here is the error I am getting
Running JBossWS wstools for [TrueChoice]
directory: C:\projects\TrueChoice
command: cmd.exe /C C:\tcs-dev\jboss-4.0.5.GA\bin\wstools.bat -cp 3.0.1/Java_Projects/Salestool_Base/build -config C:\DOCUME~1\pramodk\LOCALS~1\Temp\wstools-config9035.xml -dest C:\projects\TrueChoice\src\gen
========================================================================="
.
WSTools Environment
.
JBOSS_HOME: C:\tcs-dev\jboss-4.0.5.GA\bin\\..
.
JAVA: C:\jdk1.5.0_09\bin\java
.
JAVA_OPTS:
.
========================================================================="
.
Failed to update deployment descriptor
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161667#4161667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161667
16 years, 6 months