Re: [JBoss-user] New User Servlet setup question

2004-02-19 Thread Thomas Preston
I have found why the /servlet/MyServlet is not found.  With newer Tomcat the 
/servlet default servlet path is not any longer enabled (it's disabled by 
default).  As soon as I uncomment the servlet-mapping which enables the 
/servlet path, the simple servlet works (though this is no longer the 
recommended way to use servlets with Tomcat:

http://www.jguru.com/faq/view.jsp?EID=1105228
"With Tomcat 4.x the Jakarta developers have decided to stop allowing this 
by default. The  tag that sets this mapping up, has been 
commented inside the default web application descriptor (web.xml), located 
under $CATALINA_HOME/conf"

Tom

From: Andrew Oliver <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] New User Servlet setup question
Date: Wed, 18 Feb 2004 13:28:40 -0500
You¹ve got the web.xml syntax wrong:

(from server/default/deploy/jmx-console/WEB-INF/web.xml

 
   
   HtmlAdaptor
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet
   
...
   
  HtmlAdaptor
  /HtmlAdaptor
   
 
You can find dtds in $JBOSS_HOME/docs/dtds.  Many editors will use these to
help validate/complete as you type.
Shameless plug:
There are labs for this in JBoss intro to J2EE training as well.
-Andy

From: "Thomas Preston" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Wed, 18 Feb 2004 11:36:33 -0500
To: [EMAIL PROTECTED]
Subject: [JBoss-user] New User Servlet setup question
Hi -- I've installed JBoss with embedded Tomcat.  I have created an ear 
file
with a war file in it with a JSP and Servlet inside.  I followed these
instructions exactly.  I install the ear, I can get to the JSP but not to
the Servlet.  When attempting to invoke the servlet I get a 404:

http://www.roseindia.net/jboss/buildingwebapplicationwithant.shtml

http://localhost:8080/example2/index.jsp  works ok

http://localhost:8080/example2/servlet/HelloWorld  doesn't work

I found the Tomcat invoker servlet and added a url-pattern in case the
/servlet default wasn't working.

invoker
/servlet/*

  org.apache.catalina.servlets.InvokerServlet


debug
0

2

Can someone lead me in the correct direction to see if the servlet is
installed and how to access it?
THanks

Tom

 Get a FREE online computer virus scan from McAfee when you click here.
<http://g.msn.com/8HMBENUS/2755??PS=>
--- SF.Net is sponsored
by: Speed Start Your Linux Apps Now. Build and deploy apps  Web services 
for
Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356_id=3438=click
___ JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

_
Say “good-bye” to spam, viruses and pop-ups with MSN Premium -- free trial 
offer! http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] New User Servlet setup question

2004-02-18 Thread Andrew Oliver
Title: Re: [JBoss-user] New User Servlet setup question



You’ve got the web.xml syntax wrong:

(from server/default/deploy/jmx-console/WEB-INF/web.xml

 
     
   HtmlAdaptor  
   org.jboss.jmx.adaptor.html.HtmlAdaptorServlet   
   
...
   
  HtmlAdaptor
  /HtmlAdaptor
   
 

You can find dtds in $JBOSS_HOME/docs/dtds.  Many editors will use these to help validate/complete as you type.

Shameless plug:
There are labs for this in JBoss intro to J2EE training as well.

-Andy

From: "Thomas Preston" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Wed, 18 Feb 2004 11:36:33 -0500
To: [EMAIL PROTECTED]
Subject: [JBoss-user] New User Servlet setup question


Hi -- I've installed JBoss with embedded Tomcat.  I have created an ear file with a war file in it with a JSP and Servlet inside.  I followed these instructions exactly.  I install the ear, I can get to the JSP but not to the Servlet.  When attempting to invoke the servlet I get a 404:

http://www.roseindia.net/jboss/buildingwebapplicationwithant.shtml

http://localhost:8080/example2/index.jsp  works ok

http://localhost:8080/example2/servlet/HelloWorld  doesn't work

I found the Tomcat invoker servlet and added a url-pattern in case the /servlet default wasn't working. 


invoker
/servlet/*

  org.apache.catalina.servlets.InvokerServlet


debug
0

2


Can someone lead me in the correct direction to see if the servlet is installed and how to access it?

THanks

Tom

 Get a FREE online computer virus scan from McAfee when you click here.   --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps  Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356_id=3438=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user






[JBoss-user] New User Servlet setup question

2004-02-18 Thread Thomas Preston

Hi -- I've installed JBoss with embedded Tomcat.  I have created an ear file with a war file in it with a JSP and Servlet inside.  I followed these instructions exactly.  I install the ear, I can get to the JSP but not to the Servlet.  When attempting to invoke the servlet I get a 404:
http://www.roseindia.net/jboss/buildingwebapplicationwithant.shtml
http://localhost:8080/example2/index.jsp  works ok
http://localhost:8080/example2/servlet/HelloWorld  doesn't work
I found the Tomcat invoker servlet and added a url-pattern in case the /servlet default wasn't working. 
        invoker    /servlet/*      org.apache.catalina.servlets.InvokerServlet            debug    0        2    
Can someone lead me in the correct direction to see if the servlet is installed and how to access it?
THanks
Tom Get a FREE online computer virus scan from McAfee when you click here. 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] NullPointer on tomcat-test.ear deploy was: Re: [JBoss-user] New user

2001-07-28 Thread Scott M Stark

The bundle requires no configuration changes. The tomcathowto is for setting
up a bundle and its outdated.

- Original Message - 
From: "Dan Bereczki" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 28, 2001 8:46 AM
Subject: [JBoss-user] NullPointer on tomcat-test.ear deploy was: Re: [JBoss-user] New 
user


> I am using the jboss-2.2.2_tomcat-3.2.2 bundle.  After making the changes 
> to the config files indicated in the online doc tomcathowto,  I still get a 
> NullPointerException when the tomcat-test.ear tries to deploy.
> 
> [Auto deploy] java.lang.NullPointerException
> [Auto deploy]   at 
> org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(Embedd
> edTomcatServiceSX.java:103)
> 
> Any ideas?
> 
> At 06:49 PM 7/27/2001 -0700, you wrote:
> >So why don't you try to use the JBoss/Tomcat bundle that comes preconfigured
> >to avoid these problems?
> >
> >- Original Message -
> >From: "Dan Bereczki" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Friday, July 27, 2001 6:12 PM
> >Subject: Re: [JBoss-user] New user
> >
> >
> > > Hi Shiva,
> > >
> > >  From one Newbie to another, I ran into the same error, until I fixed the
> > > path for the TOMCAT_HOME in the jboss.conf file.  First make sure you
> > > replace the default "put your path to tomcat here", then when you're doing
> > > that make sure you don't leave off the trailing "/"  like I did.
> > >
> > > Now for another Newbie question - Now that tomcat is loading, when the
> > > tomcat-test.ear tries to deploy I get a null pointer error:
> > > [Auto deploy]   at
> > > org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(Embedd
> > > edTomcatServiceSX.java:103)
> > >
> > > Anyone else know what I'm doing wrong?
> > >
> > > Dan
> > >
> >
> >
> >
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


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



[JBoss-user] NullPointer on tomcat-test.ear deploy was: Re: [JBoss-user]New user

2001-07-28 Thread Dan Bereczki

I am using the jboss-2.2.2_tomcat-3.2.2 bundle.  After making the changes 
to the config files indicated in the online doc tomcathowto,  I still get a 
NullPointerException when the tomcat-test.ear tries to deploy.

[Auto deploy] java.lang.NullPointerException
[Auto deploy]   at 
org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(Embedd
edTomcatServiceSX.java:103)

Any ideas?

At 06:49 PM 7/27/2001 -0700, you wrote:
>So why don't you try to use the JBoss/Tomcat bundle that comes preconfigured
>to avoid these problems?
>
>- Original Message -
>From: "Dan Bereczki" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, July 27, 2001 6:12 PM
>Subject: Re: [JBoss-user] New user
>
>
> > Hi Shiva,
> >
> >  From one Newbie to another, I ran into the same error, until I fixed the
> > path for the TOMCAT_HOME in the jboss.conf file.  First make sure you
> > replace the default "put your path to tomcat here", then when you're doing
> > that make sure you don't leave off the trailing "/"  like I did.
> >
> > Now for another Newbie question - Now that tomcat is loading, when the
> > tomcat-test.ear tries to deploy I get a null pointer error:
> > [Auto deploy]   at
> > org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(Embedd
> > edTomcatServiceSX.java:103)
> >
> > Anyone else know what I'm doing wrong?
> >
> > Dan
> >
>
>
>
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user


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



RE: [JBoss-user] New user

2001-07-27 Thread marc fleury

cause it's much more fun to dump questions on you?

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Scott M
|Stark
|Sent: Friday, July 27, 2001 9:49 PM
|To: [EMAIL PROTECTED]
|Subject: Re: [JBoss-user] New user
|
|
|So why don't you try to use the JBoss/Tomcat bundle that comes 
|preconfigured
|to avoid these problems?
|
|- Original Message - 
|From: "Dan Bereczki" <[EMAIL PROTECTED]>
|To: <[EMAIL PROTECTED]>
|Sent: Friday, July 27, 2001 6:12 PM
|Subject: Re: [JBoss-user] New user
|
|
|> Hi Shiva,
|> 
|>  From one Newbie to another, I ran into the same error, until I 
|fixed the 
|> path for the TOMCAT_HOME in the jboss.conf file.  First make sure you 
|> replace the default "put your path to tomcat here", then when 
|you're doing 
|> that make sure you don't leave off the trailing "/"  like I did.
|> 
|> Now for another Newbie question - Now that tomcat is loading, when the 
|> tomcat-test.ear tries to deploy I get a null pointer error:
|> [Auto deploy]   at 
|> org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(Embedd
|> edTomcatServiceSX.java:103)
|> 
|> Anyone else know what I'm doing wrong?
|> 
|> Dan
|> 
|
|
|
|___
|JBoss-user mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-user

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



Re: [JBoss-user] New user

2001-07-27 Thread Scott M Stark

So why don't you try to use the JBoss/Tomcat bundle that comes preconfigured
to avoid these problems?

- Original Message - 
From: "Dan Bereczki" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 6:12 PM
Subject: Re: [JBoss-user] New user


> Hi Shiva,
> 
>  From one Newbie to another, I ran into the same error, until I fixed the 
> path for the TOMCAT_HOME in the jboss.conf file.  First make sure you 
> replace the default "put your path to tomcat here", then when you're doing 
> that make sure you don't leave off the trailing "/"  like I did.
> 
> Now for another Newbie question - Now that tomcat is loading, when the 
> tomcat-test.ear tries to deploy I get a null pointer error:
> [Auto deploy]   at 
> org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(Embedd
> edTomcatServiceSX.java:103)
> 
> Anyone else know what I'm doing wrong?
> 
> Dan
> 



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



Re: [JBoss-user] New user

2001-07-27 Thread Dan Bereczki

Hi Shiva,

 From one Newbie to another, I ran into the same error, until I fixed the 
path for the TOMCAT_HOME in the jboss.conf file.  First make sure you 
replace the default "put your path to tomcat here", then when you're doing 
that make sure you don't leave off the trailing "/"  like I did.

Now for another Newbie question - Now that tomcat is loading, when the 
tomcat-test.ear tries to deploy I get a null pointer error:
[Auto deploy]   at 
org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(Embedd
edTomcatServiceSX.java:103)

Anyone else know what I'm doing wrong?

Dan

At 01:24 PM 7/27/2001 -0700, you wrote:
>Hi All,
>I am newbie to JBoss. Got most of the things working except
>for the Tomcat and JBoss integration. I am on Windows NT
>4.0 with SP 6.
>My JBoss version is 2.2.2 and my Tomcat is 3.2.3. Below is
>the error I am getting
>
>[EmbeddedTomcatSX] Starting
>[EmbeddedTomcatSX] Starting EmbeddedTomcatSX
>[Service Control] Could not start
>DefaultDomain:service=EmbeddedTomcatSX
>[Service Control] java.lang.NoClassDefFoundError:
>org/apache/tomcat/util/xml/Xml
>Action
>[Service Control]   at
>org.jboss.tomcat.EmbeddedTomcatServiceSX.startService
>(EmbeddedTomcatServiceSX.java:80)
>[Service Control]   at
>org.jboss.util.ServiceMBeanSupport.start(ServiceMBean
>Support.java:93)
>[Service Control]   at
>java.lang.reflect.Method.invoke(Native Method)
>[Service Control]   at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
>rverImpl.java:1628)
>[Service Control]   at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
>rverImpl.java:1523)
>[Service Control]   at
>org.jboss.util.ServiceControl.start(ServiceControl.ja
>va:97)
>[Service Control]   at
>java.lang.reflect.Method.invoke(Native Method)
>[Service Control]   at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
>rverImpl.java:1628)
>[Service Control]   at
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
>rverImpl.java:1523)
>[Service Control]   at
>org.jboss.Main.(Main.java:217)
>[Service Control]   at
>org.jboss.Main$1.run(Main.java:121)
>[Service Control]   at
>java.security.AccessController.doPrivileged(Native Me
>thod)
>[Service Control]   at
>org.jboss.Main.main(Main.java:117)
>
>I am also attaching the jboss.conf, jboss.jcml and the
>server.xml of tomcat. I would really appreciate if someone
>could help me in this regard.
>
>Thanks,
>Shiva.
>
>__
>Do You Yahoo!?
>Make international calls for as low as $.04/minute with Yahoo! Messenger
>http://phonecard.yahoo.com/
>
>
>
>
>   
>name="DefaultDomain:service=Webserver">
> 8083
>   
>
>   
>name="DefaultDomain:service=Naming">
> 1099
>   
>name="DefaultDomain:service=JNDIView" />
>
>
>   
>name="DefaultDomain:service=TransactionManager">
> 300
>   
>
>   
>
>   
>   
>
>   
>name="Security:name=JaasSecurityManager">
>  
>name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityManager
>   
>
>   
>
>   
>name="DefaultDomain:service=JdbcProvider">
>  oracle.jdbc.driver.OracleDriver
>   
>
>name="DefaultDomain:service=XADataSource,name=OracleDB">
>  OraclePool
>   
>name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl
>  jdbc:oracle:thin:@localhost:1521:ORCL
>  scott
>  tiger
>   
>
>
>   
>
>name=":service=ContainerFactory">
> true
> false
> true
> false
>   
>
>   
>name="DefaultDomain:service=EmbeddedTomcatSX" />
>
>
>   
>
>   
>name="DefaultDomain:service=JBossMQ" />
>name=":service=JMSProviderLoader,name=JBossMQProvider">
> DefaultJMSProvider
>  name="ProviderAdapterClass">org.jboss.jms.jndi.JBossMQProvider
>   
>name=":service=ServerSessionPoolMBean,name=StdJMSPool">
> StdJMSPool
>  name="PoolFactoryClass">org.jboss.jms.asf.StdServerSessionPoolFactory
>   
>
>
>   
>name="J2EE:service=J2eeDeployer">
> Default
> :service=ContainerFactory
> :service=EmbeddedTomcat
>   
>
>   
> J2EE:service=J2eeDeployer
> ../deploy
>   
>
>   
>name="JCA:service=RARDeployer">
>   
>
>   
>
>name="JCA:service=ConnectionManagerFactoryLoader,name=MinervaNoTransCMFactory">
> MinervaNoTransCMFactory
>  
>name="FactoryClass">org.opentools.minerva.connector.jboss.MinervaNoTransCMFactory
> 
>   
>
>   
>
>name="JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory">
> MinervaSharedLocalCMFactory
> 
>   org.opentools.minerva.connector.jboss.MinervaSharedLocalCMFactory
> 
> 
>   
>
>   
>
>name="JCA:service=ConnectionManagerFactoryLoader,name=MinervaXACMFactory">
> MinervaXACMFactory
> 
>   org.opentools.minerva.connector.jboss.MinervaXACMFactory
> 
> 
>   
>
>   
> name="JCA:service=ConnectionFactoryLoader,name=BlackBoxDS">
> BlackBoxDS
> JCA:service=RARDeployer
> Black Box LocalTx 
> Adapter
> 
>

[JBoss-user] New user

2001-07-27 Thread Shiva P

Hi All,
I am newbie to JBoss. Got most of the things working except
for the Tomcat and JBoss integration. I am on Windows NT
4.0 with SP 6.
My JBoss version is 2.2.2 and my Tomcat is 3.2.3. Below is
the error I am getting

[EmbeddedTomcatSX] Starting
[EmbeddedTomcatSX] Starting EmbeddedTomcatSX
[Service Control] Could not start
DefaultDomain:service=EmbeddedTomcatSX
[Service Control] java.lang.NoClassDefFoundError:
org/apache/tomcat/util/xml/Xml
Action
[Service Control]   at
org.jboss.tomcat.EmbeddedTomcatServiceSX.startService
(EmbeddedTomcatServiceSX.java:80)
[Service Control]   at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBean
Support.java:93)
[Service Control]   at
java.lang.reflect.Method.invoke(Native Method)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Service Control]   at
org.jboss.util.ServiceControl.start(ServiceControl.ja
va:97)
[Service Control]   at
java.lang.reflect.Method.invoke(Native Method)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Service Control]   at
org.jboss.Main.(Main.java:217)
[Service Control]   at
org.jboss.Main$1.run(Main.java:121)
[Service Control]   at
java.security.AccessController.doPrivileged(Native Me
thod)
[Service Control]   at
org.jboss.Main.main(Main.java:117)

I am also attaching the jboss.conf, jboss.jcml and the
server.xml of tomcat. I would really appreciate if someone
could help me in this regard.

Thanks,
Shiva.

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
 jboss.conf





  
  
8083
  

  
  
1099
  
  


  
  
300
  

  

  
  

  
  
org.jboss.security.plugins.JaasSecurityManager
  

  

  
  
 oracle.jdbc.driver.OracleDriver
  

  
 OraclePool
 org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl
 jdbc:oracle:thin:@localhost:1521:ORCL
 scott
 tiger
  


  

  
true
false
true
false
  

  
  


  

  
  
  
DefaultJMSProvider
org.jboss.jms.jndi.JBossMQProvider
  
  
StdJMSPool
org.jboss.jms.asf.StdServerSessionPoolFactory
  


  
  
Default
:service=ContainerFactory
:service=EmbeddedTomcat
  

  
J2EE:service=J2eeDeployer
../deploy
  

  
  
  

  
  
MinervaNoTransCMFactory
org.opentools.minerva.connector.jboss.MinervaNoTransCMFactory

  

  
  
MinervaSharedLocalCMFactory

  org.opentools.minerva.connector.jboss.MinervaSharedLocalCMFactory


  

  
  
MinervaXACMFactory

  org.opentools.minerva.connector.jboss.MinervaXACMFactory


  

  
  
BlackBoxDS
JCA:service=RARDeployer
Black Box LocalTx Adapter

  ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:1476



  MinervaSharedLocalCMFactory



  # Pool type - uncomment to force, otherwise it is the default
  #PoolConfiguration=per-factory

  # Connection pooling properties - see
  # org.opentools.minerva.pool.PoolParameters
  MinSize=0
  MaxSize=10
  Blocking=true
  GCEnabled=false
  IdleTimeoutEnabled=false
  InvalidateOnError=false
  TrackLastUsed=false
  GCIntervalMillis=12
  GCMinIdleMillis=120
  IdleTimeoutMillis=180
  MaxIdleTimeoutPercent=1.0




  org.jboss.resource.security.ManyToOnePrincipalMapping


  userName=sa
  password=

  

  

  
  

  

  
10

8082
  

  
  
Mail
mail.properties
user_id
password
  

  

  





















  














   
   
   
   
   

   
   
   






















   
   


   





  



















 



 









Re: [JBoss-user] New User of Jboss

2001-05-06 Thread Vinay Menon
Do you want to try cleaning up the .jar directories under your tmp folder, restart jboss and try a fresh deploy. If it still fails please send the stack trace. Lets see what we can do about it.   Vinay   - Original Message - From: Sachin S. Khanna Sent: Sunday, May 06, 2001 7:42 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] New User of Jboss   Hello List,         I appreciate Vinay's suggestion as it helped me overcome my earlier error, thanks for it Vinay but i have got stuck with the following error:   "[Auto deploy] Deployment failed:file:/C:/jboss-2.2/deploy/ch24.jar[Auto deploy] org.jboss.deployment.J2eeDeploymentException: Error while starting ch24.jar: Could not deploy file:/C:/jboss-2.2/tmp/deploy/Default/ch24.jar[Auto deploy]   at org.jboss.deployment.J2eeDeployer.startApplication(Compiled Code)[Auto deploy]   at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)"   I'd appreciate if someone could help me with the solving the above error.Looking forward to hearing from you. Have a nice day.With regards,Sachin S. Khanna  - Original Message -  From: Vinay Menon  To: JBOSS  Sent: Saturday, May 05, 2001 9:30 PM Subject: Re: [JBoss-user] New User of Jboss  Make sure that you do not have any other jboss.xml and ejb-jar.xml in path. For eg. it you have a directory META-INF under say C:\Work and C:\Work is in the class path .. remove it! The ejb-jar.xml and jboss.xml are loaded from classpath and if it appears in the system class path anywhere the JBoss deployer will take  it from there instead of the jar that you provide.   Vinay   - Original Message - From: Sachin S. Khanna Sent: Saturday, May 05, 2001 1:23 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] New User of Jboss Hello List,         I have installed jboss-2.2 on a windows 98 machine having a jdk 1.2 installed on it. When i try to deploy an ejb application it throws an DeploymentException:Error in jboss.xml for Bean Product: found in jboss.xml but not in ejb-jar.xml. I'd appreciate if somebody could help me solve this problem. Looking forward to hearing from you. Have a nice day.With regards,Sachin S. Khannahttp://www.emailanorder.comGet your FREE download of MSN Explorer at http://explorer.msn.com  Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: [JBoss-user] New User of Jboss

2001-05-05 Thread Sachin S. Khanna



Hello List,
        I appreciate Vinay's 
suggestion as it helped me overcome my earlier error, thanks for it Vinay but i 
have got stuck with the following error:
 
"[Auto deploy] Deployment 
failed:file:/C:/jboss-2.2/deploy/ch24.jar[Auto deploy] 
org.jboss.deployment.J2eeDeploymentException: Error while 
starting ch24.jar: Could not deploy 
file:/C:/jboss-2.2/tmp/deploy/Default/ch24.jar[Auto deploy]   at 
org.jboss.deployment.J2eeDeployer.startApplication(Compiled Code)[Auto 
deploy]   at 
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)"
 
I'd appreciate if someone could help me with the solving 
the above error.Looking forward to hearing from 
you.
Have a nice day.With regards,Sachin S. Khanna

  - Original Message - 
  From: 
  Vinay Menon 
  
  To: JBOSS 
  Sent: Saturday, May 05, 2001 9:30 
PM
  Subject: Re: [JBoss-user] New User of 
  Jboss
  
  Make sure that you do not have any other jboss.xml and ejb-jar.xml in 
  path. For eg. it you have a directory META-INF under say C:\Work and C:\Work 
  is in the class path .. remove it! The ejb-jar.xml and jboss.xml are loaded 
  from classpath and if it appears in the system class path anywhere the JBoss 
  deployer will take  it from there instead of the jar that you 
  provide.
   
  Vinay
  
  
- Original Message -
From: Sachin 
S. Khanna
Sent: Saturday, May 05, 2001 1:23 
PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] New User of 
Jboss




Hello List,
        I have 
installed jboss-2.2 on a windows 98 machine having a jdk 1.2 installed on 
it.
When i try to deploy an ejb application it 
throws an DeploymentException:Error in jboss.xml for Bean Product: found in 
jboss.xml but not in ejb-jar.xml.
I'd appreciate if somebody could help me solve 
this problem.
Looking forward to hearing from 
you.
Have a nice day.With regards,Sachin S. 
Khannahttp://www.emailanorder.com

  
  
  Get your FREE download of MSN Explorer at http://explorer.msn.com
  


Re: [JBoss-user] New User of Jboss

2001-05-05 Thread Vinay Menon
Make sure that you do not have any other jboss.xml and ejb-jar.xml in path. For eg. it you have a directory META-INF under say C:\Work and C:\Work is in the class path .. remove it! The ejb-jar.xml and jboss.xml are loaded from classpath and if it appears in the system class path anywhere the JBoss deployer will take  it from there instead of the jar that you provide.   Vinay   - Original Message - From: Sachin S. Khanna Sent: Saturday, May 05, 2001 1:23 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] New User of Jboss Hello List,         I have installed jboss-2.2 on a windows 98 machine having a jdk 1.2 installed on it. When i try to deploy an ejb application it throws an DeploymentException:Error in jboss.xml for Bean Product: found in jboss.xml but not in ejb-jar.xml. I'd appreciate if somebody could help me solve this problem. Looking forward to hearing from you. Have a nice day.With regards,Sachin S. Khannahttp://www.emailanorder.com Get your FREE download of MSN Explorer at http://explorer.msn.com


[JBoss-user] New User of Jboss

2001-05-05 Thread Sachin S. Khanna



Hello List,
        I have 
installed jboss-2.2 on a windows 98 machine having a jdk 1.2 installed on 
it.
When i try to deploy an ejb application it throws 
an DeploymentException:Error in jboss.xml for Bean Product: found in jboss.xml 
but not in ejb-jar.xml.
I'd appreciate if somebody could help me solve this 
problem.
Looking forward to hearing from you.
Have a nice day.With regards,Sachin S. 
Khannahttp://www.emailanorder.com


Re: [JBoss-user] New user - problem with SQLException

2001-04-26 Thread Andrius Juozapaitis

: Do not use char because the jvm has a bug with it.

IIRC rickard mentioned once that this bug is fixed in the new  j2sdk1.3.1:
http://developer.java.sun.com/developer/earlyAccess/j2sdk131/

regards,
--andrius




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



Re: [JBoss-user] New user - problem with SQLException

2001-04-26 Thread Ingo Bruell

Hi Jakub,


JG> Hello

JG> I'm new user of JBoss and have a problem. I've created an EntityBean. Then
JG> runned it on JBoss. Everything was OK untill restart of JBoss. It started
JG> ok, created tables for my Bean. But when I runned a client for my Bean,
JG> and it tried to get it from database, I received exceptions:


JG> java.rmi.ServerException: RemoteException occurred in server thread;
JG> nested exception is:
JG> javax.transaction.TransactionRolledbackException: Load failed;
JG> nested exception is:
JG> java.sql.SQLException: Unable to load a ResultSet column into a variable
JG> of type 'java.lang.Character': java.io.StreamCorruptedException:
JG> Caught EOFException while reading the stream header;

Do not use char because the jvm has a bug with it.


so long


Ingo Bruell

---
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>

OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
Germany  PGP-Public-Key available at pgpkeys.mit.edu



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



[JBoss-user] New user - problem with SQLException

2001-04-26 Thread Jakub Godoniuk


Hello

I'm new user of JBoss and have a problem. I've created an EntityBean. Then
runned it on JBoss. Everything was OK untill restart of JBoss. It started
ok, created tables for my Bean. But when I runned a client for my Bean,
and it tried to get it from database, I received exceptions:


java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
javax.transaction.TransactionRolledbackException: Load failed;
nested exception is:
java.sql.SQLException: Unable to load a ResultSet column into a variable
of type 'java.lang.Character': java.io.StreamCorruptedException:
Caught EOFException while reading the stream header;

What can be wrong?


Jakub Godoniuk


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



RE: [JBoss-user] New User

2001-04-04 Thread Sebastien Alborini

On Wed, 4 Apr 2001, Taylor, Richard wrote:

> So in order to deploy my web-app (the whole point of which is that it can be
> deployed easily in any compliant container), you are suggesting that I have
> to move directories contained withing my web-app just so that I can serve
> any static content within it from Apache?

I agree it is not perfect, but it is a way to do it. Apache cannot change
contexts dynamically, so if you don't want to edit httpd.conf and reload
each time you redeploy, you need to have your static content apart. You
can either copy it to a fixed place or play with symlinks.

Sebastien


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



RE: [JBoss-user] New User

2001-04-04 Thread Taylor, Richard

So in order to deploy my web-app (the whole point of which is that it can be
deployed easily in any compliant container), you are suggesting that I have
to move directories contained withing my web-app just so that I can serve
any static content within it from Apache?

Maybe you didn't understand that the static content is contained within my
webapp? (eg. images)

Richard.

-Original Message-
From: Sebastien Alborini [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 5:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] New User


Taylor, Richard wrote:
> 
> Now this means I cannot tell apache where to serve the static content from
> otherwise I have to update its configuration and restart it each time I
> restart jboss.
> 
> Is there any solution for this?
> 

You can put the static content elsewhere (in a static place).

Sebastien

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


**
Information in this email is confidential and may be privileged. 
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**

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



Re: [JBoss-user] New User

2001-04-03 Thread Sebastien Alborini

Taylor, Richard wrote:
> 
> Now this means I cannot tell apache where to serve the static content from
> otherwise I have to update its configuration and restart it each time I
> restart jboss.
> 
> Is there any solution for this?
> 

You can put the static content elsewhere (in a static place).

Sebastien

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



[JBoss-user] New User

2001-04-03 Thread Taylor, Richard

Hi,

I've just finished installing jboss 1.2 with tomcat 3.2.1 and apache 1.3.17
on NT.

I previously had my servlets running in Tomcat without jboss so my first
task is to migrate them to jboss and have an identical setup as before.

I want Apache serving all non-servlet content (ie images and html files)
from my webapp.  This was possible without jboss but now jboss is creating a
new directory name for the webapp each time I restart the server.

eg. 
/tmp/deploy/Default/editor.war/web1000/

then after a restart its

/tmp/deploy/Default/editor.war/web1001/

etc... 

Now this means I cannot tell apache where to serve the static content from
otherwise I have to update its configuration and restart it each time I
restart jboss.


Is there any solution for this?

Thanks,

Richard.


**
Information in this email is confidential and may be privileged. 
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**

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



AW: [JBoss-user] New User

2001-03-21 Thread Jung , Dr. Christoph

The ZOAP docs (including loads of hierarchically structured UML/JavaDoc) are

available in the cvs directly as it would not fit in the web-site structure
...

Best,
CGJ

-Ursprüngliche Nachricht-
Von: Bankwalla, Viraf [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 21. März 2001 14:04
An: '[EMAIL PROTECTED]'
Betreff: RE: [JBoss-user] New User


Thanks, but there was no docs directory in the download of the new beta, and
I did not see anything online on ZOAP.

- viraf

-Original Message-
From: Guy Rouillier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 12:35 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] New User


There is documentation included in your download - check docs subdirectory
and on the jboss web site.

- Original Message -
From: Bankwalla, Viraf <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 1:17 PM
Subject: [JBoss-user] New User


> Hi,
>
> I am new to JBoss and this mailing list.  Where can I get documentation on
> JBoss and the various ongoing projects.  I am specifically interested in
> JBossSOAP (JBoss/ZOAP).  I am new to SOAP and was looking for an
environment
> to play with.  Are there any docs available on ZOAP ?
>
> What is the difference between ZOAP and Apache SOAP.  What was the reason
> not to go with Apache SOAP ?
>
> Thanks
>
> - viraf
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


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

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

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



RE: [JBoss-user] New User

2001-03-21 Thread Bankwalla, Viraf

Thanks, but there was no docs directory in the download of the new beta, and
I did not see anything online on ZOAP.

- viraf

-Original Message-
From: Guy Rouillier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 12:35 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] New User


There is documentation included in your download - check docs subdirectory
and on the jboss web site.

- Original Message -
From: Bankwalla, Viraf <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 1:17 PM
Subject: [JBoss-user] New User


> Hi,
>
> I am new to JBoss and this mailing list.  Where can I get documentation on
> JBoss and the various ongoing projects.  I am specifically interested in
> JBossSOAP (JBoss/ZOAP).  I am new to SOAP and was looking for an
environment
> to play with.  Are there any docs available on ZOAP ?
>
> What is the difference between ZOAP and Apache SOAP.  What was the reason
> not to go with Apache SOAP ?
>
> Thanks
>
> - viraf
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


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

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



Re: [JBoss-user] New User

2001-03-20 Thread Guy Rouillier

There is documentation included in your download - check docs subdirectory
and on the jboss web site.

- Original Message -
From: Bankwalla, Viraf <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 1:17 PM
Subject: [JBoss-user] New User


> Hi,
>
> I am new to JBoss and this mailing list.  Where can I get documentation on
> JBoss and the various ongoing projects.  I am specifically interested in
> JBossSOAP (JBoss/ZOAP).  I am new to SOAP and was looking for an
environment
> to play with.  Are there any docs available on ZOAP ?
>
> What is the difference between ZOAP and Apache SOAP.  What was the reason
> not to go with Apache SOAP ?
>
> Thanks
>
> - viraf
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


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



[JBoss-user] New User

2001-03-20 Thread Bankwalla, Viraf

Hi,

I am new to JBoss and this mailing list.  Where can I get documentation on
JBoss and the various ongoing projects.  I am specifically interested in
JBossSOAP (JBoss/ZOAP).  I am new to SOAP and was looking for an environment
to play with.  Are there any docs available on ZOAP ?

What is the difference between ZOAP and Apache SOAP.  What was the reason
not to go with Apache SOAP ?

Thanks

- viraf

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