[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 4.x fails to create JMS_XXX tables at startup
Just wanted to follow up to this for anyone else who finds it to say "It worked for me, too." Here's an example of a the full mssql-ds.xml file: | | | MSSQLDS | jdbc:microsoft:sqlserver://MyServer;DatabaseName=MyDatabase | com.microsoft.jdbc.sqlserver.SQLServerDriver | MyUser | MyPassword | | | Select 1 | | | MS SQLSERVER2000 | | cursor | | | Once I added the SelectMethod to be cursor, all the tables were created and populated as specified in mssql-jdbc2-service.xml and mssqldb-jdbc-state-service.xml. Now that JBoss and Microsoft are cooperating, I'm sure the example mssql-ds.xml will be updated, right...? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928309#3928309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928309 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: making a redeployable .war or .ear
After restarting JBoss, this exception did not recur. So, the solution appears to be to modify the WSDL to contain a valid URL (I couldn't get wscompile to do this, I had to use the replaceregexp Ant task), then change the AlwaysModifySOAPAddress attribute to false for the AxisService mbean in deploy\jboss-ws4ee.sar\META-INF\jboss-service.xml. Thanks for everyone's help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882210#3882210 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882210 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: making a redeployable .war or .ear
"[EMAIL PROTECTED]" wrote : What happens when you put | | | | https://SOME_URL_TO_BE_REPLACED_BY_JBOSS | | | | in the wsdl? I changed the AlwaysModifySOAPAddress attribute to false in jboss-service.xml, added my https url to the wsdl, and redeployed, then got the following exception. I double checked that the URL I put in the WSDL was valid. According to the comment in jboss-service.xml, it seems it should not be trying to rewrite it. If the content of is a valid URL, JBoss will not rewrite it unless AlwaysModifySOAPAddress=true I can't provide the exact URL, but it looks like this: https://subdomain.domain.com/AppCategory/AppName | 2005-06-20 15:33:46,076 ERROR [org.jboss.webservice.ServiceDeployer] Cannot startup webservice for: TrafficCitationUpdate1.war | java.lang.NoClassDefFoundError: javax/wsdl/Definition | at org.jboss.webservice.metadata.WebserviceDescriptionMetaData.replaceAddressLocations(WebserviceDescriptionMetaData.java:277) | at org.jboss.webservice.metadata.WebserviceDescriptionMetaData.updateServiceAddress(WebserviceDescriptionMetaData.java:253) | at org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:211) | at org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:112) | 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.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138) | at $Proxy54.handleNotification(Unknown Source) | at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112) | at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:95) | at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:238) | at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:206) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:410) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) | at sun.reflect.GeneratedMethodAccessor44.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:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194) | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882205#3882205 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882205 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: requiring SSL for non-servlet/non-EJB JSE
Thanks, Thomas. I overlooked the web-app/security-constraint/user-data-constraint/transport-guarantee element that can be used in web.xml. For anyone interested, you can add something like the following in your web.xml so that SSL/TLS is required. The key is the CONFIDENTIAL transport-guarantee: | | | | someName | /* | GET | POST | | | CONFIDENTIAL | | | Argh - it seems all the information is out there, it's just hard to find it all and bring it together to fit your implementation! Slowly, I'm learning where to look for what. Thanks again for your help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882203#3882203 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882203 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - requiring SSL for non-servlet/non-EJB JSE
JBoss 4.0.2 Tomcat 5.5 Java 1.5.0 Update3 I've got SSL working on my server, and I can access my web service via http or https. I only want my service to be accessable via https. How can I require an https connection to a java service endpoint? It seems it cannot be done within the endpoint class since I don't have access to the HttpServletRequest, and I cannot add a element in a jboss.xml file like I could if it was an EJB. Is there some entry in the myriad of configuration files needed for a web service that will require an HTTPS connection for a JSE? Many thanks in advance, DR View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882192#3882192 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882192 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: making a redeployable .war or .ear
"[EMAIL PROTECTED]" wrote : You don't deploy a webapp to a specific port, you deploy it to tomcat. If the service endpoint address in the wsdl starts with 'https://' then we use the 'WebServiceSecurePort' to rewrite the address Thanks for the quick reply. What I should have said is, I can get JBoss to put a service endpoint address of 'http://myhost...' in the WSDL by making the modifications you suggested, but I'd like the URL in the WSDL to be 'https://myhost...' instead. I've got Tomcat setup with SSL, etc., I just need JBoss to publish that URL in the WSDL. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882174#3882174 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882174 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: making a redeployable .war or .ear
"[EMAIL PROTECTED]" wrote : Change WebServiceHost in ${jboss.server.deploy.dir}/jboss-ws4ee.sar/META-INF/jboss-service.xml | | | | | | jboss:service=WebService | | ${jboss.bind.address} | | 8443 | | 8080 | | org.jboss.webservice.server.InvokerProviderEJB | | org.jboss.webservice.server.InvokerProviderJSE | | | | When I did this JBoss deploys only to the WebServicePort. How do I get JBoss to deploy to the WebServiceSecurePort? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882169#3882169 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882169 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - log file purging
Just curious to know what other users of JBoss use to purge old log files. I have some Java code I've used in stand-alone apps to roll and purge old log files, but was wondering how other users are doing it in JBoss. I suspect chron jobs on *nix and scheduled batch files on Windows. I'm still surprised log4j hasn't built in support for purging old log files... Any ideas or examples of log file rolling and purging would be appreciated. (I know log4j has support for rolling files, so no need to point that out.) Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878935#3878935 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878935 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - TCLFilter
I read the Wiki page on logging (http://www.jboss.org/wiki/Wiki.jsp?page=Logging) and wanted to use the TCLFilter but could not get it to work. I used the sample log4j.xml config entries and the log file would be created but nothing was written to it. For the DeployURL I was using the name of my war file, which is not packaged in an ear. I tried various things, but the only thing that worked was removing the ".war" part of the file name for the DeployURL parameter. Once I did that, logging from my application was written to the file I specified. My question is, is the Wiki wrong, is the DeployURL supposed to be different for war's versus ear's, or am I just doing something wrong? My log4j.xml config snippet: | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874950#3874950 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874950 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: monitoring JBoss with What's Up
Just FYI - We've set What's Up to connect on port 8093 to monitor JBossMQ. It's been running for a few days and has not caused any problems. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833973#3833973 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833973 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: message distribution round-robining?
Just found the Submit a Feature Request page http://sourceforge.net/tracker/?func=add&group_id=22866&atid=376688. I guess I should use that! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833965#3833965 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833965 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: message distribution round-robining?
Thanks for the replies. By what method can I suggest this as a change to JBossMQ? I didn't want to enter it as a bug since it's not really a bug. I think it makes the most since to make this configurable somehow since for some apps the current message distribution may make sense and for others, round-robin makes sense. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833963#3833963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833963 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - message distribution round-robining?
I'm running 3.2.4RC2 in the HA configuration with MSSQL persistence on Windows 2000. Our messages are consumed by multi-threaded client apps running outside of JBoss. On each client, all threads share a connection, but each has its own session. I was seeing that all messages were being sent to one consumer when the queue depth was <= 1, but they would be sent to multiple consumers if there happened to be more than one message in the queue at once. This is not really a problem, but I was expecting the messages to be round-robin'd to all consumers. I read the thread specified here... http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48400 ... and went ahead and modified BasicQueue.java to use an ArrayList for the receivers. That seems to have solved my "problem" by round-robining the messages to the various threads and their queue sessions. My question is - are there any plans to make the round-robin message delivery functionality the standard algorithm? Or at least make this an optional configuration? Is it already possible to configure message delivery this way and I'm just missing it? Thanks, -DR View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833841#3833841 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833841 --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user