RE: [JBoss-user] how to run JSPs in JBoss

2002-05-14 Thread Todd Marshall

yes, you need to have WEB-INF directory at the top of your war containing a
web.xml file.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Yelamanchilli RamaKishore
 Sent: Tuesday, May 14, 2002 3:53 PM
 To: Burkhard Vogel
 Cc: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] how to run JSPs in JBoss


 Bukhard,

 I created a war file with all the example JSPs that you have provided and
 placed it in the deploy folder of jboss. The deploy fails and gives an
 exception saying no deployment descriptor found. Do I need to create
 web.xml or/and application.xml put them in the war too. If so, how can I
 create one with the JSP info. I couldn't find this info anywhere in the
 JBoss doc. Can you please help me?

 Thanks  Regards

 Kishore

 I created a war file with one sample jsp and placed it in the
 deploy folder.
 At 02:08 PM 5/14/2010 -0500, Burkhard Vogel wrote:
 Ehh?
 Sorry, but my examples contain a whole bunch of jsp pages. Make
 a war (like
 a jar) from your jsp pages, copy it to the deploy directory of the JBoss
 server watch the server stack if everything runs fine, access your app as
 described below. If this does not help - go and read about how
 to code jsp
 pages.
 Regards,
 Burkhard
 - Original Message -
 From: Yelamanchilli RamaKishore [EMAIL PROTECTED]
 To: Burkhard Vogel [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Tuesday, May 14, 2002 1:26 PM
 Subject: Re: [JBoss-user] how to run JSPs in JBoss
 
 
   Thanks for the response. I still don't understand how to run JSPs.
 Example,
   tomcat-test.ear explains how we can work with servlets and
 EJBs. Can you
   please explain me how we can run JSPs.
  
   Thanks
  
   Kishore
  
   At 08:59 PM 5/13/2002 -0500, Burkhard Vogel wrote:
   Hi,
   Use any of the available embedded versions of JBoss (2.4.5+Tomcat,
   2.4.5+Jetty, 3.0(which uses Jetty), 3.0+Tomcat), start them with the
   run_with_xxx.sh/bat script from the bin dir. Drop your web
 application in
   the deploy dir, access your app at
   http://localhost:8080/your-war--name-here/ or use the
 WEB-INF/web.xml
 to
   specify your own context. The JBoss+Tomcat distributions usually come
 with a
   tomcat-test.ear which can be accessed at
http://localhost:8080/jboss/ (at
  least at my rather old 2.4.3 distro)
  Regards,
  Burkhard
  - Original Message -
  From: Yelamanchilli RamaKishore [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, May 13, 2002 1:11 PM
  Subject: [JBoss-user] how to run JSPs in JBoss
  
  
Hello,
   
Seeing the documentation, I figured out web server will be running
on
port
8082 by default. When I try http://localhost:8082/, I get an
internal
error(null pointer). I couldn't figure out what's the default
directory
from where JSPs will be picked up by the server. Can you please
provide me
a doc how I can run JSPs in JBoss? Thanks in advance.
   
Thanks
   
Kishore
   
   
___
   
Have big pipes? SourceForge.net is looking for download mirrors. We
supply
the hardware. You get the recognition. Email Us:
[EMAIL PROTECTED]
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
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] Jboss3.x beta docs... where are they?

2002-04-03 Thread Todd Marshall

hey all-
   been looking up and down the net for decent installation/configuration
docs for JB3.x beta... cant' find any... where do they live?

-T

--
Todd C. Marshall
Technical Consultant
214-395-4502


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



[JBoss-user] RE: Jboss3.x beta docs... where are they? (never mind, I found em)

