Re: [JBoss-user] [JBoss.NET SOAP] - get rid of jboss-net/service and just have url have my given

2004-06-18 Thread Bruce Scharlau
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=bbop=viewtopicp=3839148#3839148
Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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

2004-06-09 Thread Bruce Scharlau
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=bbop=viewtopicp=3838124#3838124
Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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] [Beginners Corner] - JBoss can't compile jmx-console after deploying Cocoon

2004-05-13 Thread Bruce Scharlau
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=bbop=viewtopicp=3834525#3834525

Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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=2562alloc_id=6184op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Installation Configuration] - Making Apache work with JBoss

2004-05-13 Thread Bruce Scharlau
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=bbop=viewtopicp=3834721#3834721

Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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=2562alloc_id=6184op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] webdav and distributed deployment directories

2004-03-11 Thread Bruce Scharlau
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=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [JBoss Getting Started Documentation] - Creating wsr

2004-02-16 Thread Bruce Scharlau
dppsp wrote:

View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821198#3821198

Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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=1356alloc_id=3438op=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

2004-02-16 Thread Bruce Scharlau
dppsp wrote:

View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821401#3821401

Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jboss-net sample

2004-02-11 Thread Bruce Scharlau
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=1356alloc_id=3438op=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

2004-02-06 Thread Bruce Scharlau
formenti wrote:

View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3820343#3820343

Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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

2004-01-22 Thread Bruce Scharlau
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

2003-09-03 Thread Bruce Scharlau
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

2003-08-19 Thread Bruce Scharlau
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

2003-08-18 Thread Bruce Scharlau
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

2003-06-19 Thread Bruce Scharlau
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?

2003-06-05 Thread Bruce Scharlau
At 15:44 04/06/2003 -0400, you wrote:
http://www.componentsource.com/Search.asp?SC=EJBOSBrowse=YGroupType=5gc=JBOSSGGroupDesc=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!

2003-05-31 Thread Bruce Scharlau
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

