[JBoss-user] *Linux/*BSD Users

2002-03-07 Thread Rnd


I saw the last postings about minerva pools for linux, and to my
disappointment i didnt see
a plethora of replies that would follow any open source project.
I dont mean to start a holy war over OS's but i think that the same
intuitive biological
rules that govern free software (including linux, *BSD's to name few) would
apply
to Jboss as well, so that the intersection of the communities (linux,jboss
in this case)
would be fairly large.

We are using Jboss 2.4.4 dev (linux), jboss 2.4.3 production (solaris).

We know that solaris has a pretty solid threading implementation, but
unfortunately we must dump production solaris for linux due to the cost,
(and performance, just to say that a celeron can beat the hell out of a
sparc 80 solaris box for the one tenth of the price) .

Windows on the other head seem to perform reasonably with java,
but at least for us the advantages stop just right there.

And the page http://www.jboss.org/online-manual/HTML/ch11s02.html)
that still exists in the site, talks about kernel 2.2!!!

I dont imply anything... but i am wondering.
Well we know
a) Java is write once/run everywhere
b) Your job is to create an excellent j2ee appserver, and not linux debugging,
BUT
we also know that a) is always to be taken a second thought, and
that systems dont have barriers, so it is rather likely that someone tests his 
software on the most popular
platforms, and tries to make it run well.

Uncle Sam on your advertisment talks about NOT losing money.
I am sure old Sam would go for linux/FreeBSD!!

P.S.
Any one had good experience with native FreeBSD 4.5 java 1.3.1 and JBOSS 2.4.1 (i 
mean not the linux emulation port).

Thanx and sorry for my english.

Achilleus


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] throwing custom exceptions in EJB with CMP

2002-03-07 Thread Todd Marshall

Hey all-
  I posted this to the forums with no response...

In one of my EJBs I throw a custom exception.

I'd like to be able to catch this exception in my client jsp code, but
instead of throwing my exception, an UndeclaredThrowableException is thrown
with my exception nested in it.

is there anything I can do to make my exception declared?

-Todd

here's the code for my exception:
public class UnknownCreditCardTypeException extends Exception
{
  public UnknownCreditCardTypeException(String sMessage)
  {
super(sMessage);
  }
}


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] CommunicationException: Receive timed out

2002-03-07 Thread Maris Orbidans


hello 

Do you know what does mean subj ?

It throws the same exception when I try to get home interface of my
bean. 
Could it be because of JRE 1.4 ?


Maris Orbidans


11:36:39,273 FATAL LADPRI  [HttpProcessor[8080][4]]
(BaseAction.java;47): 
Cannot get DataAccessHome javax.naming.CommunicationException: Receive
timed out [Root exception is java.io.InterruptedIOException: Receive
timed out]

[13:35:03,424,AutoDeployer] Deployment
failed:file:/C:/jboss-3.0.0alpha/deploy/L
AD_EJBs.jar
org.jboss.deployment.J2eeDeploymentException: Error while starting
LAD_EJBs.jar:
 Could not deploy file:/C:/jboss-3.0.0alpha/deploy/Default/LAD_EJBs.jar,
Cause:
org.jboss.ejb.DeploymentException: Could not deploy
file:/C:/jboss-3.0.0alpha/de
ploy/Default/LAD_EJBs.jar, Cause: javax.naming.CommunicationException:
Receive t
imed out [Root exception is java.io.InterruptedIOException: Receive
timed out]


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] throwing custom exceptions in EJB with CMP

2002-03-07 Thread Dmitri Colebatch

you can throw exceptions from your interface methods, just add them to the
interface and the implementing method's throws clauses.

hth
dim

- Original Message -
From: Todd Marshall [EMAIL PROTECTED]
To: Jboss-User@Lists. Sourceforge. Net [EMAIL PROTECTED]
Sent: Thursday, March 07, 2002 9:53 PM
Subject: [JBoss-user] throwing custom exceptions in EJB with CMP


 Hey all-
   I posted this to the forums with no response...

 In one of my EJBs I throw a custom exception.

 I'd like to be able to catch this exception in my client jsp code, but
 instead of throwing my exception, an UndeclaredThrowableException is
thrown
 with my exception nested in it.

 is there anything I can do to make my exception declared?

 -Todd

 here's the code for my exception:
 public class UnknownCreditCardTypeException extends Exception
 {
   public UnknownCreditCardTypeException(String sMessage)
   {
 super(sMessage);
   }
 }


 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] what a terrible exception !!! Receive timed out

2002-03-07 Thread Màris Orbidàns


[13:47:32,189,GPA] General Purpose Architecture [GPA]
[13:47:32,189,GPA] Java version: 1.3.1_01,Sun Microsystems Inc.
[13:47:32,189,GPA] Java VM: Java HotSpot(TM) Client VM 1.3.1_01,Sun
Microsystems
 Inc.
[13:47:32,189,GPA] OS-System: Windows 2000 5.0,x86
[13:47:32,189,GPA] JBoss Version : 3.0.0alpha(200111202304)
[13:47:32,189,GPA] JBoss start time : Thu Mar 07 13:47:30 EET 2002
[13:47:32,189,GPA] localDir : C:\jboss-3.0.0alpha
[13:47:32,189,GPA] installationURL : file:/C:/jboss-3.0.0alpha/\
[13:47:32,189,GPA] configuration :
file:/C:/jboss-3.0.0alpha/\conf\default\
[13:47:32,189,GPA] libraries : file:/C:/jboss-3.0.0alpha/\lib\ext\
[13:47:32,205,GPA] local patch directory:

...

[13:47:55,908,ContainerFactory] Could not deploy
file:/C:/jboss-3.0.0alpha/deplo
y/Default/LAD_EJBs.jar
java.io.InterruptedIOException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:392)
at
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:82
0)
at
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:890)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:356)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.rebind(BaseLoca
lContainerInvoker.java:359)
at
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.start(BaseLocal
ContainerInvoker.java:167)
at org.jboss.ejb.Container.start(Container.java:411)
at
org.jboss.ejb.StatelessSessionContainer.start(StatelessSessionContain
er.java:189)
at org.jboss.ejb.Application.start(Application.java:206)
at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:382)
at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:308)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
28)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at
org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:467)

at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:
444)
at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:215)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
28)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at
org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
at java.lang.Thread.run(Thread.java:484)
[13:48:31,658,J2eeDeployer#Default] Starting LAD_EJBs.jar failed!



Maris


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] java.naming.provider.url=myserver

2002-03-07 Thread Màris Orbidàns


How a client which server it should connect to ?

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
# Do NOT uncomment this line as it causes in VM calls to go over
# RMI!
java.naming.provider.url=myserver

I changed the line above and put this file in classpath of client.
Is this correct ? 

But what does mean the comment then ?

# Do NOT uncomment this line as it causes in VM calls to go over
# RMI!

Maris


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] How modular is EJB and jboss?

2002-03-07 Thread jfina

Hi!

My challenge is to get the ejb model to fit into my needs. I'm writing a system that 
needs to be very modular and alive. A operation
must be implemented differently depending of the type.

Like: If I have a Zone object I need different zone handlers depending of the type of 
zone registred in the database (parking,
regular, pool etc...). The handlers may monitor the zone and more or less continually 
do different tasks depending on the logic.
Normally I would have solved this using inheritence, contained objects and threads.

My intention was to use MDB's to receive the phycial passings and call the different 
stateless zone sessionbeans which will process
the message further depending on type.

Is this really possible to solve with jboss?

At this time I only see the use of jboss as a pure persistence engine...or am i wrong 
in my views?

/Jon


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] *Linux/*BSD Users

2002-03-07 Thread Stephen Davidson

Hi Achilleus.

There is a way to get around the Linux threading issues.
We are going to be setting up and running a MAJOR load test today to test the limits 
of this solution.  It will probably take us most of the day.
Today's target is 4,000 users(separate sessions per) on 1 server.
If it works, I can post the theory (and I hope, the steps and links for 
implementation-I need to get somebody's notes before they role off the project today), 
to this list.

The design specifications for what I am working on requires that it be able to support 
100,000 Users logged on simultanously before the end of the year. 
Rapidly expandible to 10,000,000+ concurrent connections is preferred.  Target Market 
is such that these numbers may be low (scream!).

-Steve


[EMAIL PROTECTED] wrote:
 I saw the last postings about minerva pools for linux, and to my
 disappointment i didnt see
 a plethora of replies that would follow any open source project.
 I dont mean to start a holy war over OS's but i think that the same
 intuitive biological
 rules that govern free software (including linux, *BSD's to name few) would
 apply
 to Jboss as well, so that the intersection of the communities (linux,jboss
 in this case)
 would be fairly large.
 
 We are using Jboss 2.4.4 dev (linux), jboss 2.4.3 production (solaris).
 
 We know that solaris has a pretty solid threading implementation, but
 unfortunately we must dump production solaris for linux due to the cost,
 (and performance, just to say that a celeron can beat the hell out of a
 sparc 80 solaris box for the one tenth of the price) .
 
 Windows on the other head seem to perform reasonably with java,
 but at least for us the advantages stop just right there.
 
 And the page http://www.jboss.org/online-manual/HTML/ch11s02.html)
 that still exists in the site, talks about kernel 2.2!!!
 
 I dont imply anything... but i am wondering.
 Well we know
 a) Java is write once/run everywhere
 b) Your job is to create an excellent j2ee appserver, and not linux debugging,
 BUT
 we also know that a) is always to be taken a second thought, and
 that systems dont have barriers, so it is rather likely that someone tests his 
software on the most popular
 platforms, and tries to make it run well.
 
 Uncle Sam on your advertisment talks about NOT losing money.
 I am sure old Sam would go for linux/FreeBSD!!
 
 P.S.
 Any one had good experience with native FreeBSD 4.5 java 1.3.1 and JBOSS 2.4.1 
(i mean not the linux emulation port).
 
 Thanx and sorry for my english.
 
 Achilleus
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 



-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] java.naming.provider.url=myserver

2002-03-07 Thread Lennart Petersson

If you copy this file to the client and uncomment java.naming.provider.url
entry then it is ok. If you  use it on server with the same row uncommented
then all calls within the server will use RMI with serializing etc... ---
very bad performance.

/Lennart

On 02-03-07 13:23, Màris Orbidàns [EMAIL PROTECTED] wrote:

 
 How a client which server it should connect to ?
 
 java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
 # Do NOT uncomment this line as it causes in VM calls to go over
 # RMI!
 java.naming.provider.url=myserver
 
 I changed the line above and put this file in classpath of client.
 Is this correct ?
 
 But what does mean the comment then ?
 
 # Do NOT uncomment this line as it causes in VM calls to go over
 # RMI!
 
 Maris
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


Sent using the Entourage X Test Drive.


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] How modular is EJB and jboss?

2002-03-07 Thread Holger Baxmann

 At this time I only see the use of jboss as a pure persistence engine...or am i 
wrong in my views?
 
indeed you are; i, by myself, am using jboss without any persistance or
filesystem. it is an url-based operating system with services, for me at
least.

just have a look for services *.sar and the model mbean implementation,
you will find a good guide for your needs in isbn 0-672-32288-9 'jmx:
managing j2ee with java management extensions' by sams publishing.

BTW: jboss has a persitence engine too, AFAIRC :)

bax 
 /Jon
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Newbie JNDI Question

2002-03-07 Thread Dan Christopherson

One thing you might want to do is turn logging up a little bit in 
log4j.properties and see if something is actually going south quietly.

Mike Kenyon wrote:
 I just downloaded JBoss v.2.4.4 as part of an internal effort to migrate one
 of our test servers from another app server to JBoss.  We're using iPlanet
 as a web server with JSPs connecting back to the EJBs running on JBoss.  

Are the JSPs running under JBoss/(Jetty|Tomcat), or are they running in 
iPlanet App. Server? If the JSPs are running in iPlanet, they're 
probably trying to do a lookup in IAS's JNDI, whereas the EJBs will be 
bound in JBoss' JNDI.

 
 Using Sun's JNDI browser, I can't locate anything that resembles an EJB
 (seeing only two entries, UserTransaction and
 UserTransactionSessionFactory).  

Which JNDI server was this pointed at?

 
 Further, I tried to examine it through JNDIView (which claims to start
 successfullly), however, nothing is bound to http://localhost:8082, as the
 documentation indicates there should be.

You mean there's no http server listening at 'http://localhost:8082'? If 
so then something is going wronger with the startup.

-danch


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] All your base continued ...

2002-03-07 Thread Holger Baxmann

http://www.blinkenlights.de/gallery/allyourbase.de.html





___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] All your base continued ...

2002-03-07 Thread David Ward

Here's another one (be sure to scroll over to the right) based on a Gimp 
screenshot of Wilber, the Gimp mascot:
http://linuxart.com/stuff/screenshots/01apr04-gimpified.png

Holger Baxmann wrote:
 http://www.blinkenlights.de/gallery/allyourbase.de.html
 


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] throwing custom exceptions in EJB with CMP

2002-03-07 Thread Dmitri Colebatch

unless I'm missing something obvious, what you're doing should (tm) work (o:

if its a simple small example feel free to send it to me privately and I'll
have a look when I get home tonight.

cheers
dim

- Original Message -
From: Todd Marshall [EMAIL PROTECTED]
To: Dmitri Colebatch [EMAIL PROTECTED]; Jboss-User@Lists. Sourceforge.
Net [EMAIL PROTECTED]
Sent: Friday, March 08, 2002 7:10 AM
Subject: RE: [JBoss-user] throwing custom exceptions in EJB with CMP


 FYI- I'm using jboss 2.4.4 w/ catialina

 you can throw exceptions from your interface methods, just add them to
the
 interface and the implementing method's throws clauses.

 I think I'm already doing that.

 here's the prototype from my remote interface:

 public void setType(String _type) throws RemoteException,
 UnknownCreditCardTypeException;

 Is there something else I have to do in the interface?

 -Todd

 -Original Message-
 From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 07, 2002 5:43 AM
 To: Todd Marshall; Jboss-User@Lists. Sourceforge. Net
 Subject: Re: [JBoss-user] throwing custom exceptions in EJB with CMP


 you can throw exceptions from your interface methods, just add them to the
 interface and the implementing method's throws clauses.

 hth
 dim

 - Original Message -
 From: Todd Marshall [EMAIL PROTECTED]
 To: Jboss-User@Lists. Sourceforge. Net
[EMAIL PROTECTED]
 Sent: Thursday, March 07, 2002 9:53 PM
 Subject: [JBoss-user] throwing custom exceptions in EJB with CMP


  Hey all-
I posted this to the forums with no response...
 
  In one of my EJBs I throw a custom exception.
 
  I'd like to be able to catch this exception in my client jsp code, but
  instead of throwing my exception, an UndeclaredThrowableException is
 thrown
  with my exception nested in it.
 
  is there anything I can do to make my exception declared?
 
  -Todd
 
  here's the code for my exception:
  public class UnknownCreditCardTypeException extends Exception
  {
public UnknownCreditCardTypeException(String sMessage)
{
  super(sMessage);
}
  }
 
 
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 




___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Free J2EE Executive Overview from Smart Soft

2002-03-07 Thread Smart Soft - The Developer Training Company



 Free J2EE Executive Overview from Smart Soft 

Have you ever wondered, What exactly is EJB and why do I need it? Or, What's the 
difference between a Java application and a J2EE application? Do you long to impress 
your friends with terms like message driven bean and container manager 
persistence? If so, then this executive overview is for you!

Details:
J2EE Executive Overview
Tuesday March 12th
9:00 AM to Noon
Smart Soft Training Center
Huntington Beach, CA

For More Info and to signup:

http://www.smart-soft.com/filtered/outlines/classDescription.jsp?standardClassesId=15

The Smart Soft Team
Smart Soft - The Developer Training Company
http://www.smart-soft.com


~~
If you do not wish to continue receiving this newsletter, please accept our apologies, 
follow the link below to unsubscribe. If you choose to continue receiving this we 
promise NOT to share your email with anyone. And because we are so busy teaching or 
spending time at the beach, we'll only send out newsletters once a month. Give or take 
a month.

http://www.smart-soft.com/unsubscribe
~~


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Free J2EE Executive Overview from Smart Soft

2002-03-07 Thread James Ward

These kind of pitches usually are better received if you use the terms
correctly.
It's container managed persistence not container manager
persistence.


 -Original Message-
 From: Smart Soft - The Developer Training Company
[mailto:webmaster@smart-
 soft.com]
 Sent: Thursday, March 07, 2002 3:44 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Free J2EE Executive Overview from Smart Soft
 
 
 
  Free J2EE Executive Overview from Smart Soft 
 
 Have you ever wondered, What exactly is EJB and why do I need it?
Or,
 What's the difference between a Java application and a J2EE
application?
 Do you long to impress your friends with terms like message driven
bean
 and container manager persistence? If so, then this executive
overview
 is for you!
 
 Details:
 J2EE Executive Overview
 Tuesday March 12th
 9:00 AM to Noon
 Smart Soft Training Center
 Huntington Beach, CA
 
 For More Info and to signup:
 http://www.smart-
 soft.com/filtered/outlines/classDescription.jsp?standardClassesId=15
 
 The Smart Soft Team
 Smart Soft - The Developer Training Company
 http://www.smart-soft.com
 
 


~~
 If you do not wish to continue receiving this newsletter, please
accept
 our apologies, follow the link below to unsubscribe. If you choose to
 continue receiving this we promise NOT to share your email with
anyone.
 And because we are so busy teaching or spending time at the beach,
we'll
 only send out newsletters once a month. Give or take a month.
 
 http://www.smart-soft.com/unsubscribe


~~
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Free J2EE Executive Overview from Smart Soft

2002-03-07 Thread Ivan Bilenjkij

On Thursday 07 March 2002 05:44 pm, Smart Soft - The Developer Training 
Company wrote:
  Free J2EE Executive Overview from Smart Soft 

 Have you ever wondered, What exactly is EJB and why do I need it? Or,
 What's the difference between a Java application and a J2EE application?
 Do you long to impress your friends with terms like message driven bean
 and container manager persistence? If so, then this executive overview is
 for you!

-- SNIP --

Okay! A friend of mine who's an industrial designer, just poped up minutes 
ago, so I tried to impress him right away:
   -  'sup, man! hey, you know I want to get those cool message driven beans 
for my kitchen,  so I was wondering whether that container manager 
persistence is strong enough to hold 'em together. what do you think?
   -  a, what beans?
   -  nevermind. 
   -  are you okay, man!?

Well, he looked sort of confused a bit rather than impressed... Man, I guess 
you'll have to tell me now where did I go wrong here.

 DUH!


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] ejb 2.0

2002-03-07 Thread Alice Ad
when is jboss expected to be ejb 2.0 compliant (i guess its 1.1 so far!) ?Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!

[JBoss-user] Free XML Executive Overview Seminar from Smart Soft

2002-03-07 Thread Smart Soft - The Developer Training Company



 Free XML Executive Overview Seminar from Smart Soft 

Smart Soft is offering a free 1/2 day seminar on XML and related technolgies.

Details:
XML Executive Overview Seminar
Tuesday March 12th
9:00 AM to Noon
Smart Soft Training Center
Huntington Beach, CA

For More Info and to signup:

http://www.smart-soft.com/filtered/outlines/classDescription.jsp?standardClassesId=13

The Smart Soft Team
Smart Soft - The Developer Training Company
http://www.smart-soft.com


~~
If you do not wish to continue receiving this newsletter, please accept our apologies, 
follow the link below to unsubscribe. If you choose to continue receiving this we 
promise NOT to share your email with anyone. And because we are so busy teaching or 
spending time at the beach, we'll only send out newsletters once a month. Give or take 
a month.

http://www.smart-soft.com/unsubscribe
~~


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Free XML Executive Overview Seminar from Smart Soft

2002-03-07 Thread Smart Soft - The Developer Training Company



 Free XML Executive Overview Seminar from Smart Soft 

Smart Soft is offering a free 1/2 day seminar on XML and related technolgies.

Details:
XML Executive Overview Seminar
Tuesday March 12th
9:00 AM to Noon
Smart Soft Training Center
Huntington Beach, CA

For More Info and to signup:

http://www.smart-soft.com/filtered/outlines/classDescription.jsp?standardClassesId=13

The Smart Soft Team
Smart Soft - The Developer Training Company
http://www.smart-soft.com


~~
If you do not wish to continue receiving this newsletter, please accept our apologies, 
follow the link below to unsubscribe. If you choose to continue receiving this we 
promise NOT to share your email with anyone. And because we are so busy teaching or 
spending time at the beach, we'll only send out newsletters once a month. Give or take 
a month.

http://www.smart-soft.com/unsubscribe
~~


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] throwing custom exceptions in EJB with CMP (fixed it)

2002-03-07 Thread Todd Marshall

Dmitri-
   While in the process of writing a quick example app to replicate the
problem, I figured it out.

I wasn't throwing the exception in the Home interface from my create
methods.

Thank you very much for your time. :)

-Todd

-Original Message-
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07, 2002 3:59 PM
To: Todd Marshall; Jboss-User@Lists. Sourceforge. Net
Subject: Re: [JBoss-user] throwing custom exceptions in EJB with CMP


unless I'm missing something obvious, what you're doing should (tm) work (o:

if its a simple small example feel free to send it to me privately and I'll
have a look when I get home tonight.

cheers
dim

- Original Message -
From: Todd Marshall [EMAIL PROTECTED]
To: Dmitri Colebatch [EMAIL PROTECTED]; Jboss-User@Lists. Sourceforge.
Net [EMAIL PROTECTED]
Sent: Friday, March 08, 2002 7:10 AM
Subject: RE: [JBoss-user] throwing custom exceptions in EJB with CMP


 FYI- I'm using jboss 2.4.4 w/ catialina

 you can throw exceptions from your interface methods, just add them to
the
 interface and the implementing method's throws clauses.

 I think I'm already doing that.

 here's the prototype from my remote interface:

 public void setType(String _type) throws RemoteException,
 UnknownCreditCardTypeException;

 Is there something else I have to do in the interface?

 -Todd

 -Original Message-
 From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 07, 2002 5:43 AM
 To: Todd Marshall; Jboss-User@Lists. Sourceforge. Net
 Subject: Re: [JBoss-user] throwing custom exceptions in EJB with CMP


 you can throw exceptions from your interface methods, just add them to the
 interface and the implementing method's throws clauses.

 hth
 dim

 - Original Message -
 From: Todd Marshall [EMAIL PROTECTED]
 To: Jboss-User@Lists. Sourceforge. Net
[EMAIL PROTECTED]
 Sent: Thursday, March 07, 2002 9:53 PM
 Subject: [JBoss-user] throwing custom exceptions in EJB with CMP


  Hey all-
I posted this to the forums with no response...
 
  In one of my EJBs I throw a custom exception.
 
  I'd like to be able to catch this exception in my client jsp code, but
  instead of throwing my exception, an UndeclaredThrowableException is
 thrown
  with my exception nested in it.
 
  is there anything I can do to make my exception declared?
 
  -Todd
 
  here's the code for my exception:
  public class UnknownCreditCardTypeException extends Exception
  {
public UnknownCreditCardTypeException(String sMessage)
{
  super(sMessage);
}
  }
 
 
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 





___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] ejb 2.0

2002-03-07 Thread Todd Marshall



I 
believe that 3.0 (which is currently in beta) is fully EJB 2.0 
compliant.

-Todd

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Alice 
  AdSent: Thursday, March 07, 2002 8:46 PMTo: 
  [EMAIL PROTECTED]Subject: [JBoss-user] ejb 
  2.0
  when is jboss expected to be ejb 2.0 compliant (i guess its 1.1 so far!) 
  ?
  
  
  Do You Yahoo!?Try FREE Yahoo! Mail - the world's 
  greatest free email!


Re: [JBoss-user] throwing custom exceptions in EJB with CMP (fixed it)

2002-03-07 Thread Dmitri Colebatch

np...  thats the way it all works isn't it (o:

- Original Message - 
From: Todd Marshall [EMAIL PROTECTED]
To: Jboss-User@Lists. Sourceforge. Net [EMAIL PROTECTED]; Ean 
Schuessler [EMAIL PROTECTED]
Sent: Friday, March 08, 2002 10:20 AM
Subject: RE: [JBoss-user] throwing custom exceptions in EJB with CMP (fixed it)


 Dmitri-
While in the process of writing a quick example app to replicate the
 problem, I figured it out.
 
 I wasn't throwing the exception in the Home interface from my create
 methods.
 
 Thank you very much for your time. :)
 
 -Todd
 
 -Original Message-
 From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 07, 2002 3:59 PM
 To: Todd Marshall; Jboss-User@Lists. Sourceforge. Net
 Subject: Re: [JBoss-user] throwing custom exceptions in EJB with CMP
 
 
 unless I'm missing something obvious, what you're doing should (tm) work (o:
 
 if its a simple small example feel free to send it to me privately and I'll
 have a look when I get home tonight.
 
 cheers
 dim
 
 - Original Message -
 From: Todd Marshall [EMAIL PROTECTED]
 To: Dmitri Colebatch [EMAIL PROTECTED]; Jboss-User@Lists. Sourceforge.
 Net [EMAIL PROTECTED]
 Sent: Friday, March 08, 2002 7:10 AM
 Subject: RE: [JBoss-user] throwing custom exceptions in EJB with CMP
 
 
  FYI- I'm using jboss 2.4.4 w/ catialina
 
  you can throw exceptions from your interface methods, just add them to
 the
  interface and the implementing method's throws clauses.
 
  I think I'm already doing that.
 
  here's the prototype from my remote interface:
 
  public void setType(String _type) throws RemoteException,
  UnknownCreditCardTypeException;
 
  Is there something else I have to do in the interface?
 
  -Todd
 
  -Original Message-
  From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, March 07, 2002 5:43 AM
  To: Todd Marshall; Jboss-User@Lists. Sourceforge. Net
  Subject: Re: [JBoss-user] throwing custom exceptions in EJB with CMP
 
 
  you can throw exceptions from your interface methods, just add them to the
  interface and the implementing method's throws clauses.
 
  hth
  dim
 
  - Original Message -
  From: Todd Marshall [EMAIL PROTECTED]
  To: Jboss-User@Lists. Sourceforge. Net
 [EMAIL PROTECTED]
  Sent: Thursday, March 07, 2002 9:53 PM
  Subject: [JBoss-user] throwing custom exceptions in EJB with CMP
 
 
   Hey all-
 I posted this to the forums with no response...
  
   In one of my EJBs I throw a custom exception.
  
   I'd like to be able to catch this exception in my client jsp code, but
   instead of throwing my exception, an UndeclaredThrowableException is
  thrown
   with my exception nested in it.
  
   is there anything I can do to make my exception declared?
  
   -Todd
  
   here's the code for my exception:
   public class UnknownCreditCardTypeException extends Exception
   {
 public UnknownCreditCardTypeException(String sMessage)
 {
   super(sMessage);
 }
   }
  
  
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
  
 
 
 
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] *Linux/*BSD Users

2002-03-07 Thread Ari Suutari

Hi,

On Thursday 07 March 2002 12:34, [EMAIL PROTECTED] wrote:
 Any one had good experience with native FreeBSD 4.5 java 1.3.1 and JBOSS
 2.4.1 (i mean not the linux emulation port).

There are known problems running linux-jdk on FreeBSD with hotspot
enabled. These problems tend to pop up with anything that uses threads
heavily, like Tomcat. I would expect JBoss to fall in this category also.

When running in classic mode (ie. java -classic ) things work
OK, but performance is not good. I am using both Linux jdk this
way and also native FreeBSD jdk (beta) to run Tomcat on small
systems without any major problems. I would expect
JBoss to work also OK, there shouldn't be threading problems
similar to those running on Linux, since classic mode uses
JVM's internal theads.

Ari S.


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user