2002-04-03 Thread Todd Marshall



 -Original Message-
 From: Todd Marshall [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 02, 2002 7:11 PM
 To: Jboss-User
 Subject: Jboss3.x beta docs... where are they?
 
 
 hey all-
been looking up and down the net for decent 
 installation/configuration docs for JB3.x beta... cant' find 
 any... where do they live?
 
 -T
 
 --
 Todd C. Marshall
 Technical Consultant
 214-395-4502 

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



RE: [JBoss-user] custom login module trouble (found a bug)

2002-03-29 Thread Todd Marshall

Not sure if this is new, didn't see any postings on it

My problem turned out to be that I had an underscore _ character in the name
of login module entry in auth.conf

here's the offending entry in auth.conf:

ejb_login_module
{
// use the proxy login module to load my custom one
org.jboss.security.auth.spi.ProxyLoginModule required
moduleName=com.todd.security.auth.EjbLoginModule
;
};

When I change it to:
ejbloginmodule
{
// use the proxy login module to load my custom one
org.jboss.security.auth.spi.ProxyLoginModule required
moduleName=com.todd.security.auth.EjbLoginModule
;
};

The exception from my previous post (included below) is not thrown

I'm using jboss2.4.4 bundled with catalina.

-Todd


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Todd
 Marshall
 Sent: Thursday, March 28, 2002 6:33 PM
 To: Jboss-User
 Subject: [JBoss-user] custom login module trouble


 Hey all-

   I've created a custom login module.  I use the ProxyLoginModule to load
 it.  The ear starts up fine, and it looks like every thing loads properly.

 however, when I click on a secured resource, instead of getting a login
 window, I get the following exception:

 [ERROR,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] process.invoke
 java.lang.SecurityException: Configuration Error:
 Line 16: expected '{', found 'null'
 at
 com.sun.security.auth.login.ConfigFile.getAppConfigurationEntry(Co
 nfigFile.j
 ava:221)
 at
 javax.security.auth.login.LoginContext.init(LoginContext.java:172)
 at
 javax.security.auth.login.LoginContext.init(LoginContext.java:266)
 at
 javax.security.auth.login.LoginContext.init(LoginContext.java:380)
 at
 org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSe
 curityMana
 ger.java:393)
 at
 org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSe
 curityMana
 ger.java:361)
 at
 org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurit
 yManager.j
 ava:217)
 at
 org.jboss.web.catalina.security.JBossSecurityMgrRealm.authenticate
 (JBossSecu
 rityMgrRealm.java:253)
 at
 org.apache.catalina.authenticator.BasicAuthenticator.authenticate(
 BasicAuthe
 nticator.java:161)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authent
 icatorBase
 .java:493)
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
 ine.java:5
 64)
 at
 org.apache.catalina.valves.CertificatesValve.invoke(CertificatesVa
 lve.java:2
 46)
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
 ine.java:5
 64)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
 java:472)
 at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
 org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv
 e.java:164
 )
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
 ine.java:5
 66)
 at
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispat
 cherValve.
 java:170)
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
 ine.java:5
 64)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv
 e.java:170
 )
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
 ine.java:5
 64)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
 java:472)
 at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine
 Valve.java
 :163)
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
 ine.java:5
 66)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
 java:472)
 at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
 org.apache.catalina.connector.http.HttpProcessor.process(HttpProce
 ssor.java:
 1011)
 at
 org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor
 .java:1106
 )
 at java.lang.Thread.run(Thread.java:484)

 Has anyone seen this, or does anyone know how I can find out
 which conf file
 it is choking on?
 The only one I modified was auth.conf, and I've gone over it with a fine
 tooth comb.

 -T

 --
 Todd C. Marshall
 Technical Consultant
 214-395-4502


 ___
 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] custom login module trouble

2002-03-28 Thread Todd Marshall

Hey all-

  I've created a custom login module.  I use the ProxyLoginModule to load
it.  The ear starts up fine, and it looks like every thing loads properly.

however, when I click on a secured resource, instead of getting a login
window, I get the following exception:

[ERROR,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] process.invoke
java.lang.SecurityException: Configuration Error:
Line 16: expected '{', found 'null'
at
com.sun.security.auth.login.ConfigFile.getAppConfigurationEntry(ConfigFile.j
ava:221)
at
javax.security.auth.login.LoginContext.init(LoginContext.java:172)
at
javax.security.auth.login.LoginContext.init(LoginContext.java:266)
at
javax.security.auth.login.LoginContext.init(LoginContext.java:380)
at
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityMana
ger.java:393)
at
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityMana
ger.java:361)
at
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.j
ava:217)
at
org.jboss.web.catalina.security.JBossSecurityMgrRealm.authenticate(JBossSecu
rityMgrRealm.java:253)
at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthe
nticator.java:161)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:493)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1011)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
)
at java.lang.Thread.run(Thread.java:484)

Has anyone seen this, or does anyone know how I can find out which conf file
it is choking on?
The only one I modified was auth.conf, and I've gone over it with a fine
tooth comb.

-T

--
Todd C. Marshall
Technical Consultant
214-395-4502


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



RE: [JBoss-user] I'm the Invisible Man

2002-03-27 Thread Todd Marshall

Howdey Peter :)

