[Installation, Configuration & Deployment] - [JBoss-5.0.0Beta2] PostgreSQL DataSource problems
by avdyk
Hi,
I'm trying to install JBoss 5.0.0Beta2 with a PostgreSQL DataSource.
There was a failure at JBoss startup, trying to create qrtz_job_details. AFAIK (but I'm not an expert), there is no BINARY type in PostgreSQL but 'bytea'. Here is the SQL code to create the table:
| CREATE TABLE qrtz_job_details
| (
| job_name varchar(80) NOT NULL,
| job_group varchar(80) NOT NULL,
| description varchar(120),
| job_class_name varchar(128) NOT NULL,
| is_durable varchar(1) NOT NULL,
| is_volatile varchar(1) NOT NULL,
| is_stateful varchar(1) NOT NULL,
| requests_recovery varchar(1) NOT NULL,
| job_data bytea,
| CONSTRAINT qrtz_job_details_pkey PRIMARY KEY (job_name, job_group)
| )
|
Now, I have problems with another relation: jbm_tx.
Where can I find the SQL source so I could try to replace it for PostgreSQL?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040956#4040956
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040956
17 years, 8 months
[JBoss Messaging] - Re: JBM 3.2 ClassLoader FUBAR
by chip_schoch
I appreciate your quick response. It is good to hear that you are working to eliminate the need for scoping. I tried putting the jar you specified in my lib directory and restarting JBossAS (4.0.5, ejb3 configuration) and It gives the following exception:
| 2007-04-26 08:52:40,253 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/C:/AppServer/jboss-4.0.5.GA/server/default/deploy/ejb3.deployer/
| org.jboss.deployment.DeploymentException: no protocol: org/jboss/remoting/transport/Connector.xml; - nested throwable: (java.net.MalformedURLException: no protocol: org/jboss/remoting/transport/Connector.xml)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
| at org.jboss.system.ServiceController.install(ServiceController.java:226)
| 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 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.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| 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: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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.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.GeneratedMethodAccessor4.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.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.GeneratedMethodAccessor11.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.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: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.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:490)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.net.MalformedURLException: no protocol: org/jboss/remoting/transport/Connector.xml
| at java.net.URL.<init>(URL.java:567)
| at java.net.URL.<init>(URL.java:464)
| at java.net.URL.<init>(URL.java:413)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:206)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
| ... 81 more
|
Its pretty much greek to me.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040953#4040953
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040953
17 years, 8 months
[JBossCache] - Re: Buddy Replication on Weblogic
by vinayakkhamkar
Manik, Thanks for the reply.
The two nodes are not clustered (sticky session not configured) and I used the same configuration. I have few questions
1) BuddyReplication only works in case of clustered environment? So If I have individual nodes which are not part of cluster then I can't use BuddyReplication?
2) With the same configuration, when I dont use BuddyReplication in my cache-config, still the contents get replicated. i.e Application-1 and Application-2 were able to see the cache contents at any point of time.
(Applications are deployed in two different AdminServers (not a part of cluster) but on single machine). Can you please tell us if that is right and how it replicated the contents when we did not use BuddyReplication and why it is not replicating the contents when we use BuddyReplication?
Is it mandatory to use sticky session for BuddyReplication to work?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040952#4040952
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040952
17 years, 8 months
[JBoss Seam] - Remoting callbacks are not recieving
by Jayaranga
Hello,
Im using seam remoting for my application.
and my environment is : seam version 1.0.1 on jboss 4.0.5AS and IE 6 browser.
my script calls to user login function, wich generate a remote call using seam as follows
| var usersAction = Seam.Component.getInstance('roomsnet_r5_admin_businesslogic_DRAMP_CustomerLogicAction');
| usersAction.validateUser(username , password ,"DRAMP", registerCallback);
|
|
sometimes im not getting response callback.
>From the log messages i ve put in session bean , i can say all my code execute and from the frontend debug screen doesnt show any response message.
if i tried 5 times, the above explained scenario happenes at least 3 times and im getting the callback only 2 times.
the following lines are taken from remote debug window
Thu Apr 26 17:56:46 UTC+0600 2007: Request packet:
| <envelope><header><context></context></header><body><call component="roomsnet_r5_admin_businesslogic_DRAMP_CustomerLogicAction" method="validateUser" id="0">
| <params><param><str>123%40123.com</str></param><param><str>111111</str></param><param><str>DRAMP</str></param></params><refs></refs></call></body></envelope>
|
|
| Thu Apr 26 17:56:48 UTC+0600 2007: Request packet:
| <envelope><header><context></context></header><body><call component="roomsnet_r5_admin_businesslogic_DRAMP_CustomerLogicAction" method="validateUser" id="0">
| <params><param><str>123%40123.com</str></param><param><str>111111</str></param><param><str>DRAMP</str></param></params><refs></refs></call></body></envelope>
|
|
| Thu Apr 26 17:56:49 UTC+0600 2007: Request packet:
| <envelope><header><context></context></header><body><call component="roomsnet_r5_admin_businesslogic_DRAMP_CustomerLogicAction" method="validateUser" id="0">
| <params><param><str>123%40123.com</str></param><param><str>111111</str></param><param><str>DRAMP</str></param></params><refs></refs></call></body></envelope>
|
|
| Thu Apr 26 17:56:49 UTC+0600 2007: Response packet:
| <envelope><header><context><conversationId>88</conversationId></context></header><body><result id="0"><value><str>Successfuly%20Logged%20in</str></value><refs></refs></result></body></envelope>
|
|
|
|
Has anyone familier with the above?
Can anybody help me ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040950#4040950
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040950
17 years, 8 months