[JBoss-user] [JBossWS] - ignoring invalid namespace mapping?

2005-09-13 Thread sergiocg80
A direct question: what does it means "ignoring invalid namespace mapping"? The 
server (Jboss 4.0.1, 4.0.2RC1, 4.0.2...) tells me so when i try to access a web 
service. The service works fine, everything is right, the answer that it 
returns is correct, I'm happy, but why do Jboss write that warning to the 
console?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=389#389

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=389


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Using external classes inside a EJB

2005-09-13 Thread sergiocg80
It works! Your answer was right, what I did was making a JAR with my classes, 
and put my JAR in the EBJ. All works fine.

The main difference between a ClassNotFoundException and a NoClassDefFoundError 
is that in the first case, the classLoader can't find the class. In the second 
case, the classLoader can find the class, but can't find any other classes used 
by the first class.

Thank you.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894418#3894418

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894418


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Using external classes inside a EJB

2005-09-13 Thread sergiocg80
Thanks for your answer, but it seems that it didn't solve the problem. I moved 
one of the shared classes (due to a ClassNotFoundException) from the war file 
to the jar. Now the war can't find the moved class. If instead of moving I try 
to copy the file, the problem seems to be solved, but another one arises, the 
jar ask for another class, but instead of throwing a ClassNotFoundException it 
throws a NoClassDefFoundError. In this case, the trick of moving/copying 
classes doesn't work.
Any suggest? By the way, can anybody tell me what's the difference between a 
ClassNotFoundException and a NoClassDefFoundError?

Thanks in advance.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894402#3894402

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894402


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Using external classes inside a EJB

2005-09-12 Thread sergiocg80
Sorry, I forgot to say the reason why the classes needed by the MDB are in the 
war file (web-inf/classes) is that the war application also uses that classes.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894281#3894281

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894281


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Using external classes inside a EJB

2005-09-12 Thread sergiocg80
Hi! Here's a simple question about EJB's:

I have an EAR file containing a WAR file (WEB-INF/lib, WEB-INF/classes, and all 
that stuff), and a JAR file. The JAR file contains a MDB. A simple scenary, 
isn't it?

Well, my MDB uses classes contained in the WEB-INF/classes of the WAR file.

This works fine in JBoss 4.0.1 and 4.02RC1, but fails (ClassDefNotFound) in 
4.0.2.

Anyway, I find annoying using external classes inside a MDB, and I suppose that 
I'm doing something pretty bad.

Can anybody suggest a workarond to this problem? What should be the 'elegant' 
way to make this work?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894278#3894278

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894278


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user