While I have had some success with the forums, I do get a much quicker
response with the list.
However, before I post a question here, I search the forums to see if it has
been addressed already, then I hit the list archive.  99.9% of the time
these two options will point me in the right direction.  When I do post,
everyone has been really cool...  I have had a couple of posts met with
silence, but I figure that's cause no one here has a good answer to my
question (I've either been too general, or it's a problem no one has seen
before).

Also, when I do find a solution to what I believe to be a common problem
that hasn't been addressed on the board, I try to remember to post it over
there (I post as laz777), so it will come up in future searches.

Welcome :)

-Todd


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



[JBoss-user] searching the forums

2002-03-27 Thread Todd Marshall

Hey all-
  I need to write a custom login module.  I run some searches on the forums,
cause I figure this is a pretty common exercise.
My search for custom login module returns with around 26 items, but only
two are displayed... I run into similar problems all the time


The fact that the forums are unreliable makes the whole community look
bad...  How can we expect the world at large to adopt jboss when our own
user forum is a piece of #%$?  How does this look to people that are
evaluating jboss for use at their company   I assume the forums aren't
actually running on jboss, but that is irrelevant...

-Todd



--
Todd C. Marshall
Technical Consultant
214-395-4502


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



RE: [JBoss-user] searching the forums

2002-03-27 Thread Todd Marshall

Dmitri-
   It seems that the problem has to do with long search strings, and search
strings that are in quotes.

 Is there a point to your post, or are you just frustrated?
While I admit I was a bit frustrated in my previous post, I'm not just
blowing off steam.
I believe the point I'm trying to make is valid, and points to an issue that
is endemic within the open source community.  Most all of us are developers
ourselves, and will put up with a certain amount of buggy behavior.  But
this same attitude causes problems when you try to break into the
mainstream.

I love JBoss, I think it's the best damn thing since sliced bread. But when
I try to recommend it to my clients, and point them at the JBoss website,
I'd like to think it (the website) is going to work properly.

 I'm guessing they could be running on JBoss, the your criticism
 should be aimed at jive, which is the forum software I believe.  It
 is the same software that sun use on their forums afaik.

My main point is that it doesn't matter what the forums are running on.  The
perception will be that if the website that the developers of JBoss put up
to promote the use of their product doesn't work properly, then why should I
use their software for my enterprise application?  It doesn't matter that
the forum software is written by a third party, the perception is the same.
whew :)

Anyway, I know I'm picking nits here.  However, it's very similar to writing
a resume, but not correcting all the spelling mistakes.  It creates a
perception of stupidity and inattention to detail that may not reflect
reality.

BTW- just for giggles, I ran some long searches on Sun's java forums and the
results came back fine.  So either they corrected the bug, or it is a
configuration issue.

Thanks for your rapid response Dmitri :)

-Todd

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dmitri
 Colebatch
 Sent: Wednesday, March 27, 2002 8:58 PM
 To: Todd Marshall; Jboss-User
 Subject: Re: [JBoss-user] searching the forums


I need to write a custom login module.  I run some searches
 on the forums,
  cause I figure this is a pretty common exercise.
  My search for custom login module returns with around 26
 items, but only
  two are displayed... I run into similar problems all the time

 I ran the same search,
 Search Results: 1428 [Results Per Page: 10]

 are you searching all forums, or just security?  on security I got:

 Search Results: 487 [Results Per Page: 10]

  The fact that the forums are unreliable makes the whole community look
  bad...  How can we expect the world at large to adopt jboss when our own
  user forum is a piece of #%$?  How does this look to people that are
  evaluating jboss for use at their company   I assume the
 forums aren't
  actually running on jboss, but that is irrelevant...





 cheers
 dim


 ___
 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] searching the forums

2002-03-27 Thread Todd Marshall

John-
  I was searching in quotes custom login module.  My problem was not the
lack of results ( I got 26 that contained the text string custom login
module) my problem is the fact that only two of the results were actually
made available.  You'll bump into the same problem if you use any long
search string.

Try searching for DatabaseServerLoginModule
(http://main.jboss.org/search.jsp?search=trueq=DatabaseServerLoginModulefo
rums=-1date=anyuser=range=10)
you'll find the same problem.

I've tried it in IE, Netscape, and Lynx