2003-03-24 Thread Bruce Scharlau
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:
dependsjboss.web:service=EmbeddedCatalinaSX/depends
(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 allserver.

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 !

2003-03-12 Thread Bruce Scharlau
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=22866release_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

2003-01-24 Thread Bruce Scharlau
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

2003-01-23 Thread Bruce Scharlau
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.init(InetSocketAddress.java:103)
[junit] at java.net.Socket.init(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

2003-01-15 Thread Bruce Scharlau
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

  ejbdoclet
 sourcepath=${src.dir}/main/src/
 destdir=${generated.java.dir}
 classpath =${classpath}
 ejbspec=2.0
 force=true

 fileset dir=${src.dir}/main/src/
include name=org/jboss/net/sample/hello/ejb/*.java /
 /fileset

 packageSubstitution packages=ejb 
substituteWith=interfaces/
 remoteinterface destdir=${generated.java.dir}/
 localinterface destdir=${generated.java.dir}/
 homeinterface destdir=${generated.java.dir}/
 localhomeinterface destdir=${generated.java.dir}/
 deploymentdescriptor destdir=${generated.java.dir}/ejb/META-INF/

 jboss version=2.4 xmlencoding=UTF-8 
destdir=${generated.java.dir}/ejb/META-INF/

  /ejbdoclet


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 jbossnet 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

2002-12-16 Thread Bruce Scharlau
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
homeInterfaceName
- 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

2002-12-13 Thread Bruce Scharlau
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/AxisServlethttp://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/servicename?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

2002-11-11 Thread Bruce Scharlau
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 ,


deployment xmlns=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;
!-- this is an extension to the Axis deployment descriptor which allows to
specify the naming environment for the deployed ws logic --

ejb-ref
ejb-ref-namenEngineApplicationServer/ejb-ref-name
ejb-linknEngineApplicationServer/ejb-link
/ejb-ref
service name=nEngineService provider=Handler
parameter name=handlerClass
value=org.jboss.net.axis.server.EJBProvider/
parameter name=beanJndiName
value=java:comp/env/nEngineApplicationServer.ApplicationServerHome/
parameter name=homeInterfaceName value=ApplicationServerHome/
parameter name=allowedMethods value=*/
requestFlow name=nEngineServiceRequest
handler name TransactionRequestHandler
type=java:org.jboss.net.axis.server.TransactionRequestHandler/
/requestFlow
responseFlow name=nEngineServiceResponse
handler name=SerialisationResponseHandler
type=java:org.jboss.net.axis.server.SerialisationResponseHandler/
handler name=TransactionResponseHandler
type=java:org.jboss.net.axis.server.TransactionResponseHandler/
/responseFlow

/service
/deployment

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


Re: [JBoss-user] Build failed from CVS

2002-11-05 Thread Bruce Scharlau
At 07:03 05/11/2002 -0800, you wrote:


C:\work\jboss-all\buildbuild

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

2002-11-01 Thread Bruce Scharlau
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


[JBoss-user] jboss.net in cvs

2002-09-20 Thread Bruce Scharlau

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



[JBoss-user] jboss.net and catalina

2002-09-18 Thread Bruce Scharlau

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:

?xml version=1.0 encoding=ISO-8859-1?

application
   display-nameJBoss-Example WebService/display-name

   module
 javajboss-net.sar/java
   /module

  module
 web
   web-urijboss-net.war/web-uri
   context-root/jboss-net/context-root
 jboss-net.wsr
 /web
   /module

/application

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

2002-09-05 Thread Bruce Scharlau

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-usersm=102257393428531w=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=falseforum=61thread=17813start=0msRange=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-usersm=102257393428531w=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.

?xml version=1.0 encoding=ISO-8859-1?

application
display-namecocoon2/display-name

module
web
web-uricocoon.war/web-uri
context-root/cocoon/context-root
/web
/module

/application

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 /project 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.

!-- now build the ear file --
target name=ear
copy file = ./build/cocoon/cocoon.war todir=./build/cocoon/webapp/
jar jarfile=./build/cocoon/cocoon.ear
basedir=./build/cocoon/webapp
include name=META-INF/application.xml /
include name=cocoon.war /
/jar
/target

6. Now build the ear with the command: build ear

7. Copy the ear file across to the jboss/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=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] cocoon2 with jboss-tomcat errors

2002-09-03 Thread Bruce Scharlau

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-usersm=102257393428531w=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=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Bruce Scharlau

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=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Bruce Scharlau

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=sourceforge1refcode1=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=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



SOLVED Re: [JBoss-user] eclipse with xdoclet and jboss

2002-08-30 Thread Bruce Scharlau

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=sourceforge1refcode1=vs3390
___
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

2002-07-24 Thread Bruce Scharlau

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

2002-07-24 Thread Bruce Scharlau

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: [JBoss-user] Jboss.net

2002-07-16 Thread Bruce Scharlau

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.init(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



Re: [JBoss-user] Jboss.net

2002-07-16 Thread Bruce Scharlau

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



[JBoss-user] JBoss.NET EJB-JSP example

2002-07-12 Thread Bruce Scharlau

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



[JBoss-user] updated jboss.net hello flash example

2002-07-11 Thread Bruce Scharlau

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

2002-07-10 Thread Bruce Scharlau

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] Getting started documentation

2002-07-04 Thread Bruce Scharlau

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: [JBoss-user] How to integrate Tomcat and jBoss

2002-07-04 Thread Bruce Scharlau

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: AW: [JBoss-user] jboss-net and axis

2002-07-02 Thread Bruce Scharlau

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

2002-07-01 Thread Bruce Scharlau

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

2002-06-28 Thread Bruce Scharlau

Denis,

I couldn't work out which jar would appear to be missing, but that's the 
obvious place to start looking.
The place to find more details (maybe) for errors is also in the log file 
under server/default/log. I've generally found it very helpful.

Bruce

At 10:33 AM 6/28/2002 +0300, you wrote:
Hello All!

Can anyone help me please.
I cannot start JBoss 3.0 on my box.
Having next output:

   JBoss Bootstrap Environment
.
   JBOSS_HOME: C:\jboss-3.0.0\bin\\..
.
   JAVA: c:\jdk\bin\java
.
   JAVA_OPTS:  -Dprogram.name=run.bat
.
   CLASSPATH: ;c:\jdk\lib\tools.jar;C:\jboss-3.0.0\bin\\run.jar
.

===
.
18:23:50,814 INFO  [Server] JBoss Release: JBoss-3.0.0
CVSTag=JBoss_3_0_0 18:23:50,864 INFO  [Server] Home Dir: C:\jboss-3.0.0
18:23:50,864 INFO  [Server] Home URL: file:/C:/jboss-3.0.0/ 18:23:50,874
INFO  [Server] Library URL: file:/C:/jboss-3.0.0/lib/ 18:23:50,884 INFO
[Server] Patch URL: null 18:23:50,914 INFO  [Server] Server Name:
default 18:23:50,914 INFO  [Server] Server Home Dir:
C:\jboss-3.0.0\server\default 18:23:50,924 INFO  [Server] Server Home
URL: file:/C:/jboss-3.0.0/server/default/
18:23:50,934 INFO  [Server] Server Data Dir:
C:\jboss-3.0.0\server\default\db 18:23:50,944 INFO  [Server] Server Temp
Dir: C:\jboss-3.0.0\server\default\tmp 18:23:50,954 INFO  [Server]
Server Config URL: file:/C:/jboss-3.0.0/server/default/conf/
18:23:50,964 INFO  [Server] Server Library URL:
file:/C:/jboss-3.0.0/server/default/lib/
18:23:50,974 INFO  [Server] Root Deployemnt Filename: jboss-service.xml
18:23:51,014 INFO  [Server] Starting General Purpose Architecture
(GPA)... 18:23:51,705 ERROR [Server] start failed
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.init(UnifiedClassLoader.java:1
62)
 at
org.jboss.mx.loading.UnifiedClassLoader.init(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)
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.init(UnifiedClassLoader.java:1
62)
 at
org.jboss.mx.loading.UnifiedClassLoader.init(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)
I found that it crashes on
  public UnifiedClassLoader(final URL url, final URL origURL,
   final MBeanServer server, final ObjectName repositoryName) throws
Exception
{
..
   this.repository =
(UnifiedLoaderRepository)server.invoke(repositoryName,
 registerClassLoader,
 new Object[] {this},
 new String[] {getClass().getName()});
.
}
What can I do to make it start?
I run on jdk 1.4, XP

Also, please help me to start JBOSS in debug mode - I do following:

C:\jboss-3.0.0\binrun.bat -Dlog4j.configuration=log4j-debug.properties

===
.
   JBoss Bootstrap Environment
.
   JBOSS_HOME: C:\jboss-3.0.0\bin\\..
.
   JAVA: c:\jdk\bin\java
.
   JAVA_OPTS:  -Dprogram.name=run.bat
.
   CLASSPATH: ;c:\jdk\lib\tools.jar;C:\jboss-3.0.0\bin\\run.jar
.

===
.
run.bat: unused non-option argument: log4j-debug.properties
log4j:WARN No appenders could be found for logger
(org.jboss.system.server.Server).
log4j: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.init(UnifiedClassLoader.java:1
62)
 at
org.jboss.mx.loading.UnifiedClassLoader.init(UnifiedClassLoader.java:1

Re: AW: [JBoss-user] jboss.net on jboss-tomcat setup and details

2002-06-27 Thread Bruce Scharlau

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 !-- This
corresponds to the tomcat4 dist existing in this module root -- property
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: !DOCTYPE server [ !ENTITY
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
change the depends line from

dependsjboss.web:service=Jetty/depends so that it reads:

dependsjboss.web:service=EmbeddedCatalinaSX/depends


Change directory to jboss-all\build if you're not there already. Execute
'build -Dmodules=jboss.net' to build the jboss-net.sar files.

Copy the jboss-net.sar file from above and place it under
jboss-all\build\output\jboss-3.1.0alpha\server\default\deploy

Move these jar files to the
jboss-all\build\output\jboss-3.1.0alpha\server\default\lib directory:
D:\JavaWork\jboss-net\jboss-net-src\jboss-all\thirdparty\apache\axis\lib\axi
s.jar

jboss

Re: [JBoss-user] Template Application: no /servlet directory

2002-06-27 Thread Bruce Scharlau

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.sar not deploying properly in jboss-to mcat

2002-06-21 Thread Bruce Scharlau

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 root/* which works for jetty, but tomcat would
complain. Now it is
Simly root 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

!DOCTYPE taglib PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 
1.2//EN 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: [JBoss-user] jboss 3.0 + tomcat 4.0.3 context error

2002-06-14 Thread Bruce Scharlau

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:8080http://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



[JBoss-user] axis on jboss-3.0.0_tomcat-4.0.3

2002-06-14 Thread Bruce Scharlau

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-userm=101584241711972w=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: AW: [JBoss-user] axis on jboss-3.0.0_tomcat-4.0.3

2002-06-14 Thread Bruce Scharlau

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-userm=101584241711972w=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



RE: [JBoss-user] JBoss/Tomcat and Apache Soap setup

2001-06-29 Thread Bruce Scharlau

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

2001-06-29 Thread Bruce Scharlau

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



Solved!(was: RE: [JBoss-user] JBoss/Tomcat and Apache Soap setup)

2001-06-29 Thread Bruce Scharlau


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