[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Roadmap for 2.0
I concur. Can we please have the roadmap for version 2.0? The wiki only has the details up to 1.5, which is now a bit old. In the runup to the Eclipse 3.2 Calisto release at the end of June, and the new Web Tool Project release with JSF support, it'd sure be nice to know how JBoss IDE is going to integrate with all of this. If nothing else, can we please have nightlies posted in the downloads section - surely Gump, Anthill, CruiseControl or something else could put them there for us to have a go with. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943809#3943809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943809 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: XDoclet Error
Whenever you see the 'major.minor version' error it means that you have incompatible JVMs. Chances are that you've not set up your project to use JDK 1.5, and XDoclet is set to use 1.4, or something of that sort. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908189#3908189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908189 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: JBoss 3.0.7 jboss-net activation problem
Roman, I vaguely remember something like this being a problem if the jboss-service.xml file was edited in Notepad or something like that. Open it in xemacs or something similar which will show 'blank' characters before the http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893764#3893764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893764 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: JBoss 3.0.7 jboss-net problem
Roman, go see the reply in your beginners thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893530#3893530 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893531#3893531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893531 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss 3.0.7 jboss-net new web service
Roman, based on your thread in the jboss-net forum http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893528#3893528, I'm assuming that you've not seen this http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-netGuide.shtml web page with details of how to implement jboss-net under jboss-3.0.x. Follow the details there, and then go through the HelloWorld examples for jboss-net, and it should work ok. Bruce View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893530#3893530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893530 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Error while deploying web service
Praneeth, two things. First, you might want to go into the log4j.xml file under the conf directory and change the org.jboss.axis setting from 'info' to 'debug'. However, this will give you LOTS of messages, but may be what you need to see why your app isn't working. Second, it could be that you've not called the Adobe Policy Server correctly. Can you run the code (assuming that it's a POJO) outwith the webservice ok? I've not used this before, so I'm just speculating on what I'd do. Good luck. Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891761#3891761 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891761 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Error while deploying web service
Praneeth, I downloaded jboss-3.2.5 and tried the code in my example against the downloaded code and it worked fine. I can only think that you might've also changed the version of Axis that you're using, or something else, and that this is interfering with your running of the app. cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890784#3890784 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890784 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Error while deploying web service
Hi, are you using JDK1.4 or 1.5? and are there any other details that you can give me? I've not tried that practical against 3.2.5, but will do so today and let you know how it goes. cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890737#3890737 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890737 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: NUll when consmuing JBoss service with .Net client
Did you generate stubs, etc from the WSDL with the .NET service? I did this for a doc-lit service, and was able to acquire the objects without any hassle. Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883190#3883190 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883190 --- 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: Can't find serializer...
kanno, you probably need to put the class files generated by wscompile from your WSDL file under the WEB-INF/classes directory of the war that you've deployed your WS in. (Or under the META-INF/classes if you've used a jar with a SLSB). Basically the error message mean the service can't find your classes, and you need to put them in the usual place. Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881079#3881079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881079 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Deploy Web service in JBoss
Hi, once you have the war file, then you just deploy it the same as any other war file. Watch the server log for any error messages, and fix accordingly. Go back to the Wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWS for more details or search the forums. Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880193#3880193 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880193 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: org.jboss.axis.ConfigurationException: No engine configu
Hello, you need to do the following I think. If you're just wanting to connect plain ordinary Java objects (POJO) JAX-RPC stub derived clients to web services deployed under JBossWS, then you need to take the axis-client-config.xml file from under jboss/server/default/deploy/jboss-ws4ee.sar/META-INF and place it in the directory from which your client will be run, and rename it to the default name that axis uses, client-config.wsdd. If you don't do this, then you will receive an error message complaining about axis not finding 'No engine configuration file'. This is because when you run wsdl2java, it uses the org.apache.axis.client.Service class, which then looks for a configuration file. Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879753#3879753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879753 --- 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] [JBossWS] - Re: Client can?t connect to webservice
Hello, It sounds like you might have done this already, but, just in case, you diddn't If you're just wanting to connect plain ordinary Java objects (POJO) JAX-RPC stub derived clients to web services deployed under JBossWS, then you need to take the axis-client-config.xml file from under jboss/server/default/deploy/jboss-ws4ee.sar/META-INF and place it in the directory from which your client will be run, and rename it to the default name that axis uses, client-config.wsdd. If you don't do this, then you will receive an error message complaining about axis not finding 'No engine configuration file'. This is because when you run wsdl2java, it uses the org.apache.axis.client.Service class, which then looks for a configuration file. Also, make sure, of course, that this file is on the classpath. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879751#3879751 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879751 --- 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] [JBossWS] - Re: Failed to deploy Java WSDP 1.5 web sevice on JBoss 3.2.5
You imply that you've deployed JSWDP 1.5 on JBoss, but don't give the details. I'm assuming that you've probably forgotten to put a jar in the correct location. You probably need to copy the appropriate jars into the correct location, either under a 'war' directory in the deploy directory, or make sure that the jars are in the default/lib directory. Did you already do this? Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879509#3879509 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879509 --- 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] [JBossWS] - Re: could not find deserializer for type
Just as a followup in case others need to work this out later. I figured that I should say what I found the problem to be. Too many ingredients getting in the way, as I suspected. The app has Jade agents, RDF, and other bits and pieces too. I just needed to sort out what was getting in the way of the web services and then ensure that the RDF construction happened clearly on the correct side of the service before putting the triples into strings as part of objects. The problem was that the error messages were not coming through, even when jars were not on the classpath, as also turned out to be the case, or were outdated ones, as also was the case. The interesting thing is that the whole thing worked rather well as an RPC-literal example, but fell to pieces as soon as I tried to put it into a doc-lit version. I guess the RPC is more forgiving, than the doc lit, and that it needs to be put together with more thought and attention than I was giving it. In case anyone is wondering how JBoss works with all of these, then the answer is 'brilliantly'. It rocks! cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877896#3877896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877896 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: .NET calling WebService
Hi, here's the example as mentioned. It calls a basic hello world service, which returns a Person object with their name and age. First, use wsdl.exe, which I call from a bat file, and which generates the appropriate cs file for me, which I then use in the client. anonymous wrote : \..\..\Progra~1\Microsoft.NET\SDK\v1.1\Bin\wsdl /out:ws4eeProxy.cs http://localhost:8080/simple-ws4ee/exactpath/jse?wsdl Second, the client cs file, which you can see makes use of the generated objects. anonymous wrote : using System; | | namespace ws4ee | { | class MainClass | { | public static void Main(string[] args) | { | Console.WriteLine("ws4ee doc lit from jboss!"); | HelloService ap = new ws4ee.HelloService(); | | Person p = new Person(); | string s = "bill"; | getHelloWorld ghw = new getHelloWorld(); | ghw.String_1 = s; | getHelloWorldResponse ghwr = new getHelloWorldResponse(); | ghwr = (getHelloWorldResponse)ap.getHelloWorld(ghw); | p = ghwr.result; | Console.WriteLine(p.age + " " + p.name); | } | } | } | That's all there is to it, and you then have your returned object to do with as you please. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877459#3877459 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877459 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: .NET calling WebService
Jason, assuming that you are using the .NET SDK 1.1 Framework, then you can use the wsdl.exe tool under C:/program files/microsoft.net/sdk/v.1.1/bin to generate the appropriate c# classes, which you then need to make use of. You can find out more in the sdk help files too, but you basically point it at the wsdl file, and away it goes. I'm on the wrong computer just now to post the example, but you end up doing some convaluted bits to call the generated classes. I'll post an example tomorrow. Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877388#3877388 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877388 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Thomas, thanks for pointing out the samples. Anyways, I'm slowly working out more on this problem. I switched to 4.0.2, and got a doc lit war version with a servlet working ok, and have also got a jar version with a simpler doc lit EJB version working ok. Therefore, I suspect that the problem lies somewhere amongst a classpath issue in my application. The app builds ok, and deploys the WS ok, generating the wsdd and wsdl under the data directory. However, when I try to call the wsdl from a client, I get a StackOverflow error in the console, plus client reports no root in the wsdl document. A check of the wsdl in the data directory shows that it is ok. Does this mean that it is rebuilt everytime it is called, or was it just poorly retrieved by the client? I'll try it again with a different client to see if I can get more feedback on the error message. Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877385#3877385 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877385 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - could not find deserializer for type
Hi all, I'm trying to get a document literal ws working on 4.0.2-rc1. The app deploys ok, and I can grab the wsdl using Eclipse web service explorer, but get a 'could not find deserializer for type' error when I try to call a method. This app uses complex-types to serialize and deserialize the classes, and I'm not sure that I got them in the correct location, or if something else is going wrong here. I'm using a SLSB to provide the service and use wscompile to generate the deployment descriptors. I've got the wscompile generated classes under META-INF/wsdl next to the wsdl file. I tried putting them with the other classes, but then the wsdl file doesn't deploy, so that seemed wrong too. Strange, but I couldn't find anything on packaging up one of these web service type of apps. I suppose the other thing I should say is that I had it all working with RPC literal, but figured for interoperability (banging head against wall trying to retrieve soap objects with c#) the doc lit version might offer a better version. TIA, Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876589#3876589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876589 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Web Services course using JBoss/Axis
Glenn, look at my course on Enterprise Programming, which admittedly covers more than just web services, but give you an idea of what can be done. The lectures aren't available, but you can see the practicals, which follow the subjects in the same order. As you're focusing on web services, you could also go into the whole uddi aspect, which should be in the next version of jboss too, so that you can do automated discovery. Since I ran this course, I think it needs to be tidied up to use more of the Sun wscompile tools, instead of relying so much on xdoclet, which when I did it was still being developed to handle J2EE 1.4 web services. Email me directly if you want to know anything else. Good luck, it should be fun. cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867253#3867253 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867253 --- 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: I can't start JBoss 4.0.1 from Eclipse 3.0.1 with Lomboz
Nalbion, you need to amend the server.xml file to remove one instance of the problem jar, and keep repeating the process until all errors are gone. Fabio, if I understand you correctly, then you've placed the new hibernate and xdoclet jars in the plugin, in order to bring them uptodate. If so, then you need to also change the listed jars in the plugin.xml file, so that it uses the new jars. This should also let you use the new tags that you mention. Good luck! Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862354#3862354 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862354 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: I can't start JBoss 4.0.1 from Eclipse 3.0.1 with Lomboz
Hi, check the error log of Eclipse. It will probably tell you what jar file (or class) it is missing from its classpath. You can either find it in the /eclipse/.metadata/.log file, or, if I remember correctly, it also shows up in the 'error' window from Window->Show->Other menu. Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861906#3861906 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861906 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: HTTP Proxy Configuration
You need to add something like this to the startup script of jboss: rem Setup JBoss sepecific properties set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% set JAVA_OPTS=-Daxis.enableListQuery=true -Dhttp.proxyHost="server.mydomain.ac.uk" -Dhttp.proxyPort="8080" -Dhttp.proxyUser="username" -Dhttp.proxyPassword="password" %JAVA_OPTS% set JBOSS_HOME=%DIRNAME%\.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858202#3858202 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858202 --- 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://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Hello World
You can use the build file, etc from my practical page here to get you going. The second example uses xdoclet and eclipse. http://www.csd.abdn.ac.uk/~bscharla/teaching/CS5302/practicals/practical9.shtml Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846894#3846894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846894 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - jboss-4.0-rc1 and ws4ee
Hi all, I'm working on trying to get some simple jaxrpc examples going using the integrated axis-1.1 under jboss-ws4ee.sar, and find that my generated wsdl files don't match the one generated by axis from the http://localhost:8080/ws4ee/services wsdl link. Nor does it seem that the jaxrpc servlet is set up to run. Is there any chance that this will be fixed for the next release? cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844660#3844660 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844660 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: a problem of Jena ontology model in JSP
Xi, you need to do two things: a) turn off the 'error.htm' setting in the web.xml file so that you get the full stack trace of what's going wrong when you load the page. You could also find out what's going wrong by looking at the log file. b) did you add the jena.jar to the WEB-INF/lib directory of the application, or put it under the jboss/server/default/lib directory? c) check out the jena users list at http://groups.yahoo.com/group/jena-dev/ cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843237#3843237 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843237 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [JBoss.NET & SOAP] - get rid of jboss-net/service and just have url have my given
acxsjones wrote: I am using jboss-net for webservices. I would like to make the url simple and not contain jboss-net or service. I can map service in the web.xml to a prefix of my own. But how do I tell JBoss to not require jboss-net in the url. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839148#3839148 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839148 I haven't tried this, but suspect that you just need to rename the jboss-net.sar directory, and the jboss-net.war directory within it. There might be one other config file that also needs changing, but that's what I'd start with. -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [JBoss Getting Started Documentation] - Re: jboss and junit testing
rogerday wrote: "darranl" wrote : Have you looked at Cactus? I have now, thanks. However, it doesn't do Message Driven Beans - which is precisely what I'm trying to do. I notice the webpage says that it's a "medium term goal" to support MDB, so I think I'm out of luck with cactus unless you know different. Cheers, Roger View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838124#3838124 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838124 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user Roger, this question came up on the cactus mail list a few weeks ago. You might find your answer in its mail archive: http://www.mail-archive.com/cactus-user%40jakarta.apache.org/ As I remember it the solution was to use a mixture of junit and cactus tests, and to check out a chapter in Junit in action, which covers the scenario. -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Installation & Configuration] - Making Apache work with JBoss
dorgad wrote: Hi, Im a little new to this, but can anybody tell me how to make apache http server work with jboss. If someone can point me to some documentation on this or give me any clues, it would be great. Thanks allot, Dor View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834721#3834721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834721 --- 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 look at this page for a number of links: http://www.pubbitch.org/jboss/ -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Beginners Corner] - JBoss can't compile jmx-console after deploying Cocoon
pingles wrote: I've played around a little more and have the problem somewhat consistently appearing. If I install the JBoss binary installation and then start the server using run.sh I can successfully browse to http://machine:8080/jmx-console/ or web-console to view the applications. However, if I then deploy the Cocoon war file the server then falls over when I open the same applications. However, if I open up Cocoon it works fine. Looking at the Java stack trace on the server, it seems to originate from JasperException, saying Error occurred at line: -1 in the jsp file: null. Scrolling up through the log there is a java.io.IOException: cannot allocate memory. This occurs within the log for various JSPs. It oughtn't be running out of memory, I've upped it to set the maximum heap size to over 128meg. I was wondering if anyone could suggest why it would seem to work with Cocoon, but as soon as I copy over the Cocoon war it falls over. Thanks again, Paul View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834525#3834525 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834525 --- 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 Pingles, Error occurred at line: -1 in the jsp file: null. usually comes up when there is a messed up classpath problem and the jsp can't compile. I've set up jboss using cocoon as an 'exploded war' file so that other apps could be put under it and they always worked fine, even when other apps in the deploy directory didn't. Check that nothing else has been dumped in the deploy directory to mess up the classpath. My problem was students dumping all of their source code into it, instead of just the war files. Agghhh! -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Using Torque and JBoss
I hope that you've sorted this out by now. However, assuming that someone else will come along and wnat to know the answer, here's what I found when I recently integrated Torque into a web app running on JBoss. First, you need to put the torque jars (torque/lib) under server/default/lib so that they are available. Second, you need to import the torque.properties file into your app so that all of its paramaters are available to the servlet/JSP. Third, you need to load said file into the page, before you can call the torque classes. I've put the details into a Torque and JBoss page which explains it all. cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834598#3834598 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834598 --- 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] webdav and distributed deployment directories
Hi all, I'm trying to set up jboss to scan a number of distributed directories such as http://www.server.com/jboss/ (running apache) but find a number of problems. If I leave it as above, then I get an error about a lost org/apache/webdav class. If I specify the war file, then it isn't found. So... a) does webdav need to be set up on the apache server hosting the apps to be deployed? b) do specified apps need to be ear files? Thanks in advance! -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: JBoss.NET Examples
You can find the uptodate examples at: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml for the simple one, and and more complex ejb one here: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-EJB-example.shtml Also, you can find the xdoclet version of the ejb one here (but this will probably move to somewhere alongside the other two examples in the future) http://www.csd.abdn.ac.uk/~bscharla/teaching/CS5302/practicals/practical9.shtml Hope you find them useful. cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822826#3822826 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822826 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [JBoss Getting Started Documentation] - Error: jboss.net:service=Axis state Failed
dppsp wrote: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821401#3821401 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821401 Hello, I've had some problems to start the jboss. When I've started, I've received this message: MBeans waiting for other MBeans: [ObjectName: jboss.net:service=Axis state: FAILED I Depend On: Depends On Me: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException] It's some jar files? Because of this I can't work with web service. Can anybody help me/ Thanks all Daniel Daniel, make sure that you have the jboss-net.sar directory in your deploy directory. Depending upon the version that you're using, it may not be under 'default' and you may need to move it from the 'all' server, plus any relevant jars that are under the 'lib' directory. A quick glance at my setup didn't show any soap related ones under 'lib' though. -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [JBoss Getting Started Documentation] - Creating wsr
dppsp wrote: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821198#3821198 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821198 Hello people, I've found many problems to create a wsr file. I have the follow structure: -wstest --- src --- shr --class1.java --class2.java --- srv --class11.java -WEB-INF --- web.xml --- jboss-web.xml How can I create a wsr file and where can I copy this file? Somebody can help me, please. Or if you prefer show me througth builxml file. Thank you very Hello, go to the jboss project pages for jboss.net and look through the tutorials there: http://www.jboss.org/developers/projects/jboss/dotnet Some of the one's I've done go through this step. -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-net sample
Stefan Groschupf wrote: Hi jboss-net guys, where i have to search for a jboss-net example project? Thanks a lot for a hint! Stefan open technology: http://www.media-style.com open source: http://www.weta-group.net open discussion:http://www.text-mining.org --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user Stefan, look at the jboss.net project pages at http://www.jboss.org/developers/projects/jboss/dotnet you'll find this points to a few examples, which should get you going. There is also a variation on the ejb example at http://www.csd.abdn.ac.uk/~bscharla/teaching/CS5302/practicals/practical9.shtml that incorporates Neal's stuff about xdoclet. I just haven't had chance to make a formal page about it yet. -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [JBoss.NET & SOAP] - JBossNET: method with argument
formenti wrote: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820343#3820343 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820343 Hallo! I write a session bean exposed as a web service with JBoss.NET and XDoclet... If i try to call a test() method (it return a String) all is right! But if I try to call a method with a String parameter like test2(String test) it doesn't work! :( The error is: java.lang.NoClassDefFoundError at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:326) at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233) Any idea?! Gio Gio, the obvious question is, have you put a test2(string test) method in your session bean and then also put this into the web-service.xml file? Or, rather put in the xdoclet tags to expose it as a web service? -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] WebServices in Axis
Maffeo Gaetano wrote: Hi all, it could be stupid but i asked you the same How can I pass a "String [] " to a webservices? And How can i get the returned "bean class" from the service? many thanks for any response gaetano Gaetano, look at the jboss-net project pages on the jboss website for some tutorials and examples. http://www.jboss.org/developers/projects/jboss/dotnet -- cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss/WebServices
At 16:45 02/09/2003 -0400, you wrote: Hi, All: Can anyone recommend some really good resources to get some strong knowledge of exposing J2ee app functionality using web services via JBoss? Thanks, John Curley John, check out these links to get going: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-EJB-example.shtml http://www.nsdev.org/jboss/stories/jboss-net.html cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] multiple instances of jboss on one server
At 14:02 18/08/2003 +0100, you wrote: The -c option is only really intended for configs in the jboss distribution. You should use -Djboss.home.dir=whatver For the ports, investigate the binding service. Regards, Adrian Adrian, thanks for that. It works now. I did have to amend the run.sh file to include all of the jars under jboss_home/lib as part of the jboss_startup_classpath, and then it worked. Now, as you say I need to work out something for the ports. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] Open Day 2003 - Tuesday 26th August For more details see: http://www.abdn.ac.uk/openday --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] multiple instances of jboss on one server
Hi all, I though I'd had this sorted before, but it doesn't seem to work now. I've put one copy of jboss-3.2.1 in one location of a solaris server, say /local/jboss-3.2.1 this has everything BUT the server directory itself. It has full r+w+x permissions. The server/default directory is under /home/userx/server/default. I used to be able to start such a server from the jboss-3.2.1/bin directory with a run.sh -c /home/userx/server/default command and simultaneously, someone else could run the server with run.sh -c /home/usery/server/default. Now, when I do it I get errors because the server can't find or open jboss-service.xml. This also works with windows when you use run -c ..\..\..\..server\default. The only catch of course is to ensure that people don't use each other's ports. My goal is to set this up so that anyone can come and use the install of jboss without having to set up the port bindings in advance, as most of the time it will work ok as there are only a few of us who use jboss regularly. The benefit comes in when it's used in classes and we then hand out the 'server' part to students and most of the heavy stuff doesn't need to sit in their directories and use up their workspace. Any clues and suggestions appreciated. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] Open Day 2003 - Tuesday 26th August For more details see: http://www.abdn.ac.uk/openday --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] SOAP Integration in JBoss 3.0
At 11:26 18/06/2003 +0200, you wrote: Hi, I'm using Jboss3.0 and I need to integrate SOAP. I have done my program simply using and configuring Tomcat, without running JBoss. What should I do with mail.jar, activation.jar, xerces.jar and soap.jar to make SOAP works inside Jboss ? Thanks in advanced. -- == Mr Maxime CHAMBREUIL Eng student in Information System Eng Dpt http://www.maxime-chambreuil.fr.st F113, 13, Av de la Mare aux Daims 76800 St ETIENNE du ROUVRAY FRANCE == Maxime, two things. First, you probably really don't want to use Apache SOAP, but would be better off using Apache AXIS, which is basically Apache SOAP v. 3, ie a complete re-write of the older Apache SOAP. Axis has lots of features, which Apache Soap will never have, ie WSDL, etc. Second, you'll find that Axis is already included in your jboss version in the 'all' server configuration. It is part of the jboss-net project. You need to make a few changes as detailed here: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-netGuide.shtml#modifyJbossTomcat cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] Open Day 2003 - Tuesday 26th August For more details see: http://www.abdn.ac.uk/openday --- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Had the Pay-For Documentation Been updated for 3.2?
At 15:44 04/06/2003 -0400, you wrote: http://www.componentsource.com/Search.asp?SC=EJBOS&Browse=Y&GroupType=5&gc=JBOSSG&GroupDesc=JBoss+Group -Daniel Finn, Michael wrote: I don't see the 3.2 stuff either - just 3.0.7 (we have a subscription and I can't find it). In fact, like Bob, I can't even find JBoss on componentsource at all. Search for JBoss, and browse by product name turn up nothing - only the JBoss deployer plugin for ControlCenter. Can some pass on the link? Mike Folks, when I asked about this last week I was told that it would be out next month. Also, when I looked through componentsource, it took me a little while to realise that you won't find JBoss stuff there directly as it deals with software NOT books, etc. The books seem only findable via the jboss.org site. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Security help please!
At 07:56 30/05/2003 -0700, you wrote: Yes, CS has the updated subscription content. Scott Stark Chief Technology Officer JBoss Group, LLC On Thu, 29 May 2003 14:28:15 -0400 "Xu, Xiangdong" <[EMAIL PROTECTED]> wrote: Scott, Is 3.2.1 docs available from ComponentSource? Last update for my annual subscription is still for 3.0.7. thanks, -xiangdong Scott, can you have the web site fixed so that we can select the 3.2.1 version of the dmin and development book, as it only shows the 3.0.7 version being available. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Web Services - Jboss-NET on Jboss3.0.0with TOmcat4.0.3
At 16:13 24/03/2003 +0530, you wrote: Hello All I am trying to launch a web service from the JBOSS-NET as bundled in Jboss 3.0.0 with Tomcat 4.0.3 I understand this is an older version of AXIS it works with. I did download an older version of AXIS And have configured jboss-net.sar file under default/deploy directory to work with the Embedded Catalina container. Now I am in a stage where the deployed services of AXIS,, and Embedded Catalina SX services are all Visible from the 8082 port as services. However when I try to run http://localhost:8080/axis/AxisServlet Then it complains saying that "Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request" For a typical web application we have servlet-mapping tag in web.xml. Am I missing something here. Do I still need to package AXIS as a war file in addition to the .SAR file as above.? Any pointers to above would help. Any success from people having configured Jboss-net web service Will be helpful. Especialy on this combination jboss 3.0.0 with tomcat 4.0.3 Or what is the stable version (the same combination jboss+ tomcat) which will relieve of the pain of the All the roundabouts of older version of AXIS etc. I am really stuck ..and would appreciate a quick response.. Thanks.. -Srinivas P Srinivas, you need do do these steps: MODIFY JBOSS-3.0.x_TOMCAT-4.0.x You can download a copy of the current jboss-tomcat binary bundle from JBoss and then amend the jboss-net.sar file to work correctly. By default it is set up to work with Jetty, so you need to make some changes. I got it going by doing this: 1) go to server/all/deploy and rename jboss-net.sar to jboss-net-temp.sar 2) create new directory called jboss-net.sar 3) unpack contents of jboss-net-temp.sar file into jboss-net.sar directory 4) delete jboss-net-temp.sar file, or you will end up with errors when you restart jboss. 5) edit jboss-service.xml file under the META-INF directory and change the depends line so that it reads: jboss.web:service=EmbeddedCatalinaSX (it will orginally say JBossWeb, but you want it to say EmbeddedCatalinaSX) Now start jboss with the -c all flag so that you use the server. You'll find Jboss-net under http://localhost:8080/axis/*/services The JBoss-3.0.x distros use axis-beta1, so you need to code against that API. You'll also find a simple tutorial code here: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: [JBoss-dev] JBoss-IDE 1.0.3 released !
At 09:28 12/03/2003 +0100, you wrote: JBoss-IDE 1.0.3 is a maintenance release. The changes apply to bugs in the XDoclet code assist. You DON'T need to download directly from sourceforge as we now use the Install/Update Manager from Eclipse (very much recommended). Even if you have installed the earlier versions manually you can update them with the Install/Update Manager. See the releasenotes: https://sourceforge.net/project/shownotes.php?group_id=22866&release_id=145804 Enjoy Hans Hans, great work! Only one trivial thing. How do I get back the modified splashscreen with the cool rocket that was on the earlier versions of jboss-ide? Can I put in a request that you have the plugin swap itself with the default eclipse one, or at least let it be configurable from window->preferences and the plugin configuration. cheers, Bruce --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss-4 and cactus problem
At 10:12 23/01/2003 -0600, you wrote: i've had the exact same error and it took me forever to figure out. for some reason when cactus runs, you NEED a port number for it to work correctly. setup your cactus.properties file to use a port number and you'll be fine. if you're running off the default web server port, use port 80. instead of: cactus.contextURL=http://localhost/myApp use: cactus.contextURL=http://localhost:80/myApp Ryan, indeed. This turned out to be the problem. I hadn't realised that my cactus.properties file was being read. I downloaded the latest nightly build of cactus and that gave me a clearer error, and fixed the port number and voila it worked! Very cool. Now I only need to sort out an expanded example and the classes can go ahead. Thanks! cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss-4 and cactus problem
Hi all, I've been digging further into Ant and am trying to get cactus to work with jboss-4+tomcat, but am getting a strange error about 'port out of range:-1' and wondered if anyone else has experienced this problem. I'm using jakarta-cactus-13-1.4b1 and ant-1.5 on winXP. Bruce cactus-tests: [runservertests] log4j:WARN No appenders could be found for logger (org.apache.cactus.util.JUnitVersionHelper). [runservertests] log4j:WARN Please initialize the log4j system properly. [junit] Running uk.ac.abdn.csd.mtp.ant.web.TestfirstAntServlet [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.691 sec [junit] Testsuite: uk.ac.abdn.csd.mtp.ant.web.TestfirstAntServlet [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.691 sec [junit] Testcase: testReadServletOutputStream took 0.671 sec [junit] Caused an ERROR [junit] port out of range:-1 [junit] java.lang.IllegalArgumentException: port out of range:-1 [junit] at java.net.InetSocketAddress.(InetSocketAddress.java:103) [junit] at java.net.Socket.(Socket.java:119) [junit] at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:309) [junit] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:314) [junit] at org.apache.cactus.client.HttpClientConnectionHelper.dispatch24_connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):163) [junit] at org.apache.cactus.client.HttpClientConnectionHelper.around24_connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):1218) [junit] at org.apache.cactus.client.HttpClientConnectionHelper.connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):105) [junit] at org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):186) [junit] at org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):109) [junit] at org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):1218) [junit] at org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):104) [junit] at org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.java:260) [junit] at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133) [junit] at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195) [junit] at org.apache.cactus.ant.RunServerTestsTask.callTests(Unknown Source) [junit] at org.apache.cactus.ant.RunServerTestsTask.execute(Unknown Source) [junit] Testcase: testReadServletOutputStream BUILD FAILED cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss.net xdoclet generation of web-service.xml
At 11:29 15/01/2003 +, you wrote: Hi, I have a problem generating the web-service.xml using the xdoclet+xjavadoc jar files from sourceforge. The process correctly generates all interfaces and deployment descriptor except for the web-service.xml file. I've included the entries from both the Ant build file and Bean source code. Am I missing a tag . Bean /** * * @ejb:bean name="Hello" * jndi-name="Hello" * type="Stateless" * view-type="both" * @ejb:interface generate="local,remote" * * @ejb:ejb-ref ejb-name="Hello" * view-type="local" * ref-name="Hello" * @ejb:transaction type="Required" * @ejb:transaction-type type="Container" * * @jboss-net:web-service urn="Hello" *expose-all="true" * */ ANT sourcepath="${src.dir}/main/src/" destdir="${generated.java.dir}" classpath ="${classpath}" ejbspec="2.0" force="true"> Cheers TC Technology Tel: 020 7574 8880 (ext 48120) Fax: 020 7574 8120 E-mail: [EMAIL PROTECTED] HBOS Treasury Services plc 33 Old Broad Street London EC2N 1HZ Tony, I believe you need to add the JBossNetSubTask to the jboss xdoclet modules. I've not done this yet myself, but should be soon. Even better I found an old email on this from Jason Essington on this from a while back last December 11th. He said that you need to build jboss.net, then you can use the appropriate jar which you find at: The appropriate jar built in the jboss.net module and after a build is located at: /jboss-head/jboss.net/output/lib/xdoclet-module-jboss-net.jar Then you can use it like this: the subtask will be included in the xdoclet-jboss-module.jar file. the supported tags for session beans look something like: Class Level Tag * @jboss-net.web-service * urn="MyServiceName" * expose-all="true" * * @jboss-net.authentication * domain="SomeSecurityDomain" * * @jboss-net.authorization * domain="SomeSecurityDomain" * allowed-roles="niceGuy,niceGirl" * denied-roles="badHax0r" Method level tag * @jboss-net.web-method Entity beans have a class tag that look something like: * @jboss-net.xml-schema * urn="SomeURN" * data-object="true" If data-object="true" is used then the bean's data object is serialized rather than the entity bean itself. hope this helps -jason cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] error deploying wsr -- resolution
At 17:41 13/12/2002 -0500, you wrote: All of my errors seemed to be linked to: - not listing the fully-qualified classname in my web-service.xml - using * in the allowedMethods tag. After changing these in the web-service.xml file, I am able to view http://localhost:8080/jboss-net/servlet/AxisServlet and my service creates wsdl. Glad to hear it's sorted. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] error deploying wsr
At 13:59 12/12/2002 -0500, you wrote: Hi, I have a simple session bean that I would like to deploy as a web service. The bean deploys fine, and passes my client unit tests. I have a web-service.xml file in a wsr with the following structure: tamalemqadmin.wsr/ META-INF/ web-service.xml I am running jboss4.0.0alpha on jdk1.4.1. When I start jboss, it gives me a confirmation that the wsr is deployed. However, when I point my browser to <http://localhost:8080/jboss-net/servlet/AxisServlet>http://localhost:8080/jboss-net/servlet/AxisServlet I get the error listed below. Can anyone see where my mistake is? Thanks, fawce Fawce, a silly question, but does jboss-net come up ok when you go to http://localhost:8080/jboss-net/index.html? Does the basic work ok? in other words. Assuming that it does, then go through the tutorial, which I see you tried in your email to the jboss-dev list. It should work, if you have everything else set up ok. I assumes that you're using jboss-4.0 alpha, which I see you are. The other thing is that you should be able to go to your resource and get it's wsdl file once it's deployed, to find if you've called the right service, etc. That would be: http://localhost:8080/jboss-net/services/?wsdl cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] WebService Problem - Unable to view WSDL
At 18:34 11/11/2002 +0530, you wrote: Hi Guys, I have deployed a webservice onto JBoss-3.0.2. The web-service.xml file looks like this , http://xml.apache.org/axis/wsdd/"; xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"; targetNamespace="http://net.jboss.org/nEngineApplicationServer"; xmlns:nEngineApplicationServer="http://net.jboss.org/nEngineApplicationServe r" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> nEngineApplicationServer nEngineApplicationServer I am unable to view the wsdl of the service when i do the following, http://localhost:8080/axis/services/nEngineService?wsdl It says that one particular entity bean has not been bound. But when i see the jmx-console that bean is listed in the JNDIVIEW Further more in the following link http://localhost:8080/axis/services?list i can distictly see my Service listed. You can also reach me at [EMAIL PROTECTED] Any ideas on this problem , Thanks in advance Dhiraj Ramakrishan I'm not sure, but would hazard a guess that the this is due to the version of jboss.net that you have. I found that some of the earlier one's would give me a wsdl for some apps, but not others. For example, I could get one for a simple wsr one, ie a service not included in a larger app, but could not get one for accessing an ejb. Maybe this is the same problem that you have. Try your service in a jboss-3.2 version and see if it's ok in that. Note, that this uses a different version of axis, so your code may need a bit of tweaking. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:scharlau@;csd.abdn.ac.uk --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss-net under jboss-3.0.3_tomcat-4.0.x
Christoph, quick question for you: which version of axis is used to build the jboss-3.0.x versions? I found that you can get jboss-net to work with tomcat under this version with a few changes: 1) go to server/all/deploy and rename jboss-net.sar to jboss-net-temp.sar 2) create new directory called jboss-net.sar 3) unpack contents of jboss-net-temp.sar file into jboss-net.sar directory 4) edit jboss-service.xml file under the META-INF directory and change the depends line so that it reads: jboss.web:service=EmbeddedCatalinaSX (it will orginally say JBossWeb I think, but you want it to say EmbeddedCatalinaSX) Now start jboss with the -c all flag so that you use the all structure. You'll find Jboss-net under http://localhost:8080/axis/*/services BUT, the method calls I used from the demos produced errors suggesting that I was using the wrong method calls. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:scharlau@;csd.abdn.ac.uk --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Build failed from CVS
At 07:03 05/11/2002 -0800, you wrote: C:\work\jboss-all\build>build Calling ..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger Buildfile: build.xml _buildmagic:init: Trying to override old definition of task property _buildmagic:init:local-properties: [copy] Copying 1 file to C:\work\jboss-all\build BUILD FAILED file:C:/work/jboss-all/build/../tools/etc/buildfragments/tools.ent:29: taskdef class xdoclet.modules .jmx.JMXDocletTask cannot be found Windows XP Pro, Patch Level One Jdk 1.4.1 Ant 1.5 Has anyone seen this error message before ? Thanks, Michael the tools.ent file mentioned looks for lib jars with this format: xdoclet/xdoclet.jar when it really wants them to be like this: xdoclet-xdoclet if you go through the file mentioned and do a search replace for '-' and switch them to '/' then it will build. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:scharlau@;csd.abdn.ac.uk --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss.net tutorial updates
Hi all, sorry this has been so slow in coming, but I'm sure you all know the story, so I won't elaborate ;-) Anyways, I've now amended the tutorials posted off of http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/ So there is a simple hello world version at: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml And a more complex version with a jsp page and an ejb at: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-EJB-example.shtml Please let me know if any of you have problems with these pages. Also, as soon as I can I'll put up a better binary, which also includes cocoon2 support. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:scharlau@;csd.abdn.ac.uk --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Simple Hello-World Webservice for 3.2?
At 18:33 21/10/2002 +0200, you wrote: Hi, does anyone have a very simple "Hello World" kind of webservice? I am currently somewhat stuck, starting with the fact that in 3.2 jboss.net is on /jboss-net and not on /axis as the documentation says. Also the admin servlet does not work here. Is there a property to turn on the listing of installed services? Thanks in advance Heiko -- Bancotec GmbH EMail: [EMAIL PROTECTED] Calwer Str. 33 Telefon: +49 711 222 992 0 D-70173 Stuttgart Telefax: +49 711 222 992 999 Heiko, I have a simple hello world type of example for jboss-net at: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml HOWEVER, this is based on a slightly older version of jboss-net, so will not work as is. I'm currently in the process of updating it sometime this week. Read the caveat carefully at the top of the page. You should be able to modify it alright. Otherwise, as I said, I'll be updating it shortly. You'll also find a link to an ejb example too. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:scharlau@;csd.abdn.ac.uk --- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss.net in cvs
At 08:36 11/09/2002 +0200, you wrote: >The "could not redeploy" problem was a bug that has been resolved in head. > >Backport to 3.2 follows this week. > >CGJ Christoph, I was weeding out some emails and came across this note of yours. It made me wonder about why the jboss-net.sar doesn't seem to work 'out of fhe box' with tomcat. Have you put all of the changes into all of the cvs builds? Or might there be something else missing in the other parts? I'm working with HEAD (jboss-all). Anyways, just a thought. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Deploying Cocoon 2.0.3 in JBoss 3.0.2 with Embedded Catalina 4.0. 4
At 15:54 19/09/2002 +0200, you wrote: >Hello, > >we are using cocoon with JBoss/Catalina. We have packed the cocoon.war file >into an .ear file to set the context-root to "/cocoon". >Everything works fine with 3.0.0/4.0.3 & JDK 1.3.1_03. > >Now we have upgraded JBoss/Catalina from 3.0.0/4.0.3 to 3.0.2/4.0.4. >Result: we cannot deploy Cocoon 2.0.3 anymore - worse: we cannot deploy our >enterprise-application using cocoon anymore. > >Stack Trace: >java.io.FileNotFoundException: >C:\MIDDLE_TIER\jboss-3.0.2_tomcat-4.0.4\bin\jndi:\localhost\sitemap.xmap >(Die Syntax für den Dateinamen, Verzeichnisnamen oder die >Datenträgerbezeichnung ist falsch) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:59) > at java.io.FileInputStream.(FileInputStream.java:90) > at >org.apache.cocoon.components.source.FileSource.getInputStream(FileSource.jav >a:140) > at >org.apache.cocoon.components.source.AbstractStreamSource.getInputSource(Abst >ractStreamSource.java:161) > at >org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat >eResource(ProgramGeneratorImpl.java:367) > at >org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR >esource(ProgramGeneratorImpl.java:333) > at >org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr >ogramGeneratorImpl.java:292) > at org.apache.cocoon.sitemap.Handler.run(Handler.java:265) > at java.lang.Thread.run(Thread.java:479) > >Any help would be appreciated. > >mfg > >Klaus Richarz & Andre Hegerath >Hamburger Berater Team GmbH >Hamburg, Germany Klaus, you need to do a bit of hacking around it seems to get this to work properly. I've found I need to build it from scratch in order to get it to work, and to add in a patch too. You can find my notes here: http://www.csd.abdn.ac.uk/%7Ebscharla/cocoon.htm Please note that this page will move in the near future, so I'll provide a refresh and redirect when it does. At that point there will also be a binary version that works, if you want to wait until then. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss.net and catalina
Hello all, jboss.net with axis rc1 now seems to work with jboss and tomcat (catalina 4.0.4) IF you wrap the jboss-net.sar in an exploded ear file. Do this: 1. create unpacked jboss-net.ear 2. put jboss-net.sar into this 3. move jboss-net.war and jboss-net.wsr from under jboss-net.sar up a directory to be under jboss-net.ear 4. under jboss-net.ear create a META-INF directory with application.xml that contains this: JBoss-Example WebService jboss-net.sar jboss-net.war /jboss-net jboss-net.wsr As soon as I get a chance I'll update the jboss-net howto page at: http://www.csd.abdn.ac.uk/%7Ebscharla/soap.html and the accompanying example pages. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
SOLVED - Re: [JBoss-user] cocoon2 with jboss-tomcat errors
At 11:03 03/09/2002 +0100, you wrote: >Hi all, > >thanks for the help with eclipse! Now, on to the next problem: cocoon2 >with tomcat/catalina. > >Per some of the posts in the forum, jetty works with cocoon2, but doesn't >with the embedded tomcat configuration. > >I found a posting on the xml-cocoon-users list at >http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102257393428531&w=2 >which goes through adding some hacks to the cvs for jboss-all/catalina >eliminate the jndi error, which otherwise catches you out. > >However, this doesn't seem to solve the problem, as now I get other >errors, which seem to indicate that the cocoon-2.0.3.jar is not being >found within the cocoon.war file. Here's part of the error I get when I >load cocoon: > >org.apache.cocoon.ProcessingException: Language Exception: >org.apache.cocoon.components.language.LanguageException: Error compiling >sitemap_xmap: Line 22, column 49: cannot access class Component; file >org\apache\avalon\framework\component\Component.class not found Line 23, >column 53: cannot access class Configurable; file >org\apache\avalon\framework\configuration\Configurable.class not found >Line 24, column 53: cannot access class Configuration; file >org\apache\avalon\framework\configuration\Configuration.class not found >Line 25, column 53: cannot access class ConfigurationException; file >org\apache\avalon\framework\configuration\ConfigurationException.class not >found Line 26, column 53: cannot access class DefaultConfiguration; file >org\apache\avalon\framework\configuration\DefaultConfiguration.class not >found Line 27, column 50: cannot access class Parameters; file >org\apache\avalon\framework\parameters\Parameters.class not found Line 29, >column 29: cannot access class Constants; file >org\apache\cocoon\Constants.class not found > >Any help appreciated. > >cheers, > >Bruce > I sorted out the problem and am posting this in case anyone else comes across the problem, and needs a solution. 1. Use the notes at http://www.jboss.org/forums/thread.jsp?nav=false&forum=61&thread=17813&start=0&msRange=15 to make the changes to the cvs for jboss-catalina. These will also lead you to the actual code patch (already submitted as a patch on sourceforge) at http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102257393428531&w=2 You don't need to reorganise the jar files, add items to your run.bat classpath, etc. Just make the cvs file changes and movde on to step two. 2. Download the source (you'll need the build.xml file later) for cocoon from http://xml.apache.org/cocoon/. 3. Create a new directory called META-INF under cocoon-2.0.3\src\webapp, and place this application.xml file in there. cocoon2 cocoon.war /cocoon This file will be picked up and added to the build directory. 4. Follow the instructions to build cocoon. Note the changes to your jre lib directory. Make sure you build a copy with the webapp libs using the command: build -Dinclude.webapp.libs=yes webapp 5. Now add this new target to the end of your cocoon/build.xml file (ie just before the tag. It will copy the cocoon.war file to useful place and then add in the application.xml file when it builds the ear file. 6. Now build the ear with the command: build ear 7. Copy the ear file across to the /server/default/deploy directory, start jboss, watch for any problems in the console window, and then navigate to http://localhost:8080/cocoon where you should see the welcome screen. Just for the record, I tried this on a jboss-tomcat distro without doing the patch to the cvs, and it throws up the jndi error mentioned in the forum. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] cocoon2 with jboss-tomcat errors
Hi all, thanks for the help with eclipse! Now, on to the next problem: cocoon2 with tomcat/catalina. Per some of the posts in the forum, jetty works with cocoon2, but doesn't with the embedded tomcat configuration. I found a posting on the xml-cocoon-users list at http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102257393428531&w=2 which goes through adding some hacks to the cvs for jboss-all/catalina eliminate the jndi error, which otherwise catches you out. However, this doesn't seem to solve the problem, as now I get other errors, which seem to indicate that the cocoon-2.0.3.jar is not being found within the cocoon.war file. Here's part of the error I get when I load cocoon: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 22, column 49: cannot access class Component; file org\apache\avalon\framework\component\Component.class not found Line 23, column 53: cannot access class Configurable; file org\apache\avalon\framework\configuration\Configurable.class not found Line 24, column 53: cannot access class Configuration; file org\apache\avalon\framework\configuration\Configuration.class not found Line 25, column 53: cannot access class ConfigurationException; file org\apache\avalon\framework\configuration\ConfigurationException.class not found Line 26, column 53: cannot access class DefaultConfiguration; file org\apache\avalon\framework\configuration\DefaultConfiguration.class not found Line 27, column 50: cannot access class Parameters; file org\apache\avalon\framework\parameters\Parameters.class not found Line 29, column 29: cannot access class Constants; file org\apache\cocoon\Constants.class not found Any help appreciated. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
SOLVED Re: [JBoss-user] eclipse with xdoclet and jboss
Thanks all! I discovered the problem was that the slashes in the ant.properties file were going the wrong way. ant.home = D:\java\jakarta-ant-1.5 should've been ant.home = D:/java/jakarta-ant-1.5 Made the switch and now it works beautifully! Eclipse is pretty cool. I now have something to colour code the xml, the java and a browser for the mysql database all in one app! Have a good weekend all. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] eclipse with xdoclet and jboss
At 14:45 30/08/2002 +0100, you wrote: >Bruce, >I think this is quite common problem. Try sticking your JDK's tools.jar >into the list of ant libraries. Go to Preferences/External Tools/Ant and >add it there. > >Personally, I think Eclipse is wonderful. However, I've never learnt EMACS >in any of its forms. >Ciao, >Jonathan O'Connor >Ph: +353 1 872 3305 >Mob: +353 86 824 9736 >Fax: +353 1 873 3612 > > Jonathan, thanks. Tried that, still no luck. For some reason eclipse doesn't use the same java.class.path variable that gets built by ant, (ie picks up the system classpath setting), but uses it's own, which points to a startup.jar. Bruce >Hi all, > >I'm trying out eclipse (instead of xemacs) for doing projects with JBoss, >but have encountered a problem. > >The Jboss3.0 Example with the template compiles, and builds fine in xemacs >with the xdoclets, but doesn't do so in eclipse. > >The stacktrace shows: >javadoc: In doclet class xdoclet.DocletTask$DocletMain, method start has >thrown an exception >java.lang.reflect.InvocationTargetException >java.lang.NoClassDefFoundError: org/apache/tools/ant/types/EnumeratedAttribute > >When I check the ant.jar, EnumeratedAttribute is there, and ant of course >starts fine, so what's the problem? > >Any clues greatly appreciated. > > >cheers, > >Bruce > >Dr. Bruce Scharlau >Dept. of Computing Science >University of Aberdeen >Aberdeen AB24 3UE >01224 272193 >http://www.csd.abdn.ac.uk/~bscharla >mailto:[EMAIL PROTECTED] > > > >--- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >___ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user > cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] eclipse with xdoclet and jboss
Hi all, I'm trying out eclipse (instead of xemacs) for doing projects with JBoss, but have encountered a problem. The Jboss3.0 Example with the template compiles, and builds fine in xemacs with the xdoclets, but doesn't do so in eclipse. The stacktrace shows: javadoc: In doclet class xdoclet.DocletTask$DocletMain, method start has thrown an exception java.lang.reflect.InvocationTargetException java.lang.NoClassDefFoundError: org/apache/tools/ant/types/EnumeratedAttribute When I check the ant.jar, EnumeratedAttribute is there, and ant of course starts fine, so what's the problem? Any clues greatly appreciated. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Undeployment of .wsr incomplete due to access restriction
At 10:53 AM 7/24/2002 -0400, you wrote: >CGJ, > > > When you remove the file, isn´t there an undeployment message in the > > console? > >### pasted from origional message > >14:00:14,041 INFO [org.jboss.deployment.MainDeployer] Undeployed >file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.1.0al >pha/server/default/deploy/ind-term.wsr > >### end > > > Do you really put the wsr into an auto-deploy directory? > >/server/default/deploy > >Should I put it somewhere else? > > > Which jboss version and which OS are you running? > > w2k, jboss build from latest src last week, jdk 1.4.0. > > > Is hot-deployment with ears working for you? > >Is there an .ear that I can test this with? I have tried a .war (vqwiki >1.8.1), and was unable to delete the version of the .war in the deploy >directory, due to a (windows) access restriction error. > >I intend to get the latest source for JBoss at some point -- perhaps someone >already checked something in this week that fixes this... > > - Matt Matt, you can get my HelloEJB.ear file from http://www.csd.abdn.ac.uk/~bscharla/teaching/HelloEJB.ear If you drop it in you will discover it also has the sourcecode that made it up. It is basically a variation on the example I put up at http://www.csd.abdn.ac.uk/~bscharla/jboss-net-helloWorld-EJB.html Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: AW: [JBoss-user] Undeployment of .wsr incomplete due to access re striction
At 04:11 PM 7/24/2002 +0200, you wrote: >Your first procedure (even without deleting the .wsr) should work. > >When you remove the file, isn´t there an undeployment message in the >console? Do you really put the wsr into an auto-deploy directory? Which >jboss version and which OS are you running? Is hot-deployment with ears >working for you? > >CGJ Christoph, I'll have to double-check when I get a chance, but I seem to remember having to stop-start jboss to get the wsr example working. I do seem to remember though that it seemed to work better with the ear deployment, but I'm not a 10% sure. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Undeployment of .wsr incomplete due to access restriction
At 09:11 AM 7/24/2002 -0400, you wrote: >CGJ (& anyone else familiar with JBoss deployment), > > > This is IMHO true for all jars/sars/ears/etc deployed in jboss and > > therefore, the tmp directory is not deleted until the next startup of >Jboss. > >O.K., I'll buy that. Let me rephrase my question. I'd like to be able to >deploy, undeploy, and re-deploy my web service without restarting JBoss. Is >this even possible? If so, how can I do this? I have tried the following >procedure without success. > >1) copy .wsr to deploy directory >2) remove .wsr from deploy directory >3) copy new version of .wsr to deploy directory > >The only procedure I've found that works is > >1) copy .wsr to deploy directory >2) remove .wsr from deploy directory >3) restart JBoss >4) copy new version of .wsr to deploy directory > >Is there a better way? > >- Matt Munz Matt and Christoph, for what it's worth, this is what I've found to be the procedure too. Although I must add that this only applies to the wsr and not to any underlying jar or war files, which take the changes ok. It is only the web-service.xml file which doesn't like being changed without a restart. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Jboss.net
At 03:41 PM 7/16/2002 +, you wrote: >>Conrad, >>what where you trying to do? The JBoss-3.0.1.RC1 already has the >>jboss.net.sar in it, ie it works with Jetty, and should run out of the >>box as it were. Or were you trying to get this RC version to work with >>Tomcat? If you were trying to get it to work with Tomcat, then it >>probably won't and you'll need to download the jboss-tomcat binary from >>the page above, or build your own following the instructions from that page. >>In any case, give me some more details and I'll see what I can do to help. >> >>Cheers, >>Bruce >>Dr. Bruce A. Scharlau >>Dept. of Computing Science >>Aberdeen University >>Aberdeen AB24 3UE >>[EMAIL PROTECTED] >>http://www.csd.abdn.ac.uk/~bscharla/ >>01224 272193 >> >>--- >>This sf.net email is sponsored by: Jabber - The world's fastest growing >>real-time communications platform! Don't just IM. Build it in! >>http://www.jabber.com/osdn/xim >>___ >>JBoss-user mailing list >>[EMAIL PROTECTED] >>https://lists.sourceforge.net/lists/listinfo/jboss-user > >Thanks Bruce > >I've found jboss-net.sar file in "all" configuration directory - yesterday >wasn't my best day :-) >I've tried to deploy it and and got some exceptions - in attached file - >setup: jdk1.4, linux 2.4.18, JBoss-3.0.1RC1 (out of the box) >Do you have any idea what am I doing wrong? > >Regards >Conrad > Conrad, I'm not sure what went wrong. I downloaded a copy of jboss-3.0.1RC1 and it worked fine. I also noted that now there is only the 'server/default' option without a lib directory under it, so maybe you're missing a jar from the server classpath, and that is what is throwing your server off. Try a newer build and see what happens. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Jboss.net
At 05:26 PM 7/15/2002 +, you wrote: >Hi everyone > >Is it possible to run jboss.net plugin with JBoss 3.0.1RC1? >I walked through intructions on http://www.csd.abdn.ac.uk/~bscharla/soap.html >and I get such error: > >17:09:46,227 ERROR [MainDeployer] could not start deployment: >file:/opt/jboss-3.0.1RC1/server/default/deploy/jboss-net.sar >java.lang.NoSuchMethodError: >org.jboss.deployment.DeploymentInfo.(Ljava/net/URL;Lorg/jboss/deployment/DeploymentInfo;)V > at > org.jboss.net.axis.server.AxisService.startService(AxisService.java:265) > at > org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164) > 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 > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) > at $Proxy6.start(Unknown Source) > at > org.jboss.system.ServiceController.start(ServiceController.java:384) > at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy3.start(Unknown Source) > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243) > > > >Regards > >Conrad Conrad, what where you trying to do? The JBoss-3.0.1.RC1 already has the jboss.net.sar in it, ie it works with Jetty, and should run out of the box as it were. Or were you trying to get this RC version to work with Tomcat? If you were trying to get it to work with Tomcat, then it probably won't and you'll need to download the jboss-tomcat binary from the page above, or build your own following the instructions from that page. In any case, give me some more details and I'll see what I can do to help. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss.NET EJB-JSP example
Hello all, I've put up a simple example using JBoss.NET based on the hello-flash example from the cvs build up at http://www.csd.abdn.ac.uk/~bscharla/jboss-net-helloWorld-EJB.html. It puts a wsr, a jar, and a war into an ear using ANT and then deploys it to your JBoss server. I know some people have been wondering how the parts fit together so now you can look at one. This isn't done the same way as the hello-flash example, but has a jsp connect to a helloClient on the server which then calls the EJB and then sends the repsonse back to the jsp. If you like you can also use the tcpmon that comes with Axis to help debug this sort of client too. Have a good weekend all. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Gadgets, caffeine, t-shirts, fun stuff. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] updated jboss.net hello flash example
At 12:13 PM 7/11/2002 +0100, you wrote: >Hi, > >Should the updated flash hello world work out of teh box after following >the readme file? I get a 'no such operation 'hello' ' message. The soap >message goes fine, but then doesn't find the method 'hello' in the service >'Hello'. Any ideas, or suggestions? > Sorry guys and gals, I sorted it out myself. I had swaapped out the axis-beta1.jar of the cvs build with the axis-beta2.jar and after I switched them back again, everything works fine. It seems the usual story of changed method names between the jars, which no doubt also occur in beta3, which just came out. Why oh why is it often the simple things like this which give one the greatest headaches? Agggh! Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek PC Mods, Computing goodies, cases & more http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] updated jboss.net hello flash example
Hi, Should the updated flash hello world work out of teh box after following the readme file? I get a 'no such operation 'hello' ' message. The soap message goes fine, but then doesn't find the method 'hello' in the service 'Hello'. Any ideas, or suggestions? Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek PC Mods, Computing goodies, cases & more http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss.net
At 09:16 AM 7/10/2002 +0200, you wrote: >I have to build and to install jboss.net on jboss, using Windows 2000Nt >pro. Viewing the instructions on jboss site, I do not understand where I >have tu put the folder "jboss.net" and where the folder "build" stays. >Can you help me? >thank >Roberto Podesta' Roberto, you'll find a guide on setting up jboss+tomcat (or jetty) + jboss.net (ie Axis) at http://www.csd.abdn.ac.uk/~bscharla/soap.html From their you can either follow the instructions on building your own system or download some pre-built binaries that I've put there. If you use the binaries, then please be sure to have set up your environment per the prerequisites on this page http://www.csd.abdn.ac.uk/~bscharla/JBossTomcatInstall.html . That should ensure that the binaries run out of the box. Let me know if you have any problems. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Two, two, TWO treats in one. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] How to integrate Tomcat and jBoss
At 01:08 PM 7/4/2002 +, you wrote: >How to integrate Tomcat and jBoss.Do we have to configure some file ? > >regards, >shafali >_ >Click below to experience Aishwarya Rai's beauty secrets. New >International Lux Skincare - It's not just soap, It's skincare. >http://www.luxskincare.com > No, you just download the single jvm version from the download page on jboss.org http://www.jboss.org/downloads.jsp or from the files list at sourceforge http://sourceforge.net/project/showfiles.php?group_id=22866 Then go to execute the run.bat or run.sh file under bin and away you go. Be forwarned that http://localhost:8080 will NOT show you anything until you put in a war file. You can see what's running at 8082 though. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Getting started documentation
At 02:47 PM 7/4/2002 +0530, you wrote: >Hi, > >I read on the www.jboss.org that there is a documentation that is going >to come up soon for people who are new to jboss. When can we expect this >document to be ready?? > >Pls help me out... > >regards, >Parul Paul, you'll be wanting the quickstart guide from this page http://sourceforge.net/project/showfiles.php?group_id=22866 Cheers, Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: AW: [JBoss-user] jboss-net and axis
At 04:30 PM 7/1/2002 +0200, you wrote: >Bruce, > >Since we did a few "patches" to the axis-beta (I´ll be changing this policy >in the near future to include the >patched sources into jboss.net instead), I did not plan to include every >beta into jboss-net (especially since there is >nothing spectacular in functionality in beta2 from my point of view ... But >I do not use the jws approach altogether!). > >When deploying services not a jws files but as plain java classes together >with a META-INF/web-service.xml (which is an >ordinary AXIS wsdd), you will get the wsdl working without switching to >axis-beta2 (which I think has added just that, wsdl generation for jws). See >the examples in the testsuite: hello.wsr in hello.ear, store.wsr in >store.ear etc. > >Since beta3 is underway I would suggest to wait a bit until upgrading >because I have got a few other >patches to the WSDL-Emitter of beta1 pending (generating xsd for >typemappings and other funky stuff). > >The fact that jws works which I have not tried however indicates that the >step from beta1 to beta3 will not >be to hard and should be doable in a day or so. > >Could you please report back whether you managed to switch from jws to >POJO/EJB/Mbean/Whatever+wsdd with my hints? >CGJ > Christoph, I've done some trial and error and found that the jws file don't seem to work under jboss-net. Oh, well, no big deal as they are not that useful in production I imagine anyways. As you say, a web-services.xml file and a class file bundled together work fine (once you get the target name sorted out). That is were being able to debug/discover things about the app is useful by getting the wsdl file on the fly. So yes the jars from axis-beta2 do have a use. In production no, (well there is the whole security question for some that you might want kept quiet about). Anyways, I've put up a simple hello world app using the barest of files to get things going for those who don't want to download the sourcecode. I'll change it over to the preferred template method using xdoclet, etc when I get a chance. This just uses the old ant type build system. http://www.csd.abdn.ac.uk/%7Ebscharla/jboss-net-helloWorld.html Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss-net and axis
Hi all, Two things. First, I found that builds I made using the cvs files from JBoss include the old axis-beta1 jar. A solution around this is to download the current axis-beta2 from http://xml.apache.org/axis/dist/beta2/ and switch this newer axis.jar file for the one included in the server/default/lib directory AND in the jboss-net.sar archive- you should be able to open it with winzip or something similar. The benefit of the swap is that you can use (sometimes - I've not got to the bottom of this yet) urls like http://localhost:8080/axis/services/AddressBook?wsdl to see the wsdl for services created on the fly. You also get a list of deployed services from the http://localhost:8080/axis/servlet/AxisServlet page. So can someone (Christoph?) switch the axis.jar in the cvs? Second, has anyone got an example working in axis/jboss-net working using the servicename.jws format? I've tried bundling a simple helloworld type thing together into a wsr file. The war file bits, ie a web page as a placeholder, come up fine, but I get no response to the soap message from the client, and tcpmon shows a 404 for the xxx.jws file. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBOSS startup failure
4j:WARN Please initialize the log4j system properly. >javax.management.InstanceNotFoundException: >JMImplementation:service=LoaderRepository,name=Default > at >com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:167 >8) > at >com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1522) > at >org.jboss.mx.loading.UnifiedClassLoader.(UnifiedClassLoader.java:1 >62) > at >org.jboss.mx.loading.UnifiedClassLoader.(UnifiedClassLoader.java:1 >45) > at >org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:408 >) > at >org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:256) > at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216) > at org.jboss.Main.boot(Main.java:142) > at org.jboss.Main$1.run(Main.java:375) > at java.lang.Thread.run(Thread.java:536) >Press any key to continue . . . > >here is log4j-debug.properties: > >### >== >### >## >## >## JBoss Bootstrap Log4j Configuration (DEBUG) >## >## >## >### >== >### > >### $Id: log4j-debug.properties,v 1.1 2002/03/05 03:32:18 user57 Exp $ >### > >log4j.rootCategory=DEBUG, CONSOLE > >log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender >log4j.appender.CONSOLE.Target=System.out >log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout >log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-5p >[%c{1}] %m%n > >PLEASE HELP > >P.S. The same copy runs fine on Linux 2.4.10 Suse 7.3 and Win2k > >Denis Markov > > > > >--- >This sf.net email is sponsored by:ThinkGeek >Caffeinated soap. No kidding. >http://thinkgeek.com/sf >___ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user Cheers, Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Template Application: no /servlet directory
At 09:01 PM 6/27/2002 +0800, you wrote: >were can I get the Jboss 3.0 Quick Start Guide? Thank you. Get it from http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.pdf?download Bruce >JohnH >- Original Message - >From: Patrick Hubers <[EMAIL PROTECTED]> >Date: Thu, 27 Jun 2002 09:50:51 +0200 >To: [EMAIL PROTECTED] >Subject: Re: [JBoss-user] Template Application: no /servlet directory > > > > > > --Op 26-06-2002 16:10 -0400 schreef Mike Monette: > > > > > I'm reading through the Jboss 3.0 Quick Start Guide, and I've downloaded > > > the template application. Page 16 refers to a src/servlet directory, > > > but the template application has no such directory. Am I missing > > > something, or is this a known mismatch between the documentation and the > > > application? > > > > I had the same problem. Creating an empty servlet directory does the trick. > > > > _ > > Patrick Hubers > > [EMAIL PROTECTED] > > > > Solve IT > > Postbus 5063 > > 3502 JB Utrecht > > > > > > > > --- > > Sponsored by: > > ThinkGeek at http://www.ThinkGeek.com/ > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > >-- >___ >Get your premium email from http://www.ireland.com/email > > > >--- >Sponsored by: >ThinkGeek at http://www.ThinkGeek.com/ >___ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user Cheers, Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: AW: [JBoss-user] jboss.net on jboss-tomcat setup and details
At 11:45 AM 6/27/2002 +0200, you wrote: >Bruce, > >Thanks for trying it out and for documenting the steps in that detail. May I >refer to your excellent >page in our official jboss-net.jsp? Christoph, Yes of course. I'll add more when I get a chance about getting the examples working. Bruce >Thankx, >CGJ > >-Ursprüngliche Nachricht- >Von: Bruce Scharlau [mailto:[EMAIL PROTECTED]] >Gesendet: Mittwoch, 26. Juni 2002 17:39 >An: [EMAIL PROTECTED] >Betreff: [JBoss-user] jboss.net on jboss-tomcat setup and details > > >Hi all, > >as promised here's some details about setting up jboss-tomcat. Here's a >link to a page http://www.csd.abdn.ac.uk/%7Ebscharla/soap.html >or for others here's the full list of steps (it assumes some knowledge of >what is required, and is aimed at windows setups). > >Get a copy of WinCVS from http://www.cvsgui.org/ > >Have set up your classpaths, and environment per the general JBoss-Tomcat >page > >Open WinCVS and do the following: create a new repository called 'jboss-src' > >open up admin/preferences and enter these values into the CVSROOT box: >':pserver:[EMAIL PROTECTED]:/cvsroot/jboss' > >open up 'create/checkout module' and then put this value into the 'module >name and path on the server' box: 'jboss-all'. Check that it is to be put >into the correct location on your machine too. Then click ok and let it >download the code for you. > >In the future you only need to do 'admin/login', then press ok to login to >the sourcecode site, and then do 'create/checkout module' to update your >code from the central server. > > > >Open a console window and navigate to the location of 'jboss-src', and then >to the 'build' sub-directory. > >enter the command 'build all' > >If you encounter any errors, then maybe you can easily sort these out. I >had to add an 'import java.net.*' line in >jboss-all\common\src\main\org\jboss\util\file\JarUtils.java' to stop an >error. > >If you need to rebuild it again. then use the 'build clean' command in >between 'build all' commands to ensure that you have a fresh build. > >Check that the system runs by executing the jboss-all/output/bin/run.bat >file. Open a browser at http://localhost:8082 to see the services running. >Under jboss.web you should see Jetty mentioned. > >Download a joint jboss-tomcat distro (or presumably you could build a copy >of tomcat too, but I've not tried this) and unpack it on your machine. We >need the tomcat/catalina part for the rest of the exercise. > >Open the file jboss-all\catalina\build.xml and edit the line name="tomcat.server.root" >value="path-to\jboss-3.0.0_tomcat-4.0.3\catalina"/> to point to where you >unpacked tomcat. > > >Change directory in your console to jboss-all\catalina and run the command >'build clean' to clean out anything which may have been done from the >previous build command. Then run 'build main' to build the catalina >components. > >Copy the catalina directory under the jboss-3.0.0_tomcat-4.0.3 build to >just under jboss-all\build\output\jboss-3.1.0alpha (ie so that it's at >jboss-all\build\output\jboss-3.1.0alpha\catalina). > >Check that the jboss-all\catalina\deploy\tomcat4-service.xml file points to >the above directory. It should look like this: catalina.home "../catalina"> > > > >Copy the tomcat4-service.xml file to >jboss-all\output\jboss-3.1.0alpha\server\default\deploy. > >Copy the jboss-all\catalina\deploy\tomcat4-service.jar \file to >jboss-all\output\jboss-3.1.0alpha\server\default\deploy. > >Delete the >jboss-all\output\jboss-3.1.0alpha\server\default\deploy\jbossweb.sar file >or else you will have port bind errors as both servlet containers try to >start. > >If you want httpsession-clustering-support you must copy >jbossha-httpsession.sar from the directory ../cluster/output/lib to >jboss/server/default/deploy or the deploy directory of whatever >configuration you are running. [NB: This item is copied directly >from the readme file under jboss-all\catalina, and I've not tried this >part, so can't confirm it.] > >Check that the system runs by executing the jboss-all/output/bin/run.bat >file. Open a browser at http://localhost:8082 to see the services running. >Now under jboss.web you should see EmbeddedCatalinaSX. That's the basic >part of the system up and running now. The rest is to integrate Axis into >the system. > > > >Open the file >jboss-all\jboss.net\src\resources\plugin\META-INF\jboss-service.xml and >ch
Re: AW: [JBoss-user] jboss-net.sar not deploying properly in jboss-to mcat
At 04:03 PM 6/21/2002 +0200, you wrote: >Bruce, I fixed an issue with a wrong rootContext a few weeks ago. Before, >axis tried to deploy under /* which works for jetty, but tomcat would >complain. Now it is >Simly if I remember right which should work for both, bu I could only >check with jetty. > >Could you please check with the head revision of jboss.net and give me >feedback on that matter? > >Thanx, >CGJ Christoph, Yesterday, I got everything working ok by using a cvs build of JBoss and then using the catalina part of a binary of jboss-tomcat to build the jboss.net sections. Then after dropping the relevant jars into the right place it works. Now I only need to work on getting the sample up and running. I've started with the Hello one, but found there are a few errors in the soap part, ie I'm getting soapfaults, but I've not looked into them yet. (They'll wait until Monday). However, I did find that there is a typo in the flash.tld. The line http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";> Has an extra X, so it reads XTag Library, which throws an error on deployment. Monday I'll also rebuild this again, and keep better track of the steps to post here. As we have a number of students who'll be using the set up I need to be able to redo it consistently. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: AW: [JBoss-user] axis on jboss-3.0.0_tomcat-4.0.3
Christoph, more about the setup (which I thought I'd put in, but guess I didn't, sorry about that): jboss-catalina/server/default/lib axis.jar, commons-logging.jar, jaxp.jar, jaxrpc.jar, log4j.jar, xerces.jar, wsdl4j.jar, tt-bytecode.jar (ie the ones that come with apache-axis, plus the other two axis mention as necessary). jboss-catalina/sever/default/conf axis-config.xml (nothing changed from the original under server/all/conf) jboss-catalina/server/default/deploy jboss-net.sar axis.war (which includes the following: index.html WEB-INF classes samples (all axis samples) StockQuoteService.jws (also tried this next to index.html, but same result). lib (empty, but also tried it with the jars, now under server/default/lib) perms.lst users.lst web.xml So, I've tried what you suggested, but no joy. Is there something, which I've left out, something that the AxisServlet is looking for, which isn't there? ie the io.File error? By the way, what's in the sar? and how do I make one, if something needs configuring in there? Thanks. Bruce At 02:54 PM 6/14/2002 +0200, you wrote: >You must put axis-config.xml, e.g., under server/default/conf > >Alternatively, you could use the already installed axis engine/web service >archive deployer >from jboss-net.sar > >CGJ > >-Ursprüngliche Nachricht- >Von: Bruce Scharlau [mailto:[EMAIL PROTECTED]] >Gesendet: Freitag, 14. Juni 2002 13:41 >An: [EMAIL PROTECTED] >Betreff: [JBoss-user] axis on jboss-3.0.0_tomcat-4.0.3 > > >Hi all, > >I'm trying to get axis-beta2 up and running on jboss-3.0.0_tomcat-4.0.3 >under win2k and encounter this error: > >java.lang.NullPointerException at java.io.File.(File.java:180) at >org.apache.axis.configuration.FileProvider.(FileProvider.java:132) at >org.apache.axis.configuration.ServletEngineConfigurationFactory.getServerEng >ineConfig(ServletEngineConfigurationFactory.java:133) >at >org.apache.axis.configuration.ServletEngineConfigurationFactory.getServerEng >ineConfig(ServletEngineConfigurationFactory.java:105) >at >org.apache.axis.transport.http.AxisServlet.getEngine(AxisServlet.java:178) >at >org.apache.axis.transport.http.AxisServlet.getEngine(AxisServlet.java:166) >at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:215) > >I saw someone posted a similar error on the axis user list about a similar >problem using weblogic >http://marc.theaimsgroup.com/?l=axis-user&m=101584241711972&w=2 but that >doesn't seem to solve the problem with jboss-tomcat. > >By the way, the service shows up at http://localhost:8082 for the Axis >service and the adaptor, and I get the index page at >http://localhost:8080/axis, but can't get to >http://localhost:8080/axis/servlet/AxisServlet or the Admin page for Axis. > >Any suggestions greatly appreciated. > > >Cheers, > >Bruce Cheers, Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] axis on jboss-3.0.0_tomcat-4.0.3
Hi all, I'm trying to get axis-beta2 up and running on jboss-3.0.0_tomcat-4.0.3 under win2k and encounter this error: java.lang.NullPointerException at java.io.File.(File.java:180) at org.apache.axis.configuration.FileProvider.(FileProvider.java:132) at org.apache.axis.configuration.ServletEngineConfigurationFactory.getServerEngineConfig(ServletEngineConfigurationFactory.java:133) at org.apache.axis.configuration.ServletEngineConfigurationFactory.getServerEngineConfig(ServletEngineConfigurationFactory.java:105) at org.apache.axis.transport.http.AxisServlet.getEngine(AxisServlet.java:178) at org.apache.axis.transport.http.AxisServlet.getEngine(AxisServlet.java:166) at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:215) I saw someone posted a similar error on the axis user list about a similar problem using weblogic http://marc.theaimsgroup.com/?l=axis-user&m=101584241711972&w=2 but that doesn't seem to solve the problem with jboss-tomcat. By the way, the service shows up at http://localhost:8082 for the Axis service and the adaptor, and I get the index page at http://localhost:8080/axis, but can't get to http://localhost:8080/axis/servlet/AxisServlet or the Admin page for Axis. Any suggestions greatly appreciated. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss 3.0 + tomcat 4.0.3 context error
At 11:49 AM 6/14/2002 +0200, you wrote: >Hi, > >After installing jboss 3.0 + tomcat 4.0.3 and starting it, I'm trying to >open the <http://localhost:8080>http://localhost:8080 url to see if tomcat >is running as usual. Instead of having the typical tomcat documentation >page, I've this error page: > >Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process >this request > > > >type Status report > >message No Context configured to process this request > >description The server encountered an internal error (No Context >configured to process this request) that prevented it from fulfilling this >request. > > >I've seen some peoples complaining for the same issue in the mailing list >archive but the replies where not giving a real solution. > >Any help is welcome, >Thanks, >Gaetano Di Gregorio. > > Gaetano, this version deploys what sits under the JBOSS_DIST/server/default/deploy directory, so if you want what's under JBOSS_DIST/catalina/webapps to be deployed, then you need to a) move them. I've not tried moving the folders, but you could probably try that., or, b) change the deployment options in the jboss-service.xml file to deal with directories, and specify the catalina/webapps directory. I'm still coming to grips with the changes from the 2.x versions of JBoss-Tomcat, too. Cheers, Bruce Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University Aberdeen AB24 3UE [EMAIL PROTECTED] http://www.csd.abdn.ac.uk/~bscharla/ 01224 272193 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Solved!(was: RE: [JBoss-user] JBoss/Tomcat and Apache Soap setup)
>Nick, and Timo, thanks for your help. I went back to basics and double (quadruple at least really ;-) ) checked the Apache-soap install guide. And went carefully over the classpaths and where things were, to see that I hadn't inadverntently moved something out of the classpath. Here's what I ended up with: JBoss2.2.2_Tomcat3.2.2 dual vm with these jars in tomcat/lib: servlet, ant, jasper, tools, webserver, parser, jaxp these jars are under jboss/lib: soap, xerces, xml, and under jboss/lib/ext are mail and activation jars I amended the tomcat.bat file as suggested in the docs, but have just tried it with REM infront of the relevant line, and it still works. So... I amended jboss/bin/run_with_tomcat.bat to REM out the classpath settings there and made sure the relevant item, JAVA_HOME/lib/tools.jar was added to the classpath setting in run.bat. I amended jboss/bin/run.bat to look like this: @echo off @if not "%ECHO%" == "" echo %ECHO% @if "%OS%" == "Windows_NT" setlocal REM set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;run.jar REM Add all login modules for JAAS-based security REM and all libraries that are used by them here set JBOSS_CLASSPATH=%JBOSS_CLASSPATH% REM Crimson parser JAXP setup(default) REM set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;../lib/crimson.jar REM set JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl REM set JAXP=%JAXP% -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl REM Add the XML parser jars and set the JAXP factory names REM add apache-soap and xerces jars: xerces.jar, soap.jar, mail.jar, activator.jar to classpath REM (the later two are in jboss/lib/ext) REM change =org.apache.crimson.jaxp... to org.apache.xerces.jaxp... set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;..\lib\xerces.jar;..\lib\soap.jar;run.jar;C:\jdk1.3.1\lib\tools.jar;..\lib\ext\mail.jar;..\lib\ext\activation.jar;D:\JavaWork\JBoss-2.2.2_Tomcat-3.2.2\JBoss-2.2.2_Tomcat-3.2.2\tomcat\lib\servlet.jar set JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl set JAXP=%JAXP% -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl echo JBOSS_CLASSPATH=%JBOSS_CLASSPATH% java %JAXP% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %1 %2 %3 %4 %5 %6 %7 %8 %9 pause You'll note I had to throw in the direct reference to the servlet.jar to get the soap servlets to work. This all seems to work ok, at least it passes the basic setup tests in the apache-soap install guide. You'll no doubt hear if I have problems getting the examples to work. The true test will also come when I can replicate this on student machines in Sept. Thanks again everyone. Have a good weekend. The blue skies are finally appearing over Aberdeen. Cheers, Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University [EMAIL PROTECTED] 01224 272193 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss/Tomcat and Apache Soap setup
At 03:07 PM 6/29/2001 +0300, you wrote: >I maybe fooling around here, but I noticed that you have soap.jar still >in Jboss' classpath.. > >As you run the ServiceManagerClient from the console. what is the >classpath? ..or does the ServiceManagerClient throw these exceptions or >JBoss/Tomcat? > >btw:have you tried the .war in jboss/deploy directory? > Timo, Yes, that mention of soap.jar was from an earlier attempt at getting it right. If I leave it out of the classpath, then I get the results mentioned. This is true whether the soap.war is deployed under tomcat or jboss. The results are the same. If soap.jar is in the the classpath of jboss, then I get the 500 error and the servlet classes under tomcat can't be found. If I leave soap.jar out of the classpath, then I can deploy services, but cannot connect to them via the rpcrouter. According to the apache soap docs I should be able to do both of these things. Maybe it makes a difference, maybe not but here are some more of my setup details. OS= on win2000 xerces, mail, soap, and activation.jars in enviorment classpath, as well as in the JBoss run.bat file I'm using jdk1.3.1 Any chance anyone could send me their copy of run.bat and tomcat.bat? Are there any other places I should be setting the classpaths ? Cheers, Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University [EMAIL PROTECTED] 01224 272193 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss/Tomcat and Apache Soap setup
At 11:01 AM 6/29/2001 +0100, you wrote: >you can do it this way but for each soap service deployed, the deployment >descriptor needs to be reloaded each time jboss is restarted (if you are >using the rpcrouter). if you deploy soap.war in tomcat/webapps, the dd has >to be loaded only once (or when the service spec has changed). this is >second scraping i know but the subtlties of jboss/tomcat deployment is the >key thing here. > >nick Nick, and Timo, I've got the soap.war under webapps in tomcat. When I leave soap.jar out of the JBoss classpath ie set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;run.jar;C:\jdk1.3.1\lib\tools.jar;..\lib\xerces.jar;..\lib\soap.jar;..\lib\ext\mail.jar;..\lib\ext\activation.jar; then http://localhost:8080/soap gives me the run or visit option and then I get the 'Sorry I don't ...' message but when I open a console and enter java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list then I get other errors about soap classes not being found. Hence the headache ;-( Cheers, Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University [EMAIL PROTECTED] 01224 272193 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss/Tomcat and Apache Soap setup
At 10:37 AM 6/29/2001 +0100, you wrote: >I run the jboss2.2.2/tomcat3.2.2 single vm combo with soap 2.2 and the >xerces parser. My classpath to start jboss/tomcat is: >CLASSPATH=;run.jar;d:\jdk\lib\tools.jar;..\lib\xerces.jar >The soap rpcrouter is deployed by dropping soap.war in the tomcat webapps >dir. > >nick Nick, I tried that and ammended my classpath in JBoss to: set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;run.jar;C:\jdk1.3.1\lib\tools.jar;..\lib\xerces.jar;..\lib\soap.jar;..\lib\ext\mail.jar;..\lib\ext\activation.jar; But I still get the error: Error: 500 Location: /soap/servlet/rpcrouter Internal servlet error: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) etc, etc, ... Did you change anything in tomcat.bat? Where do the classpaths for tomcat get added from JBoss? The reason I'm asking is that as I said before, when I add the soap.jar all hell breaks loose in tomcat. Also, what about the xml.jar file sitting in jboss/lib? Will that be messing anything up? Cheers, Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University [EMAIL PROTECTED] 01224 272193 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss/Tomcat and Apache Soap setup
Hi all, I'm setting up Soap 2-2 to work with JBoss2.2.2/Tomcat 3.2.2 and having a hell of a time with the classpath setting in JBoss. There were a few cryptic comments in the archives, but no clear answer as to what worked. I've changed the run.bat file in JBoss to from the default crimson.jar xml parser to xerces -1.4 and copied all the relevant jars into the lib directory for JBoss, ie xerces and soap so the relevant lines in run.bat look like this: set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;..\lib\xerces.jar;..\lib\soap.jar;..\lib\ext\mail.jar;..\lib\ext\activation.jar set JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl set JAXP=%JAXP% -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl echo JBOSS_CLASSPATH=%JBOSS_CLASSPATH% java %JAXP% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %1 %2 %3 %4 %5 %6 %7 %8 %9 I've also changed the relevant lines in tomcat.bat to reflect xerces: :chkClasspath if "%CLASSPATH%" == "" goto noClasspath set CP=%CP%;%CLASSPATH% set CP=D:\JavaWork\xerces-1_4_1\bin\xerces.jar;%CLASSPATH;%CP% Now when I run JBoss/Tomcat and go to http://localhost:8080/soap/admin/index.html I get Error: 500 as it throws an internal servlet error: javax.servlet.ServletException: javax/mail/MessagingException If I leave out the classpath for soap.jar JBoss/Tomcat/Soap runs the above url fine, but when I try to connect to the rpcrouter I get SOAPExceptions. Any ideas, suggestions, etc? Cheers, Dr. Bruce A. Scharlau Dept. of Computing Science Aberdeen University [EMAIL PROTECTED] 01224 272193 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user