-Todd

 -Original Message-
 From: John Childress [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 27, 2002 8:40 PM
 To: Todd Marshall
 Subject: Re: [JBoss-user] searching the forums


 Todd,

 what are you talking about?  I searched All Forums for your phrase and
 1428 results were returned:

 http://main.jboss.org/search.jsp?search=trueq=custom+login+module
 forums=-1
 x=0y=0

 I then searched the Security  JBossSX forum and 487 results were
 returned:

 http://main.jboss.org/search.jsp?forums=49search=trueq=custom+lo
 gin+module
 forums=49date=anyuser=range=10

 Are you sure you are on the JBoss forums?

 John
 - Original Message -
 From: Todd Marshall [EMAIL PROTECTED]
 To: Jboss-User [EMAIL PROTECTED]
 Sent: Wednesday, March 27, 2002 8:24 PM
 Subject: [JBoss-user] searching the forums


  Hey all-
I need to write a custom login module.  I run some searches on the
 forums,
  cause I figure this is a pretty common exercise.
  My search for custom login module returns with around 26
 items, but only
  two are displayed... I run into similar problems all the time
 
 
  The fact that the forums are unreliable makes the whole community look
  bad...  How can we expect the world at large to adopt jboss when our own
  user forum is a piece of #%$?  How does this look to people that are
  evaluating jboss for use at their company   I assume the
 forums aren't
  actually running on jboss, but that is irrelevant...
 
  -Todd
 
 
 
  --
  Todd C. Marshall
  Technical Consultant
  214-395-4502
 
 
  ___
  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] searching the forums

2002-03-27 Thread Todd Marshall

lol

saw that coming :)

Since I happen to be the sqeeky wheel here, I'll take a look at jive  and
see if I can track the problem down.

-T

 -Original Message-
 From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 27, 2002 10:42 PM
 To: Todd Marshall; Jboss-User
 Subject: Re: [JBoss-user] searching the forums


 It seems that the problem has to do with long search
 strings, and search
  strings that are in quotes.

 a... I thought you were just quoting the search string, I
 didn't realise that the quotes were part of the search string.  yes, I
 see the bug you refer to.  btw...

 [snip]

  My main point is that it doesn't matter what the forums are
 running on.  The
  perception will be that if the website that the developers of
 JBoss put up
  to promote the use of their product doesn't work properly, then
 why should I
  use their software for my enterprise application?  It doesn't
 matter that
  the forum software is written by a third party, the perception
 is the same.
  whew :)
 
  Anyway, I know I'm picking nits here.  However, it's very
 similar to writing
  a resume, but not correcting all the spelling mistakes.  It creates a
  perception of stupidity and inattention to detail that may not reflect
  reality.

 valid point... I hear what you're saying.

 Note that the source of jive is available
 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/website-forum
 s/src/lib/jive.jar and
 with jive being nice model 1 code (lol), its all in the jsp, so
 it is fixable.  I'm at work, and so not going to look at it now, but
 its the sort of thing that any user could probably fix given a
 little bit of time.  I belive that the jar contains pretty well
 everything that is required...  all you need is a servlet
 container and a database jboss has both (o:

 if ppl in charge of the website (Marc?) share Todd's opinion,
 perhaps it _might_ be worth considering a website area in sf's bug
 system.  This sounds like opening a can of worms to me, but it
 would be applicable in this situation.

 just my 2c

  BTW- just for giggles, I ran some long searches on Sun's java
 forums and the
  results came back fine.  So either they corrected the bug, or it is a
  configuration issue.

 hehe... that would've been interesting indeed

 cheesr
 dim




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



RE: [JBoss-user] webapp post deployment issue

2002-03-23 Thread Todd Marshall

mark, 
 
what's your web.xml file look like?

-T

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Wolfe
 Sent: Saturday, March 23, 2002 2:38 AM
 To: JBoss Users
 Subject: [JBoss-user] webapp post deployment issue
 
 
 I am trying to get a web app to deploy by dropping webappname.war into
 the deploy directory of jboss and i get the following error. 
 
 It seems that if i go to http://localhost:8080/webappname/ i get a list
 of files. If i then click on one of the html file links it throws the
 following. It is interesting to note that the path to the selected file
 is http://localhost:8080/webappname//file.html.
 
 Any idea why this could be occuring??
 
 This is the first time i used JBoss for web apps so hopefully i have not
 stuffed up tooo bad :)
 
 Regards,
 
 Mark Wolfe
 
 
 
 SYSTEM INFO
 
 JBOSS_CLASSPATH=;C:\jdk1.3.1_01/lib/tools.jar;run.jar;../lib/crimson.jar
 jboss.home = D:\JBoss\jboss
 Using JAAS LoginConfig: file:/D:/JBoss/jboss/conf/catalina/auth.conf
 JBoss release: JBoss-2.4.4 CVSTag=JBoss_2_4_4
 JBoss version: 2.4.4.2001-12-29 02:04:40 PST
 Using configuration catalina
 [INFO,root] Started Log4jService,
 config=file:/D:/JBoss/jboss/conf/catalina/log4
 j.properties
 [INFO,Info] Java version: 1.4.0,Sun Microsystems Inc.
 [INFO,Info] Java VM: Java HotSpot(TM) Client VM 1.4.0-b92,Sun
 Microsystems Inc.
 [INFO,Info] System: Windows XP 5.1,x86
 [INFO,Shutdown] Shutdown hook added
 [INFO,ServiceControl] Initializing 47 MBeans
 
 
 Stack DUMP
 
 
 [INFO,EmbeddedCatalinaServiceSX] StandardHost[localhost]: MAPPING
 configuration
 error for request URI
 [ERROR,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] process.invoke
 java.lang.NullPointerException
 at
 org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispat
 cherValve.java:280)
 at
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispat
 cherValve.java:180)
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
 ine.java:564)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv
 e.java:170)
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
 ine.java:564)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
 java:472)
 at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine
 Valve.java:163)
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
 ine.java:566)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
 java:472)
 at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
 org.apache.catalina.connector.http.HttpProcessor.process(HttpProce
 ssor.java:1011)
 at
 org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor
 .java:1106)
 at java.lang.Thread.run(Thread.java:536)
 
 
 
 ___
 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] trying to buy the server docs

