[EJB 3.0] - Re: Is there an equivalent of @RemoteBindings in jboss.xml
by sbivol
Thanks! I'll check it out.
The reason I'm asking is we may have customers that might want to use a different ssl port. While using deployment descriptor for binding the ssl jndi name to the url is a step forward (it will allow us to just repackage and redeploy the app, instead of recompiling the code), it would be nice if we would not need to even repackage the app for every customer that cannot use the port we come up by default. Is there a way to achieve this?
For example, the ssl-service.xml could be placed outside the ejb jar (or ear), into a jboss folder, or its content might be moved to jboss-service.xml, either under ejb3.deployer/META-INF or someplace else. That would allow our customer to change the connector port externally to our app. Then, in the ejb-jar/jboss.xml, if we could somehow default the binding url and port to the serverBindAddress and serverBindPort specified in the connector's config...
Would this be unreasonable or wrong?
Regards
Sergiu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982399#3982399
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982399
19Â years, 6Â months
[JBossWS] - Trouble accessing a simple webservice
by luismbo
Hello,
I've read the following documentation:
http://docs.jboss.org/jbossas/getting_started/v5/html/ws.html and
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS181HelloWorld
And (apparently) sucessfully deployed a simple webservice. Not quite successfully, though, since while JBoss tells me the webservice is deployed:
14:53:40,734 INFO [TomcatDeployer] deploy, ctxPath=/bqx, warUrl=.../tmp/deploy/tmp26274bqx-exp.war/
14:53:40,993 INFO [WSDLFilePublisher] WSDL published to: file:/Users/luis/Software/jboss-4.0.4.GA/server/default/data/wsdl/bqx.war/BQXWS26275.wsdl
14:53:41,030 INFO [ServiceEndpointManager] WebService started: http://pomajxego:8080/bqx/BQXWS
... I can't seem to access it:
14:55:23,874 ERROR [[BQXWS]] Servlet.service() for servlet BQXWS threw exception
org.jboss.util.NotImplementedException: HTTP GET not supported
at org.jboss.ws.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:95)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
I've pasted the code for the WS and the client here:
http://pastebin.ca/232793
I'm guessing that the annotation magic should be generating a doGet method but for some reason isn't. Any idea what I'm doing wrong? Any help will be appreciated!
(BTW, as you'll see in that code, my webmethod is returning XML data in a String. I have the feeling that there must be a better way, tips regarding that will be welcome too!)
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982397#3982397
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982397
19Â years, 6Â months
[Installation, Configuration & Deployment] - 4.0.5 GA bluescreens
by therockhopper
Today I installed via the webstart installer. I selected C:\jboss-4.0.5.GA instead of the default under Program Files (why is that the default when your docs say don't use a directory with spaces in the name?).
I chose All and accepted all the defaults on the succeeding pages.
When I execute run.bat it causes a system crash and I'm getting a bluescreen.
My environment:
Ant 1.6.5
Sun JDK 1.5.0_08
Windows XP sp2
Two gigs of RAM
tomcat 5.5, websphere 6, weblogic, glassfish all start up, deploy and run just fine.
This is the error sent on reboot to Microsoft:
Error signature:
BCCode : 100000c5 BCP1 : 3D796170 BCP2 : 00000002 BCP3 : 00000001
BCP4 : 805446F3 OSVer : 5_1_2600 SP : 2_0 Product : 256_1
The last few lines of server.log:
2006-11-01 09:41:45,390 DEBUG [org.jboss.deployment.MainDeployer] Watching new
file: file:/C:/jboss-4.0.5.GA/server/default/deploy/jdbc-metadata-service.xml
2006-11-01 09:41:45,390 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment
file:/C:/jboss-4.0.5.GA/server/default/deploy/jdbc-metadata-service.xml
2006-11-01 09:41:45,390 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, create step: url file:/C:/jboss-4.0
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982395#3982395
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982395
19Â years, 6Â months