[JCA/JBoss] - DeploymentError
by fsloke
How to solve this?
| 2008-07-09 19:32:13,281 ERROR [org.jboss.ejb.ContainerFactory] {JBossMain} DeploymentError
| org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean SMSController: configuration '' not found in standardjboss.xml or jboss.xml
| at org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:468)
| at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:186)
| at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:423)
| at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:370)
| at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:307)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
| at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
| at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487)
| at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
| at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
| at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
| at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
| at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
| at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
| at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
| at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
| at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
| at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
| at $Proxy0.start(Unknown Source)
| at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
| at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
| at org.jboss.Main.<init>(Main.java:209)
| at org.jboss.Main$1.run(Main.java:110)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.Main.main(Main.java:106)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163282#4163282
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163282
17 years, 9 months
[JCA/JBoss] - JBoss problem
by fsloke
When I finish copy the ear file and the jar file into the jboss, then I run the JBoss...
Suddenly the error occur....
|
| 2008-07-09 19:41:15,281 INFO [STDOUT] {Thread-21} Listener.handleNotification(), notification: javax.management.timer.TimerNotification[source=javax.management.timer.Timer@9ff588]
| 2008-07-09 19:41:15,281 INFO [STDOUT] {Thread-21} Scheduler is started: true
| 2008-07-09 19:41:15,281 DEBUG [com.b2b.emonitor.monitor.scheduler.MonitoringScheduler] {Thread-21} MonitoringScheduler.perform(Date Wed Jul 09 19:41:15 GMT+08:00 2008,long -1, value 1)-START
| 2008-07-09 19:41:15,281 INFO [com.b2b.emonitor.util.dispatch.ControllerHomeFactorySingleton] {Thread-21} Getting JNDI emonitor/controller/MonitorController
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} javax.naming.NameNotFoundException: emonitor not bound
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.server.NamingServer.lookup(NamingServer.java:253)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:435)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:419)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at javax.naming.InitialContext.lookup(InitialContext.java:347)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at com.b2b.emonitor.util.dispatch.ControllerHomeFactorySingleton.getMonitorControllerHome(Unknown Source)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at com.b2b.emonitor.monitor.scheduler.MonitoringScheduler.perform(Unknown Source)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jboss.varia.scheduler.Scheduler$Listener.handleNotification(Scheduler.java:1061)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at com.sun.management.jmx.MBeanServerNotificationListener.handleNotification(MBeanServerNotificationListener.java:48)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:142)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at javax.management.timer.Timer.sendNotification(Timer.java:1119)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1089)
| 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at javax.management.timer.TimerAlarmClock.run(Timer.java:1165)
| 2008-07-09 19:41:15,281 INFO [STDOUT] {Thread-21} Remaining Repititions: -1, wait for next call to stop: false
|
Do you experience this error?
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163276#4163276
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163276
17 years, 9 months
[Microcontainer] - MSSQL Persistent Manager issue
by gary.c.chen
I am so confused on the sql trace when I open persistent mechanism for jms message with mssql server database.
When one jms message is produced and consumed, the following sql statements has been captured. You can see, one jms message cause 25 times insert statement execution, and It already result in serious performance issue. Does anyone can help me explain what's the root cause and how to avoid it for better performance.
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874033217536, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874036756481, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874038394882, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874040360963, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874041344004, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874051829765, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874059694086, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874070835207, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874079682568, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874083614729, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874097049610, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874112122891, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874121953292, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874137026573, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874146529294, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874151772175, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874164224016, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874166517777, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874173399058, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874181591059, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874187816980, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874194698261, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874203217942, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874205511703, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
| exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874216980504, NULL, 0, 0
| go
| IF @@TRANCOUNT > 0 ROLLBACK TRAN
| go
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163275#4163275
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163275
17 years, 9 months
[JBossWS] - Re: Use my own WSDL -> Cannot publish WSDL
by jimpo991
The WSDL and the xsd definitions are in structure:
schema/Employee2.xsd - common definitions
schema/TypeDefinitions.xsd - common definitions
wsdl/schema/EmployeeServer.xsd - definitions for employee service types
wsdl/EmployeeService.wsdl - employee service WSDL
I have tried to put these to, and referer to the place in end point interface's wsdlLocation:
1) local file system
2) META-INF/
3) regular web application root
Each time I get the error when jbossws tries to publish the WSDL:
| 14:40:18,709 INFO [JmxKernelAbstraction] persistence.units:ear=soapoc-employeeservice-1.0.ear,jar=employee-ejbs-1.0.jar,unitName=soa_poc_user
| 14:40:18,740 INFO [EJBContainer] STARTED EJB: com.foobar.soapoc.ejb.manager.impl.EmployeeManagerImpl ejbName: EmployeeManagerImpl
| 14:40:18,771 INFO [EJBContainer] STARTED EJB: com.foobar.soapoc.ejb.facade.impl.EmployeeFacadeImpl ejbName: EmployeeFacade
| 14:40:18,787 INFO [EJB3Deployer] Deployed: file:/D:/bz-soa-poc/sandbox/3/jboss-4.2.1.GA/jboss-4.2.1.GA/server/default/tmp/deploy/tmp33208soapoc-employees
| ervice-1.0.ear-contents/employee-ejbs-1.0.jar
| 14:40:18,803 INFO [TomcatDeployer] deploy, ctxPath=/employee-service, warUrl=.../tmp/deploy/tmp33208soapoc-employeeservice-1.0.ear-contents/employee-servi
| ce-1.0-exp.war/
| 14:40:19,209 WARN [PolicyMetaDataBuilder] Cannot get service '{http://www.city.fi/soa-poc/EmployeeServiceWSDL}EmployeeServiceImplService' from the give
| n wsdl definitions! Eventual policies attached to this service won't be considered.
| 14:40:19,490 INFO [WSDLFilePublisher] WSDL published to: file:/D:/bz-soa-poc/sandbox/3/jboss-4.2.1.GA/jboss-4.2.1.GA/server/default/data/wsdl/soapoc-empl
| oyeeservice-1.0.ear/employee-service-1.0.war/EmployeeService.wsdl
| 14:40:19,490 ERROR [MainDeployer] Could not start deployment: file:/D:/bz-soa-poc/sandbox/3/jboss-4.2.1.GA/jboss-4.2.1.GA/server/default/tmp/deploy/tmp332
| 08soapoc-employeeservice-1.0.ear-contents/employee-service-1.0.war
| org.jboss.ws.WSException: Cannot publish wsdl to: D:\bz-soa-poc\sandbox\3\jboss-4.2.1.GA\jboss-4.2.1.GA\server\default\data\wsdl\soapoc-employeeservice-1.
| 0.ear\employee-service-1.0.war\EmployeeService.wsdl
| at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:143)
| at org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect.create(PublishContractDeploymentAspect.java:52)
| 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 $Proxy45.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| 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.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:258)
| at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOpByName(HtmlAdaptorServlet.java:287)
| at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:102)
| at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:77)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.io.IOException: Cannot get URL for: WEB-INF/wsdl/schema/EmployeeService.xsd
| at org.jboss.wsf.common.URLLoaderAdapter.findChild(URLLoaderAdapter.java:106)
| at org.jboss.wsf.framework.deployment.ArchiveDeploymentImpl.getMetaDataFileURL(ArchiveDeploymentImpl.java:99)
| at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:242)
| at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:262)
| at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:262)
| at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:130)
| ... 50 more
| 14:40:19,537 ERROR [[HtmlAdaptor]] Servlet.service() for servlet HtmlAdaptor threw exception
| java.io.IOException: Cannot get URL for: WEB-INF/wsdl/schema/EmployeeService.xsd
| at org.jboss.wsf.common.URLLoaderAdapter.findChild(URLLoaderAdapter.java:106)
| at org.jboss.wsf.framework.deployment.ArchiveDeploymentImpl.getMetaDataFileURL(ArchiveDeploymentImpl.java:99)
| at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:242)
| at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:262)
| at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:262)
|
For some reason unknown to me, jbossws seems to think the type definitions should exist under WEB-INF
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163272#4163272
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163272
17 years, 9 months