2002-03-19 Thread Todd Marshall

Anyone know if there is an alternative to flashline.com for purchasing
JBoss2.4 documentation?

I've been trying to buy them for the last couple of days to no avail

-Todd

--
Todd C. Marshall
Technical Consultant
214-395-4502


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



RE: [JBoss-user] forums?

2002-03-11 Thread Todd Marshall

Yup, I've seen the same thing.

-T

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eric Jain
Sent: Monday, March 11, 2002 3:07 AM
To: jBoss-user
Subject: RE: [JBoss-user] forums?


 So now forums are unusable for me. I know they worked before because
 have posted and replied there, but now I can't login or reply.

I don't have any problems there, however I notice that the search results
for certain queries get cut off in the middle of the page. Neither reloading
nor using another browser helps. I hope the forum is not running on a JBoss
server, that would create a rather bad impression, but then maybe it's just
me having this problem.


--
Eric Jain


___
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] 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



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] Finder Method in JBoss

2002-03-05 Thread Todd Marshall

if you
 select id from customer order by id DESC

then get the first row returned by this query, it will be your max id


-Todd

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christine
Sent: Tuesday, March 05, 2002 5:01 PM
To: Burkhard Vogel
Cc: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Finder Method in JBoss


Hi, The reason I have this issue is because I am actually implementing the
auto_increment by myself. The whole store is:
I have a table with an integer type unique ID. everytime, when I create a
new
EJB object, I call the finderMaxID method to get the MAX ID, then MAX ID + 1
to
get the new max id and create a new EJB object. at the same time, insert a
new
record to the table. In the whereclause for the finderMaxID, i used  WHERE
ID
IN (SELECT MAX(ID) FROM Customer). Now, MySQL doesn't support sub-select. I
have to use other way to do so.
I am not sure whether I understood what you mean, but how can ORDER BY ID
help?

Burkhard Vogel wrote:

 Hi,
 if you are in one table and you have only one line which will be MAX, you
 could use ORDER BY ID desc . Which will be much faster as well, if in two
 tables, join them and do the same... But if there are more than one
value...
 Wait for MySQL 4.0 which will support subqueries.
 Regards
 Burkhard
 - Original Message -
 From: Christine [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, March 01, 2002 1:12 PM
 Subject: [JBoss-user] Finder Method in JBoss

  Hi,
 
  I have a finder method which use sub-select as following:
  findMaxIDWhereClause : ID IN (SELECT MAX(ID) FROM Customer)
  it works fine when I used IBM WebSphere and DB2. Now I am switching to
  JBoss + Tomcat + MySQL. Cause MySQL doesn't support sub-select. Does
  anyone know whether there is some other way to get my
  findMaxIDWhereClause work without have to change code? Thanks in
  advance!
 
  regards,
  --
  Jia (Christine) Li
 
  524N ICT Building
  Department of Computer Science
  University of Calgary
 
 
 
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user

--
Jia (Christine) Li

524N ICT Building
Department of Computer Science
University of Calgary



___
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