[JBoss-user] Do the beans get redeployed automatically once the DB server comes up..??

2004-02-17 Thread shubhu mutta




Hi,
 
I have a query.  The scenarios are as follows:
 
  1. At the time of JBOSS Startup, the DB is up. JBOSS creates the connection pool and the beans get deployed. After some time the DB goes down. 
    
    Do  the beans get automatically  undeployed? 
    Once the DB comes up, do the beans get automatically 
 redeployed   or    do they have to be manually redeployed?
 
2. At the time of JBOSS startup, the DB was not up. So the connection pool did not get created. After some time the DB came up.
 
  Will the beans get automatically redeployed or do they have to be 
  manually redeployed?
 
Thanks for your  valuable answers.
 
regards,
Shubhu



Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

[JBoss-user] [Installation & Configuration] - Re: Deploying custom services as a SAR.

2004-02-17 Thread [EMAIL PROTECTED]
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821939#3821939

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

Using the RMIAdaptor you can lookup from JNDI you can invoke the attributes and 
operations you expose in the service's (MBean's) interface.




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


[JBoss-user] [HTTPD, Servlets & JSP] - Re: how to transfer my web-app from weblogic 6/7 to jboss3.x

2004-02-17 Thread nikkofu
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821938#3821938

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

from weblogic docs i found the  weblogic.servlet.ServletServlet:



###

ServletServlet can be used to create a default mappings for servlets. For example, to 
create a default mapping to map all servlets to /myservlet/*, so the servlets can be 
called using http://host:port/web-app-name/myservlet/com/foo/FooServlet, add the 
following to your web.xml file:



  ServletServlet  
weblogic.servlet.ServletServlet

 



ServletServlet

  weblogic.servlet.ServletServlet



###



and in jboss ???


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


[JBoss-user] [JBoss.NET & SOAP] - Document Style webservices

2004-02-17 Thread scttu
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821937#3821937

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

Is there any example of using document style webservices? Or any tutorial on creating 
document style web services on jboss-net. 



Thanks






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


[JBoss-user] [Installation & Configuration] - Re: Deploying custom services as a SAR.

2004-02-17 Thread pradeepbhat
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821936#3821936

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

Thanks!

How do I access the service? Using JNDI lookup?


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


[JBoss-user] [Installation & Configuration] - Re: Deploying custom services as a SAR.

2004-02-17 Thread [EMAIL PROTECTED]
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821935#3821935

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

Hosting your custom service implementations (not provided by the app server) on JBoss.




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


[JBoss-user] [Installation & Configuration] - Re: Got install problem....

2004-02-17 Thread [EMAIL PROTECTED]
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821934#3821934

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

Consider upgrading your JVM.




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


[JBoss-user] [Security & JAAS/JBoss] - Identifying role of user

2004-02-17 Thread kavitha
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821933#3821933

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

Hello, 

I have successfully deployed an application using FORM login, j_security_check and 
DatabaseserverLoginModule. Is there any way to extract role assigned to the user upon 
a successful login. 



thanks in advance,

kavi.


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


[JBoss-user] [Installation & Configuration] - Re: Deploying custom services as a SAR.

2004-02-17 Thread pradeepbhat
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821929#3821929

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

What does "Creating Custom Services"  mean ?Can some one please explain.

Thanks


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


jboss-user@lists.sourceforge.net

2004-02-17 Thread nikkofu
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821926#3821926

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

in my apps, i defined the web-xml as the followings:



only this can make my apps run correctly.

and as i modified this to my servlet class named MainServlet :

xxx.xxx.MainServlet

i got dead cycle when i login to my apps in weblogic or jboss server!!!



so can any body tell me how to replace the 
weblogic.servlet.ServletServlet

in jboss or other app server,

with many thanks :-)


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


[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - Re: How does jboss auto generate table for entity bean?

2004-02-17 Thread Bill Burke
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821925#3821925

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

actually it works with any database.  Read chapter 7 (or is it 6?) for more 
information.  Basically in standardjbosscmp-jdbc.xml there are some config flags 
.  No matter what database it is, if create-table is set to true, jboss 
will try and create the table for the CMP if it does not exist.  This will happen on 
deployment.



 is the opposite.  On undeployment of the ejb-jar(shutdown for 
instance), the table will be dropped.



Basically you can let JBoss create relationships, constraints etc, without involving a 
db init sql script.



Bill


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Finding the users role

2004-02-17 Thread kavitha
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821924#3821924

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

Hi everybody,



 i'm using seperate form to insert the datas into the principals and roles 
table which is used for verification of user,password and roles by the 
databaseserverloginmodule for form based authentication.is this way is correct or 
anyother way is there to set this values using j_security_check.PLease reply me.



thanks in advance,

kavitha.


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


[JBoss-user] [Management, JMX/JBoss] - How a Message Driven Bean to handle a JMS Exception

2004-02-17 Thread sakaipb
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821922#3821922

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

hi! 



   it happened a JMS Exception:'org.jboss.mq.SpyJMSException:Could not pong'  when a 
Message Driven Bean receive a jms message. is something wrong ?

   

thx

JoePeng



JBoss sever log:



Failed to handle: org.jboss.mq.il.uil2.msgs.PingMsg

11:20:32,798 ERROR [SocketManager] Failed to handle: org.jboss.mq.il.uil2.msgs.P

ingMsg19401861[msgType: m_ping, msgID: -2147483628, error: null]

org.jboss.mq.SpyJMSException: Could not pong; - nested throwable: (java.io.IOExc

eption: Client is not connected)

at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.

java:840)

at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterce

ptorSupport.java:309)

at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:8

59)

at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:309)

at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocke

tManagerHandler.java:189)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.j

ava:355)

at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)

at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec

utor.java:727)

at java.lang.Thread.run(Thread.java:536)

Caused by: java.io.IOException: Client is not connected

at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.

java:225)

at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:208)

at org.jboss.mq.il.uil2.UILClientIL.pong(UILClientIL.java:67)

at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.

java:836)

... 8 more




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


[JBoss-user] [EJB/JBoss] - Re: accessing Local Interfaces from JSP's

2004-02-17 Thread Zapa
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821921#3821921

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

the tasks i'm  trying to achieve are rather simple . On top of that i'm really new at 
JSP , so i'm going to concentrate my time on learning that , rather than developing a 
business delegate layer . 



I don't suspect i'll reuse this code , or i'd really need to change the presentation 
layer later on , but the moment this  would happen , my first action  would be to go 
by the book and implement sessionbeans .



Of course I'm not worried about transactions , even security is low . I am using EJB's 
for this , because i'm trying to develop a quick and simple aplication and JBoss CMP + 
XDoclet are giving me just that . 



Last thing ... this is a little project of mine , it's not some project i've been 
hired for , otherwise i'd stay closer to best practices 



thanks all for your input 


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


[JBoss-user] [Messaging, JMS & JBossMQ] - when to close TopicSession in a XA transaction

2004-02-17 Thread jieshengz
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821920#3821920

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

I have a EJB method. This transaction is managed by the container. This method calls a 
database and invokes the JMS. Inside the method, I obtained the TopicSession and 
published message to the session. Since I do not have control on the transaction, when 
should I call the TopicSession.close() to properly release the obtained session. Or 
should I  depends on server GC to dispose the TopicSession?

Thanks




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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: nedd A simple example of JMS using JBoss,who can Help me

2004-02-17 Thread ivelin
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821919#3821919

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

Try this then. You will need to break some sweat but these are good examples:

http://cvs.sourceforge.net/viewcvs.py/jboss/jbossmq/src/docs/




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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: nedd A simple example of JMS using JBoss,who can Help me

2004-02-17 Thread SportsBaby1980
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821918#3821918

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

I can not afford it .

thank you all the same



:)


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: nedd A simple example of JMS using JBoss,who can Help me

2004-02-17 Thread ivelin
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821916#3821916

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

The JBoss Administration Guide has several examples how to use JMS with JBoss. Have 
you tried it?

http://jboss.org/docs/index



Ivelin




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


[JBoss-user] [EJB/JBoss] - Re: MBean depends on EJB,

2004-02-17 Thread nickman
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821915#3821915

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

Make your MBean deploy in a sar.

Make your EJBs deploy in a jar.

Put both of those in one ear.

Then deploy the ear.



The problem is not a dependency issue as such, but rather that there is a missing 
class, or a class loader issue when it sees mulitple deployed versions of the same 
class loaded by different class loaders.



//Nicholas


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


[JBoss-user] [EJB/JBoss] - Why can't you use local interfaces for CMP EJBs?

2004-02-17 Thread hirowla
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821910#3821910

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

I'm having trouble accessing a local interface bean, and I'm not sure what I'm doing 
wrong. The error I'm getting when looking up the name is: 

javax.naming.CommunicationException [Root exception is 
java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no 
security manager: RMI class loader disabled)] 

at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652) 

at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) 

at javax.naming.InitialContext.lookup(InitialContext.java:347) 

(plus a heap more). 



It concerns me that the class where the error occurs is a JBoss class.



I'm using JBoss 3.2.3 (default configuration), JDK 1.4.2, running through Eclipse 2.1 
and JBossIDE 1.2.2. I'm trying to deploy the client class through Cactus, which means 
it should be able to access the local interfaces.



Not sure what else would help, but let me know if anything can help. BTW, the EJB 
works well if you access it via the REMOTE interface. I'm using XDoclet to generate 
the interfaces, so I don't think it's a hand-coding mistake. 




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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: nedd A simple example of JMS using JBoss,who can Help me

2004-02-17 Thread SportsBaby1980
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821909#3821909

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

[EMAIL PROTECTED],Maybe you will give some help?




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


[JBoss-user] [Messaging, JMS & JBossMQ] - Compatibility between different versions JBoss

2004-02-17 Thread renemf77
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821908#3821908

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

Hi all,



I have this problem:



My JMS server (Jboss) is Jboss 3.0.3 and my client is on JBoss 3.2.3,

when I try to send a message to the server, I get the next Error:



> javax.naming.CommunicationException [Root exception is

> java.rmi.ServerException: RemoteException occurred in server thread;

> nested exception is:

> java.rmi.UnmarshalException: error unmarshalling arguments;

> nested exception is:

> java.lang.ClassNotFoundException:

> org.jnp.interfaces.FastNamingProperties (no security manager: RMI

class

> loader disabled)





Any one know how to correct thar error?



Thanks



Rene






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


[JBoss-user] [Messaging, JMS & JBossMQ] - nedd A simple example of JMS using JBoss,who can Help me?

2004-02-17 Thread SportsBaby1980
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821907#3821907

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

HI,Experts here.

I am in trouble now with JMS.

I can work using sun's  jms_tutorial,

but when turn to Jboss,

it does not work now.

I need a simple example.

who can I help me ?

Thanks a lot.

Waiting ..






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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can I use JMS in JBoss?

2004-02-17 Thread SportsBaby1980
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821906#3821906

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

But that needs some money and I am not so rich ,can not afford it.

Maybe an example will be more help.

who can Help me ?




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


[JBoss-user] customizing JBoss config. and footprint (newbie question)

2004-02-17 Thread Nick Faiz
Hi,
Can someone point me to a starting place for learning about how to
configure JBoss modules? As I understand it, I can strip out whatever
functionality I don't want within the JBoss server; for example, I may want
JMS without a Servlet Container?

Regards,
Nick Faiz
B2B Developer
Corporate Express Australia Ltd.

Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]


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


[JBoss-user] [EJB/JBoss] - Dtd problem ...

2004-02-17 Thread inglass
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821905#3821905

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

ERROR:



I'm running JBoss-3.0.8 on Window 2000 , and when I deployed my war file, I got the 
following error messsage: 

== 

[Auto deploy] XmlMapper: Can't find resource for entity: -//Sun Microsystems, 
Inc.//DTD Web Application 2.3/EN --> http://java.sun.com/dtd/web-app_2_3.dtd "null" 

== 



Resovle 1:

I found the DTD's in the j2ee distribution from SUN.  Install it it will create a 
subdirectory /lib/dtds . All the DTD files will be there. I made a directory /dtd on 
my Apache docroot and I copied those files in that directory. After that I modified my 
"hosts" file so that java.sun.com points to 127.0.0.1 . Then I started my apache 
server. After that I could make the deployment because JBoss was able to find the DTD 
on my own machine thinking that it is java.sun.com .



Question:

How can I resovle the Error without changing the HOSTS file  ? 




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


[JBoss-user] [Installation & Configuration] - Got install problem....

2004-02-17 Thread rafael76
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821904#3821904

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

My interface like this..

OS : 2003 Enterprise Server

IDE : Jbuilder 9 / X

JDK : 1.3.1



But dosen't install Jboss 3.2.3 Why?



Error ID : 43113F32554E54494D45110E4350500290

HotSpot Virtual Machine Error, Internal Error





What can i change my setting?



Thanks you




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


[JBoss-user] [Security & JAAS/JBoss] - Re: login jboss using jaas

2004-02-17 Thread qjx1208
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821903#3821903

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

Thank you very much, but the code doesn't work correctly.



I can pass the authentication, but when I reach the second servlet to fetch the user 
principal: request.getUserPrincipal(),  the return value is null. I wonder why this 
happens.





servlet1:

try {

UsernamePasswordHandler handler = new UsernamePasswordHandler(username, 
password.toCharArray()); 

lctx = new LoginContext("danetworkflow", handler);

lctx.login();

response.sendRedirect("servlet2");

 }

catch (LoginException exc) {

out.println("Login failed: " + exc);

return;

}



servlet2:

   request.getUserPrincipal()==null






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


[JBoss-user] [Beginners Corner] - Re: javax.naming.NoInitialContextException

2004-02-17 Thread rasoul
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821902#3821902

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

Well I tried that and I still get the same error.

Any other ideas?

Thanks

-r


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


[JBoss-user] ECperf 1.1 and JBoss

2004-02-17 Thread yau meileng
Dear all,

I am setting up a benchmarking using ECperf 1.1 and Jboss 3.2.3 running on 
Redhat Linux using Postgresql.

I have downloaded a copy of the changed ECperf by Jon Barnett documented on 
v2.1 from Amity SOlution and overriding on the original ECperf from 
sourceforge.com.

The changes that I have made is on the /ecperf/config/jboss.env. I have 
changed the JAVA_HOME, J2EE_HOME, ECPERF_HOST=localhost, and 
EMULATOR_HOST=localhost remaing the port as 8080.

I managed to run the first page index.html of the ECperf at 
http://localhost:8080/ECperf.

But some how when I try to browse the Customer New Order, it returned the 
following serror message:

===
An Exception Occurred !!


The message of the exception is
Finder Exception occured for the request.
		com.sun.ecperf.webbeans.OtherException:  Finder Exception occured for the 
request.
	at 
com.sun.ecperf.webbeans.ProcessListBean.getItemsList(ProcessListBean.java:156)
	at org.apache.jsp.new_order_jsp._jspService(new_order_jsp.java:263)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
	at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
	at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
	at 
org.apache.tomcat.uti

[JBoss-user] [Beginners Corner] - Re: javax.naming.NoInitialContextException

2004-02-17 Thread acoliver
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821901#3821901

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

grab the $JBOSS_HOME/client/jbossall-client.jar and stick it in the classpath on the 
remote machine.


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


[JBoss-user] [EJB/JBoss] - Re: HyperThreading issues

2004-02-17 Thread littlealien
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821900#3821900

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

I am running quite a few P4's and dual Xeons all with Hyperthreading enabled. All 
machines are running JBoss 3.2.1, Sun JDK 1.4.2_02 and Red Hat Enterprise Linux and we 
have not had any of these issues. Hyperthreading has been a very small speed increase.



However, some colleages of mine who are running another application server on Windows 
2000 are having a LOT of issues with Hyperthreading.



HTH.


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


[JBoss-user] [Performance Tuning] - [ClusteredHTTPSessionService] Exception under load

2004-02-17 Thread rmarkle
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821899#3821899

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

Was running a load test on a cluster and shut one of the nodes down.  Then I got the 
following message:



15:45:54,754 INFO  [ClusteredHTTPSessionService] unexpected exceptionwhile removing 
orphean replicated sessionsRuntimeMBeanException: RuntimeException in MBean 
operation'invoke(org.jboss.invocation.Invocation)'Cause: 
java.util.ConcurrentModificationException
atorg.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:299)
atorg.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
atorg.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
atorg.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
atorg.jboss.ha.httpsession.beanimpl.ejb.ClientTCLInterceptor.invoke(ClientTCLInterceptor.java:46)
atorg.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
atorg.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)at 
$Proxy35.findAll(Unknown Source)
atorg.jboss.ha.httpsession.server.ClusteredHTTPSessionService$CleanupDaemon.run(ClusteredHTTPSessionService.java:413)
at java.lang.Thread.run(Thread.java:534)


---
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_id56&alloc_id438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Clients and JBOSS

2004-02-17 Thread rasoul
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821898#3821898

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

Hello there,

I have a gui client that runs just fine when executed from the same JVM. However, as a 
remote client, it gets a :



javax.naming.NoInitialContextException



error. 



The error message is:



Cannot instantiate class: org.jboss.naming.HttpNamingContextFactory [Root exception is 
java.lang.ClassNotFoundException: org.jboss.naming.HttpNamingContextFactory]



I am at a loss since there is very few resources on this topic and I am new, as you 
may have guessed by now, to JBoss and EJBs. I thisn I have all the jar files on the 
client machine, and the getInitialContext function is:



Properties prop = new Properties();


prop.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");


//prop.put(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.naming.HttpNamingContextFactory");


prop.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");


//prop.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");

prop.put(Context.PROVIDER_URL,"lid32.rhythm.com:1091");


//prop.put(Context.PROVIDER_URL,"http://lid32.rhythm.com:8080/invoker/JNDIFactory";);

return new InitialContext(prop);



My appologies to those that will be offened by this email being posted twice. SInce I 
did not get a reply from the beginners forum, I figured I should try my luck w/ this 
forum.



Appreciate all the help in advance.



-r




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


[JBoss-user] [EJB/JBoss] - Re: ClassCastException thrown when looking up a remote home

2004-02-17 Thread zolmed75
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821897#3821897

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

Both the client and server are using sdk1.4.2.  What are the "client jars" you're 
reffering to?  I thought the only thing the client needs are the remote EJB 
interfaces.  Also, since JBoss uses dynamic proxies, I was under the impression that 
the only class that needs to be loaded at runtime during a lookup is the remote 
InvocationHandler class being used by the dynamic proxy.  Is this correct or am I 
dreaming?  Thanks in advance...


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


[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - How does jboss auto generate table for entity bean?

2004-02-17 Thread terapico
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821896#3821896

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

At Exercise 4.1, the workbook says if we use the default db (hypersonic sql), the 
table for the Entity bean will be generated automatically at deployment time.  Is this 
a JBoss specific feature?  Can someone explain on how it works?



Thanks


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


[JBoss-user] [EJB/JBoss] - Deploying Scheduled Tasks referencing EJBs in Ear

2004-02-17 Thread MButler
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821895#3821895

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

To deploy a scheduled task in an ear in JBoss 3.2.1 Â 3.2.3 do the following



1)  Create a sar file (for example timer.sar) which contains your 
jboss-service.xml file in its meta-inf directory.  The sar is an archive file.





   

   

 

true

your class here

Schedulable Test,12345

java.lang.String,int

01/26/2004 10:05 AM

8640

-1

  



  



true

 your class here 

Schedulable Test,12345

java.lang.String,int

01/26/2004 03:30 PM

8640

-1

  







2)  Include the sar into the root level of your ear.

3)  Include a file called jboss-app.xml into the meta-inf directory of the ear.  
It should look like this



  

timer.sar

  





Your scheduled tasks will now deploy with ear and after any EJBs that may need them.




---
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_id56&alloc_id438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: jbosscmp-jdbc.xml type-mapping limitation?

2004-02-17 Thread mandrews-flarion
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821893#3821893

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

thanks!



worked like a charm.



mike


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


[JBoss-user] [Beginners Corner] - javax.naming.NoInitialContextException

2004-02-17 Thread rasoul
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821892#3821892

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

Hi there,

I need help with debugging the following error that I get on a remote machine. JBoss 
resides on a different JVM and the client on another redhat box. Here is the error:



javax.naming.NoInitialContextException: Cannot instantiate class: 
org.jnp.interfaces.NamingContextFactory [Root exception is 
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]

at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)

at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)

at javax.naming.InitialContext.init(InitialContext.java:219)

at javax.naming.InitialContext.(InitialContext.java:195)

at com.rhythm.clients.Remote_Client.getInitialContext(Remote_Client.java:274)

at com.rhythm.clients.Remote_Client.start(Remote_Client.java:203)

at com.rhythm.clients.Remote_Client.main(Remote_Client.java:283)

Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory

at java.net.URLClassLoader$1.run(URLClassLoader.java:199)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:219)

at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)

at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)



And here is my client's getInitialContext code:

public static Context getInitialContext() throws Exception {

Properties prop = new Properties();


prop.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");


//prop.put(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.naming.HttpNamingContextFactory");


prop.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");


prop.put(Context.PROVIDER_URL,"http://lid32.rhythm.com:8080/invoker/JNDIFactory";);

return new InitialContext(prop);

}



The following are in my CLASSPATH on the client side:

j2ee.jar  j2ee-svc.jar  jbossall-client.jar  jboss-client.jar  jboss-common-client.jar 
 jbosssx-client.jar  jboss-system-client.jar  jnp-client.jar  log4j.jar



Thanks in advance.

-r










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


[JBoss-user] [Performance Tuning] - Re: Pages not fully rendered

2004-02-17 Thread verilet
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821879#3821879

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

Insufficient buffer size perhaps? I have seen blank pages rendered when pages are too 
large. Also, if the compiled method exceeds 64K (plenty of print statements) the JVM 
chokes. 



<[EMAIL PROTECTED] buffer="32kb" ...






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


[JBoss-user] [Performance Tuning] - Re: Pages not fully rendered

2004-02-17 Thread french_c
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821878#3821878

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

I forgot:



Also check whether you encounter an HTTP Connection timeout.


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


[JBoss-user] [Javassist user questions] - Calling into Javaassit API from Custom Ant Task

2004-02-17 Thread meb3855
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821877#3821877

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

Ant uses a custom classloader AntClassLoader.  It seems that when I try to inject code:



com.polexis.license.LicenseManager.validateLicense();



into a class from Javassist, I get the following:



was NOT licensed!: Licensing Error: [source error] no such class: com.polexis.li

cense.LicenseManager



However that class is on my custom tasks classpath!!!



ANY HELP would be appreciated.







  





  

  













 






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


[JBoss-user] [JBoss Getting Started Documentation] - Re: RosterCMP app & learning

2004-02-17 Thread acoliver
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821876#3821876

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

If you do not specify a datasource, then DefaultDS is used.


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


[JBoss-user] [JBoss Getting Started Documentation] - SimpleTagSupport class not found error

2004-02-17 Thread mshalorne
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821874#3821874

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

I've followed the steps as per the documentation but I get a compile error trying to 
build the bank app. It appears that this class is not in the j2EE jars that come with 
jboss. Has anyone else had this problem - how do I get around it?

Matthew


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


[JBoss-user] [JBoss Getting Started Documentation] - Manual online HTML version problems

2004-02-17 Thread pgoes
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821875#3821875

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

According to the Manuall online HTML, the step contained in Coding and compiling the 
test client the following output occurs when running ant intro-interest-client in the 
command line





Buildfile: build.xml



validate:



fail_if_not_valid:



init:

 [echo] Using JBoss directory=/usr/local/jboss-3.2.3

 TAKE A LOOK AT THIS CLASSPATH:-/ Isn't there something wrong??!

 [echo] Using base 
classpath=/usr/local/jboss-3.2.3/client/jboss-j2ee.jar:/usr/local/jboss-3.2.3/client/jaas.jar:/usr/local/jboss-3.2.3/client/jbosssx-client.jar:/usr/local/jboss-3.2.3/client/jboss-client.jar:/usr/local/jboss-3.2.3/client/jnp-client.jar:/root/jboss/examples/tomcat/lib/servlet.jar

 [echo] Using Source directory=/root/jboss/examples

 [echo] Using Build directory=/root/jboss/examples/build-examples



intro-interest-client:



compile:

 [echo] Using 
classpath=/usr/local/jboss-3.2.3/client/jboss-j2ee.jar:/usr/local/jboss-3.2.3/client/jaas.jar:/usr/local/jboss-3.2.3/client/jbosssx-client.jar:/usr/local/jboss-3.2.3/client/jboss-client.jar:/usr/local/jboss-3.2.3/client/jnp-client.jar:/root/jboss/examples/tomcat/lib/servlet.jar



interest-client:

 [echo] Using 
classpath=/usr/local/jboss-3.2.3/client/jboss-j2ee.jar:/usr/local/jboss-3.2.3/client/jaas.jar:/usr/local/jboss-3.2.3/client/jbosssx-client.jar:/usr/local/jboss-3.2.3/client/jboss-client.jar:/usr/local/jboss-3.2.3/client/jnp-client.jar:/root/jboss/examples/tomcat/lib/servlet.jar

 [java] Exception in thread "main" java.lang.NoClassDefFoundError: 
org/jboss/logging/Logger

 [java] at org.jnp.interfaces.NamingContext.(NamingContext.java:102)

 [java] at 
org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:41)

 [java] at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)

 [java] at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)

 [java] at javax.naming.InitialContext.init(InitialContext.java:219)

 [java] at javax.naming.InitialContext.(InitialContext.java:175)

 [java] at org.jboss.docs.interest.InterestClient.main(InterestClient.java:27)



BUILD SUCCESSFUL

Total time: 1 second



-



MY ENVIROMENT VARIABLES ARE:





$CLASSPATH

.:/usr/local/jakarta-tomcat-4.1.27/common/lib/servlet.jar:/root/mygame:/usr/local/jakarta-tomcat-4.1.27/webapps/ROOT/WEB-INF/classes:/org/postgresql/pg73jdbc3.jar:/com/oracle/classes12.zip:/com/oracle/nls_charset12.zip:/usr/java/SUNWapperver/jdk/bin/jdbc2_0-stdext.jar:/usr/java/SUNWappserver/jdk/bin/ejb-2_1-api.jar:/usr/local/blasix/blasix.jar:/usr/local/jakarta-struts-1.1/lib/struts.jar:/usr/java/SUNWappserver/lib/j2ee.jar:/usr/java/SUNWappserver/lib/appserv-rt.jar:/usr/java/SUNWappserver/jdk/jre/lib/ext/fscontext.jar:/usr/java/SUNWappserver/jdk/jre/lib/ext/dnsns.jar:/usr/java/SUNWappserver/jdk/jre/lib/ext/jndi.jar:/usr/java/SUNWappserver/jdk/jre/lib/ext/ldapsec.jar:/usr/java/SUNWappserver/jdk/jre/lib/ext/localedata.jar:/usr/java/SUNWappserver/jdk/jre/lib/ext/providerutil.jar:/usr/java/SUNWappserver/jdk/jre/lib/ext/sunjce_provider.jar:/root/jboss/examples/build-examples/interest/classes/org/jboss/docs/interest



Take a look at $CLASSPATH and see it differs from that echoed by ant (see some lines 
above)



$PATH

/usr/lib/qt2/bin:/usr/lib/kde3/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/games:/usr/local/bin:/usr/java/SUNWappserver/jdk:/usr/java/SUNWappserver/jdk/bin:/usr/java/SUNWappserver/lib/ant/bin:/usr/java/SUNWappserver/bin:/root/bin



$J2EE_HOME

/usr/java/SUNWappserver/jdk



$JAVA_HOME

/usr/java/SUNWappserver/jdk



$JBOSS_HOME

/usr/local/jboss-3.2.3



$JBOSS_DIST

/usr/local/jboss-3.2.3



All previous steps are performed perfectly Since ant intro-interest-jar until ant 
intro-interest-deploy. Ant intro-interest-deploy copiesinteres.jar to 
/usr/local/jboss-3.2.3/deploy instead of /usr/local/lboss-3.2.3/server/default/deploy. 
I did it manually but the situation remains unchanged. Any help will be welcome



Thanks in advcance




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


[JBoss-user] [EJB/JBoss] - HyperThreading issues

2004-02-17 Thread wkbutler
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821872#3821872

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

We've seen problems on our deployed servers running (Intel Xeon) HyperThreading. 
Unfortunately we do not have one in-house to do much interesting testing with; our 
solution has been to disable the HT.



Problems we've seen include:

+ reentrancy exceptions ("Reentrant method call detected")  in some entities

+ attempted duplicate inserts into session table ("Cannot insert duplicate key row in 
object 'TBUSERSESSION' with unique index...")



We don't get these problems on our other multi-CPU hosts. Note that we have no 
clustered deployments either.



We are running 3.2.1 with the default (CMP 2.x) entity cache and lock schemes. 



Our app is migrated from WebLogic, where we implemented a JDBC-for-reads and 
EJB-for-create/update scheme to combat its instance-per-transaction locking scheme 
(for performance).



Also we're running on Sun JVM 1.4.1_05, using the default CLIENT vm.



Has anyone encountered similar? I've found no mention at Sun or Intel; and scant 
mention anywhere else.  We have NOT to my knowledge experimented with different VM 
modes - I would like to try the SERVER mode but haven't had the opportunity. Also I 
wonder if optimistic locking (and perhaps instance-per-tx) would behave differently.



Any thoughts out there? Thanks -

Kent




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


[JBoss-user] [Installation & Configuration] - Re: Pls Help: No processor available, rejecting this connect

2004-02-17 Thread kampa
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821871#3821871

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

I don't know about JBoss 3.0.4 but in Jboss 2.4.6 maxProcessor definition can be found 
in jboss.jcml under JBOSS_HOME/jboss/conf/catalina

Hope that will help


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


[JBoss-user] [JBoss Getting Started Documentation] - RosterCMP app & learning

2004-02-17 Thread ahardy66
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821870#3821870

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

In the Getting Started chapter on CMP, I'm looking at the Roster app and at the 
Hypersonice database, and I can't figure out how JBoss is making the connection 
between Hypersonic and the Roster app. 



I've looked all through the xml config, and I can't find anything in the descriptors 
which tells JBoss that the Roster app wants to connect to Hypersonic to do all its DB 
stuff.



Basically I'm going to see if I can change this over to start using mysql, in my 
learning process. Thanks for the help,



Adam


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


[JBoss-user] [Performance Tuning] - Re: Pages not fully rendered

2004-02-17 Thread dankim1978
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821869#3821869

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

I've seen the situation where a page half renders gets flushed and then an exception 
is thrown. Try figuring out where the code stops and put in some exception checking.



Can you post code?


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


[JBoss-user] [EJB/JBoss] - MBean depends on EJB,

2004-02-17 Thread th.krause
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821868#3821868

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

I've got this error while deploying...



org.jboss.deployment.DeploymentException: instantiating de.SchedulerJob24h failed: 
java.lang.NoClassDefFoundError: de/ejb/session/ExpiredArticleHome; - nested throwable: 
(RuntimeErrorException: instantiating de.mbeans.SchedulerJob24h failed: 
java.lang.NoClassDefFoundError: de/session/ExpiredArticleHome

Cause: java.lang.NoClassDefFoundError: de/session/ExpiredArticleHome)



Then I try to fix the dependency



 < mbean code="org.jboss.varia.scheduler.Scheduler" 
name=":service=Scheduler,name=SchedulerJob24h" >

< attribute name="StartAtStartup">true< /attribute >

< attribute name="InitialRepetitions">-1< /attribute >

< depends>jboss.j2ee:service=EJB,jndiName=ejb/ExpiredArticle< /depends >

  < /mbean >





but it does not work. 

I see some equal postings, but ... I need your help.

What's wrong?


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


[JBoss-user] [Messaging, JMS & JBossMQ] - SpyJMSException when sending a message (linux to linux)

2004-02-17 Thread pepgrifell
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821867#3821867

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

IÂm sending one message from one server to another. The two are JBoss 3.2.3 tomcat 
4.1.29. The two servers are linux. IÂm getting the following error :





17/02/2004 18:34:24 ERROR IntiJMS [] JMSException en IntiJMS.sendJMSMessage()

org.jboss.mq.SpyJMSException: Cannot send a message to the JMS server; - nested 
throwable: (java.lang.ClassCastException)

at org.jboss.mq.Connection.sendToServer(Unknown Source)

at org.jboss.mq.SpySession.sendMessage(Unknown Source)

at org.jboss.mq.SpyQueueSender.internalSend(Unknown Source)

at org.jboss.mq.SpyQueueSender.send(Unknown Source)

at 
org.notariado.inti.emulador.business.utils.IntiJMS.sendJMSMessage(IntiJMS.java:110)

at 
org.notariado.inti.emulador.business.ejb.SenderSessionBean.sendRequestMessageToCGN(SenderSessionBean.java:73)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Unknown 
Source)

at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Unknown Source)

at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Unknown 
Source)

at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(Unknown Source)

at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Unknown Source)

at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(Unknown Source)

at org.jboss.ejb.plugins.SecurityInterceptor.invoke(Unknown Source)

at org.jboss.ejb.plugins.LogInterceptor.invoke(Unknown Source)

at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(Unknown Source)

at org.jboss.ejb.StatelessSessionContainer.internalInvoke(Unknown Source)

at org.jboss.ejb.Container.invoke(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Unknown Source)

at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)

at org.jboss.invocation.local.LocalInvoker.invoke(Unknown Source)

at org.jboss.invocation.InvokerInterceptor.invoke(Unknown Source)

at org.jboss.proxy.TransactionInterceptor.invoke(Unknown Source)

at org.jboss.proxy.SecurityInterceptor.invoke(Unknown Source)

at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(Unknown Source)

at org.jboss.proxy.ClientContainer.invoke(Unknown Source)

at $Proxy56.sendRequestMessageToCGN(Unknown Source)

at 
org.notariado.inti.emulador.web.struts.SendToCGNAction.execute(SendToCGNAction.java:83)

at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:480)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(Unknown Source)

at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)

at 
o

[JBoss-user] [Management, JMX/JBoss] - tags in jboss-web don't seem to work

2004-02-17 Thread zeehond
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821866#3821866

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

I need to make my servlet deploy and be active only when everything else 
(datasources/beans/MQ destinations) were started successfully. 



 in jboss.xml works perfectly for EJBs but in jboss-web.xml they seem to be just 
ignored completely.



I'm using Jboss 3.2.2 with Jetty 4.2.10




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


[JBoss-user] [Installation & Configuration] - Re: Install EJB Container _ONLY_

2004-02-17 Thread formenti
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821865#3821865

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

The web container in Jboss is only a service. I think that u can simply delete the 
"jbossweb-tomcat41.sar" (or something like this) in ur 
JBOSS_HOME\server\default\deploy.



Gio


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


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Apache 2 + Jboss/Tomcat + mod_jk2

2004-02-17 Thread acoliver
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821864#3821864

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

does this line:

JKWorkerFile "C:\apache-1.3.29\apache\conf.d\workers.properties 



look funny to you?  (hint: the quote)


---
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] problem on creating table with int fields

2004-02-17 Thread Joachim (PROGS)
netanel weinberg wrote:

I have built an ejb with some fields and some of them are defined as int in
the ejb cmp2.0 source code and i'm getting error on deploying this table:
2004-02-17 10:45:22,750 ERROR [org.jboss.ejb.EntityContainer] Starting
failed
org.jboss.deployment.DeploymentException: Error while creating table
TariffeventsbyvalueBean; - nested throwable: (java.sql.SQLException: Syntax
error or access violation,  message from server: "You have an error in your
SQL syntax.  Check the manual that corresponds to your MySQL server version
for the right syntax to use near 'from INTEGER NOT NULL, to INTEGER NOT
NULL, price INTEGER NOT N")
Most likely, one of your fieldnames is a reserved word for mysql.
Maybe you should use a prefix, or rename the offending field.
Joachim



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


[JBoss-user] [Persistence & CMP/JBoss] - Re: jbosscmp-jdbc.xml type-mapping limitation?

2004-02-17 Thread triathlon98
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821863#3821863

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

This can be handled in jbossjdbc-cmp.xml using dependent-value-classes



Details and examples are available in the (for pay) docs.



Joachim


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


[JBoss-user] [Installation & Configuration] - Install EJB Container _ONLY_

2004-02-17 Thread jeekay
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821862#3821862

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

I am a newbie ;)



Can anybody tell me if I can only install JBOSS without the web container? All I need 
are JMS and EJBs



Thanks



Jeekay








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


[JBoss-user] [Beginners Corner] - Help! JBoss 3.2.3: Stateless Session Beans and isIdentical

2004-02-17 Thread csmmoss
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821861#3821861

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

After switching from JBoss 3.2.1 to 3.2.3, a jUnit test for equivalence between two 
stateless session beans is now failing.  (Code at bottom!)



Previously, under 3.2.1, this assertion test passed:



assertEqual("catalog same", catalog, newCatalog);// TRUE

as do these:

assertTrue("catalog same", newCatalog.equals(catalog));  // TRUE

assertTrue("catalog same", newCatalog.isIdentical(catalog)); // TRUE



But under 3.2.3 (& 3.2.2) none of the following evaluate to true (...unless we change 
the session beans to stateful):

assertEqual("catalog same", catalog, newCatalog); 

assertTrue("catalog same", newCatalog.equals(catalog));

assertTrue("catalog same", newCatalog.isIdentical(catalog));



After brushing up on EJB equivalence rules, I can understand why 'equals()' fails 
(although, I'm now uncertain why it works under 3.2.1) , but as far as I can tell, 
these two stateless beans should be Identical.



Code snippits:



The Action Class

public class EventListAction extends ProtectedAction {



LocalEventCatalog eventCatalog;



/** Initializes the servlet.

 */

public LocalEventCatalog getCatalog() {

if ( eventCatalog == null ) {

try {

Context ctx = new InitialContext();

LocalEventCatalogHome home = 

(LocalEventCatalogHome)ctx.lookup("java:comp/env/EventCatalog");

eventCatalog = home.create();

}

catch ( NamingException ne ) {

throw new ServletException( 

   "naming exception looking up LocalEventCatalogHome", ne );

}

catch ( CreateException ce ) {

throw new ServletException( 

   "create exception creating LocalEventCatalog", ce );

}

}

return eventCatalog;

}

...



The Test Class

public class TestEventListAction extends ServletTestCase {

...

public void testGetCatalog() {

EventListAction action = new EventListAction();

LocalEventCatalog catalog = action.getCatalog();

assertNotNull( "catalog not null", catalog );



LocalEventCatalog newCat = action.getCatalog();

assertNotNull( "new cat not null", newCat );

assertEquals( "catalog same", catalog, newCat ); // FAILS!

assertTrue( "catalog same", newCat.equals(catalog)); // FAILS!

assertEquals( "catalog same", newCat.isIdentical(catalog));  // FAILS!

}

...



We've alse tried (for testing purposes) pre-creating the Bean in the Action, along 
with a simplified getCatalog() method to return it:

public LocalEventCatalog getCatalog() {

   return this.eventCatalog;

   }



and then changing the Test Class to make successive calls to the Action:

LocalEventCatalog catalog = action.getCatalog();

LocalEventCatalog newCat = action.getCatalog();



But even this evaluates to FALSE equality in all three cases.  



Only when we change the Bean to "stateful" do they all evaluate to TRUE, under JBoss 
3.2.2+  And this appears to be at direct odds with the EJB spec, for the case of 
stateless beans. Are we missing something here?



-Logan


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


[JBoss-user] [Frequently Asked Questions (FAQ)] - setting up a virtual host with 3.2.3 (without Apache)

2004-02-17 Thread Martin Brice
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821860#3821860

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

Howdy.  I've seen quite a few questions about this on the web, but unfortunately I 
haven't found any answers. :<  I was wondering if someone had a web link or could 
offer some help with setting up virtual hosts?



I've setup Tomcat (latest prod) at home last night, and got virtual hosts working 
there (created three wars, and edited the XP lmhosts file), and it was great.  I 
thought this would work (with some minor changes for the deploy dir for JBoss), but it 
didn't work on my JBoss-3.2.3 on my RH9 box.  Has anyone tried this?  Can you offer 
any help?  I figure it's a simple thing to setup, but I without the magic xml nodes 
and attributes, I'm left without a running server. :<



Thanks for any help.



PS I put this in here (FAQ) cause I've seen a lot of ppl ask for this info, but either 
have Apache or didn't get any answers. 


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


[JBoss-user] [HTTPD, Servlets & JSP] - apache 1.3.29 -> mod_jk 1.2.5 -> jboss 3.2.3 NOT WORKING! HE

2004-02-17 Thread mshaikh
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821859#3821859

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

I can't get apache to talk to the ajp13 port on Jboss, apache looks locally to its own 
file system to serve up my servlets and jsps. Here are my configs. Please help:



httpd.conf: 



Include conf.d/*.conf 



conf.d/jboss.conf: 



LoadModule jk_module modules/mod_jk.dll (renamed the dll file) 



JKWorkerFile "C:\apache-1.3.29\apache\conf.d\workers.properties 

JkMount /jetspeed mylb 

JkMount /jetspeed/* mylb 



workers.properties: 



worker.list=mylb 

worker.mylb.port=7009 (Yeah, I know, I changed the ajp port which works fine) 

worker.mylb.host=localhost 

worker.mylb.type=ajp13


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


[JBoss-user] [EJB/JBoss] - the build.xml file missing from book examples

2004-02-17 Thread alanc_yang
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821858#3821858

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

The build.xml file seems to be missing from the JBoss book examples.  But looking at 
the document "Jboss Admin and Development 3rd Edition" on page 307 it talks about how 
to run the examples from chapter 6 by:

"ant -Dchap=chap6 -Dex=lp2p run-example".  Since it cannot find build.xml this would 
fail.  I can write build.xml from scratch, but it seems to me that it should exist 
somewhere already.  Can somebody help pointing to the right place?



Thanks in advance.



Alan




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


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Apache 2 + Jboss/Tomcat + mod_jk2

2004-02-17 Thread mshaikh
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821857#3821857

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

I'm trying to get the following config working with no luck so far. Somehow, apache 
does not seem to go to jboss server, it simply looks in its htdocs directory, 
obviously not finding anything and reporting "File does not exist" error.



Thanks for your help.



Munzoor Shaikh

[EMAIL PROTECTED]





JBoss (Tomcat) 3.2.3

Apache 1.3.29

mod_jk-1.2.5.1.3.27.dll

Windows XP



here are my config lines:



httpd.conf:



Include conf.d/*.conf



conf.d/jboss.conf:



LoadModule jk_module modules/mod_jk.dll (renamed the dll file)



JKWorkerFile "C:\apache-1.3.29\apache\conf.d\workers.properties

JkMount /jetspeed mylb

JkMount /jetspeed/* mylb



workers.properties:



worker.list=mylb

worker.mylb.port=7009 (Yeah, I know, I changed the ajp port which works fine)

worker.mylb.host=mshaikh 

worker.mylb.type=ajp13


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


[JBoss-user] [Installation & Configuration] - Re: Classloader get wrong class between two diferent ear

2004-02-17 Thread jfht
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821856#3821856

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

I'm searching, and I have found 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=29584

But the problem stills.



Any help?


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Enabliong JBoss 3.2.3 :( Tomcat 4.1.27 SSL

2004-02-17 Thread Martin.Stechert
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821854#3821854

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

Hi,

I'm trying the same: getting SSL up with jboss 3.2.3 and the embedded tomcat.



I'm getting an exception about missing class PureTLSImplementation. And yes, this 
class is not in tomcat-util.jar although it was there in jboss 3.2.1.



Using jbossweb-tomcat.sar from jboss 3.2.1 brings jboss 3.2.3 up with SSl without 
problems.

Using tomcat 5 from docs/examples/tomcat gives exception because class 
COM.claymoresystems.ptls.SSLContext is missing.



Is there a known issue about embedded tomcat from jboss 3.2.3 with SSL?



I'm using jdk 1.3.1 on a sun/solaris machine and upgrading to 1.4 is not an option for 
us.



Thanks in advance,

Martin.




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


[JBoss-user] [EJB/JBoss] - Min Requirements for a JBossMQ Service

2004-02-17 Thread toniG
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821853#3821853

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

Hello,



i'm a newbie and i want to run the simpliest JMS Application on a JBoss Server.



I already have 3 .java files (SimpleTopicSubscriber, SimpleTopicListener, Testlistener 
from Suns JMS Tutorial) and a running JBoss Application Server. 



I think i need to make from 1 of these files a MessageDrivenBean, write a describer 
and an build.xml file. After that i have to put that files in the jboss/deploy subpath.



But i'm not sure about that, could ya tell me if somethins wrong? 



Thank ya 4 da help. 


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


[JBoss-user] [Performance Tuning] - Re: Managed Connection Pool Problem

2004-02-17 Thread spyer
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821852#3821852

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

Oracle's thin client is to be avoided, we use the oci8 driver, I had major problems 
with oracle connection pooling also, and changed to use DBCP 
jakarta.apache.org/commons/dbcp/



hope this helps  


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


[JBoss-user] [Installation & Configuration] - Serving static pages with JBoss3.0.4/Catalina4.0.6

2004-02-17 Thread skidvd
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821851#3821851

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

Hello: 



First some brief background 



I have been using JBoss 3.0.4 with embedded Catalina 4.0.6 

successfully for quite some time now. 

I typically run multiple web apps (both JSP and servlets) as 

well as a number of EJBs. These 

applications have a combination of both static html pages (very 

few) as well as dynamically 

generated pages (most of them are like this). In either case, 

everything that is needed for a 

specfic app is contained in its associated war file(s). 



Recently, I had a new requirement though that I need some 

assistance with. Unlike my typcial 

situation above, I now have a hiearchal directory of truely 

static pages that needs to be served 

in combination with one of my more typical dynamic apps. 



I placed the directory into the deploy directory and thought 

that all would be fine. However, 

this did not work (page not found errors) as I navigated to 

http://ip:port/. 

I then decided to wrap the static page directory hiearchy inside 

of an exploded war file 

directory structure with a trivial web.xml descriptor. This 

get's me further in that if I 

now navigate to http://ip:port//, 

the browser will find it for 

SOME files. Basically everything that is in the top directory 

of static directory hiearchy is 

now visible. However, anything referencing something in any of 

the static subdirs provides the 

"page not found" error. 



I've looked into the tomcat-service.xml and played with adding a 

specifc context with a different 

docbase to no avail. I'm sure I'm missing something simple as 

I've never had to worry about 

this before. I'd appreciate any assistance and appropriate 

config file snippets. 



Thanks! 




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


[JBoss-user] [Installation & Configuration] - Re: Classloader get wrong class between two diferent ear

2004-02-17 Thread jfht
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821850#3821850

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

What should I do to have those class loaders recognized by Jboss? Any one can help?

Thanks!


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


[JBoss-user] [Installation & Configuration] - Running two Jboss instance on the same machine

2004-02-17 Thread cari34
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821849#3821849

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

Hi guys,

I have a very simple question.

I want to run two or more JBoss servers on the same machine.

What do I have to do???

Do I have to change something in the jboss-service.xml and/or

other configuration files.



Do you have any information about that??



Thank you.



Cari.


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


[JBoss-user] [EJB/JBoss] - Re: InitialContext

2004-02-17 Thread acoliver
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821848#3821848

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

Context naming = new InitialContext(); should do the trick within jboss.  You do not 
need to/shold not provide properties in that case.  However if you mean remotely, you 
should supply a jndi.properties file in the classpath first.Or you can do as the 
poster suggested below, the jndi properties gives you less rigid code.  
http://jboss.org/wiki/Wiki.jsp?page=AccessEJBsRemotely


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


[JBoss-user] [Security & JAAS/JBoss] - Re: How to configure SecurityManager NOT to cache Subject

2004-02-17 Thread acoliver
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821846#3821846

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

Do you think a filter could flush the cache?  Meaning stick a filter in front of 
j_security_check and then call the mbean intercepting the  call with a call to the 
JAASSecurityManager to flush teh cache for the user in the request parms?  Its a 
little bit of a kludge but it just seems like it just might work...though there may be 
something I'm not thinking of...


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


[JBoss-user] [EJB/JBoss] - Re: InitialContext

2004-02-17 Thread bbalmer
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821844#3821844

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

How about:

String IP = ?;

String PORT = ?;



Hashtable props = new Hashtable();

props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");

props.put(Context.PROVIDER_URL, IP + ":" +PORT );

props.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");

Context jndiContext = new InitialContext(props);


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


[JBoss-user] [EJB/JBoss] - InitialContext

2004-02-17 Thread walter
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821842#3821842

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

hi, my questions is the next: how I doing to get the initialcontext in Jboss 3.2.x ??? 
I'm start up JBoss with option -c all.



Thank you


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


[JBoss-user] [Installation & Configuration] - Re: Basic JBoss 3.2.3 installation problem

2004-02-17 Thread billykimber
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821841#3821841

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

I have had the same problem... 

The problem was that I formely installed Tomcat, and put some JARs in the lib\ext 
directory. 

Solution: Remove the JARs files (except the one that where set during the java 
installation !!!) from that that directory and it will work properly!



Billy


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


[JBoss-user] [Security & JAAS/JBoss] - Re: How to configure SecurityManager NOT to cache Subject

2004-02-17 Thread starksm
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821840#3821840

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

Setting DefaultCacheTimeout <= 0 disables caching.



You cannot only have authentication occur the first time a user is redirected to a 
login page using FORM auth if you disable caching. Authentication ocurs on every 
access to secured content. You would have to create your own custom cache policy tied 
to the session timeout or some web app logic that tracked user logins.


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


[JBoss-user] [Javassist user questions] - editing java byte-code from a byte[]

2004-02-17 Thread distributed
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821839#3821839

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

hello ppl...



I have previously used javaassist to create new beans on the fly but had run into some 
problems with a new feature i was trying to implement.



This time the class byte-code obtained from the toBytecode() function is stored in a 
object repository implementing a raw version control scheme on it.  I am also using a 
custom class loader to make "Class" objects out of the required version of the 
byte-code and then make objects of that class.



Now I also wanted to implement a byte-code editing utility for this repository. This 
utility should take input in form of byte[] arrays, perform the specified modification 
and then write the byte[] back to the repository.



so now how do i edit the class represented by the byte-code in the byte[] array ??

i am in a total fixit seems the effort in making the repository was a total waste 
especially if i cannot edit the class.



any one having a clue on how to do this ? Have i missed some feature of javassist ?

any help shall be highly appreciated.






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


[JBoss-user] [Persistence & CMP/JBoss] - jbosscmp-jdbc.xml type-mapping limitation?

2004-02-17 Thread mandrews-flarion
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821838#3821838

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

this is a question (at end) about the internals of the type-mapping process:



i've created a new type-mapping for mysql, for a custom serializable object. lets say 
for the sake of argument that this object just encapsulates a single 'int' field.



currently, jboss seems to do some custom serialization of the object, and thus the 
sql-column type is just 'blob'. thus, i use this type mapping:





   com.companyx.MyCustomObject

   BLOB

   BLOB







what i would like to do instead is:





   com.companyx.MyCustomObject

   INTEGER

   INTEGER







but can't because i don't know of any way jboss could figure out the object merely 
encapsulate an 'int' field, and just write that integer to the table column.



the reason i want to this is that there can then be other clients of the database, for 
instance perl or c++, etc etc..., which can then just read 'integers'. otherwise, the 
database is specific to java & jboss when there are serialized java objects in it.



the only reason is see how this can be done is if somehow my 'MyCustomObject' 
implements a special interface that lets jboss marshall/unmarshall as a simple integer 
in the database. 



is there any such special interface to allow this sort of type-mapping customization? 
or is there another way to do ti?



thanks,

mike




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


[JBoss-user] [Datasource Configuration] - Re: EJB's keep using DefaultDS

2004-02-17 Thread Alaveth
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821834#3821834

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

"JAshwin" wrote :  From my point of view, the problem might be related to your 
ds-configuration because since ur using oracle-ds; deleting hsql-ds should not affect 
your modules.



Could you please explain in greater detail?

For I have the same problem, and being new to JBoss I do feel a bit overwhelmed. Any 
help would be greatly appreciated.

I'm using JBoss 3.2.3 and Oracle 8i.


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


[JBoss-user] [Security & JAAS/JBoss] - Re: login jboss using jaas

2004-02-17 Thread starksm
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821833#3821833

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

Using something like this:





import org.jboss.security.auth.callback.UsernamePasswordHandler;

...



protected void processRequest(HttpServletRequest request, HttpServletResponse 
response)

throws ServletException, IOException

{

LoginContext lc = null;

String echoMsg = null;

try

{

lc = doLogin("jduke", "theduke");

...

}

catch(LoginException e)

{

throw new ServletException("Failed to login to client-login domain as 
jduke", e);

}

catch(Exception e)

{

throw new ServletException("Failed to access SecuredEJB", e);

}

finally

{

if( lc != null )

{

try

{

lc.logout();

}

catch(LoginException e)

{

}

}

}



response.setContentType("text/html");

PrintWriter out = response.getWriter();

out.println("");

out.println("ClientLoginServlet");

out.println("ClientLoginServlet Accessed");

out.println("Login as user=jduke succeeded.SecuredEJB.echo 
returned:"+echoMsg+"");

out.println("");

out.close();

}



private LoginContext doLogin(String username, String password) throws 
LoginException

{

UsernamePasswordHandler handler = new UsernamePasswordHandler(username, 
password.toCharArray());

LoginContext lc = new LoginContext("client-login", handler);

lc.login();

return lc;

}








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


[JBoss-user] [Installation & Configuration] - jboss-3.2.1_tomcat-4.1.24 undex linux

2004-02-17 Thread EyfelIt
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821832#3821832

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

Hello to All!



Where can i download the jboss-3.2.1_tomcat-4.1.24 for unix?

Pleasure help me


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


[JBoss-user] [Datasource Configuration] - Connection Pooloing problem or ..................

2004-02-17 Thread nraj_26
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821831#3821831

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

My application is running on Jboss3-2.1 & Apache2 using MS SQL Server.



I am getting error when more request comes to my site.

 

"org.jboss.util.NestedSQLException: You are trying to use a connection factory that 
has been shut down: ManagedConnectionFactory is null.; - nested throwable: 
(javax.resource.ResourceException: You are trying to use a connection factory that has 
been shut down: ManagedConnectionFactory is null.)" 





It means Connection Pooloing problem or ..



Regards 

nraj


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


[JBoss-user] [Datasource Configuration] - ManagedConnectionFactory is null.;

2004-02-17 Thread nraj_26
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821830#3821830

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

I am getting error when more request comes to my site

"org.jboss.util.NestedSQLException: You are trying to use a connection factory that 
has been shut down: ManagedConnectionFactory is null.; - nested throwable: 
(javax.resource.ResourceException: You are trying to use a connection factory that has 
been shut down: ManagedConnectionFactory is null.)"



Plaese any body.



Regards



nraj


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


[JBoss-user] [Installation & Configuration] - Re: AbstractMethodError

2004-02-17 Thread [EMAIL PROTECTED]
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821829#3821829

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

Check the notes on running JBoss with JDK 1.3.1 at the end of the installation page.




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


[JBoss-user] [Security & JAAS/JBoss] - login jboss using jaas

2004-02-17 Thread qjx1208
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821828#3821828

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

how I use my servlet loginContext.login container

not use HTTP Basic Authentication

Thanks


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


[JBoss-user] [EJB/JBoss] - Re: accessing Local Interfaces from JSP's

2004-02-17 Thread acoliver
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821827#3821827

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

And additionally what are the transactional implications of tying your Entity to your 
JSP!


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


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Apache 2 + Jboss/Tomcat + mod_jk2

2004-02-17 Thread acoliver
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821826#3821826

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

Perhaps it would be more efficient if you posted your changed configuration files and 
related logs 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


[JBoss-user] [Installation & Configuration] - java.net.BindException: Address already in use

2004-02-17 Thread chrismalan
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821825#3821825

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

That is of course just the essence of the error message.  Here is some more:



03:00:35,334 INFO  [OILServerILService] JBossMQ OIL service available at : 
0.0.0.0/0.0.0.0:5005

03:00:35,352 INFO  [OILServerILService] Started

03:00:35,353 INFO  [UILServerILService] Starting

03:00:35,354 INFO  [UILServerILService] JBossMQ UIL service available at : 
0.0.0.0/0.0.0.0:5006

03:00:35,370 INFO  [UILServerILService] Started

03:00:35,371 INFO  [OIL2ServerILService] Starting

03:00:35,378 ERROR [OIL2ServerILService] Starting failed

java.net.BindException: Address already in use

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)

at java.net.ServerSocket.bind(ServerSocket.java:318)

at java.net.ServerSocket.(ServerSocket.java:185)



etc. etc.



03:00:35,381 WARN  [ServiceController] Problem starting service 
jboss.mq:service=InvocationLayer,type=OIL2

java.net.BindException: Address already in use

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)

etc. etc.

03:00:35,392 WARN  [ServiceController] Problem starting service 
jboss.mq:service=InvocationLayer,type=UIL2

java.net.BindException: Address already in use

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)

at java.net.ServerSocket.bind(ServerSocket.java:318)

etc. etc. 

MBeans waiting for other MBeans:

[ObjectName: jboss.mq:service=InvocationLayer,type=OIL2

 state: FAILED

 I Depend On:   jboss.mq:service=Invoker



 Depends On Me: java.net.BindException: Address already in use, ObjectName: 
jboss.mq:service=InvocationLayer,type=UIL2

 state: FAILED

 I Depend On:   jboss.mq:service=Invoker



 Depends On Me: java.net.BindException: Address already in use]



I found a message dealing with just this problem posted in December 2003.  According 
to the responses one should change ports in uil2-service.xml, oil2-service.xml and 
oil-service.xml  All these are supposed to be found in .../deploy/jms.  Not only does 
the relevant JBoss-3.2.0 not have that directory, but a file search of all of 
JBOSS_HOME could not find one of those files.



This is one of x instances of JBoss running on a commercial server.  Each user has his 
own instance of JBoss inside his own context.



Which files contain the ports that have to be changed, if that is the correct answer?  
Thanks very much.



Chris


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


[JBoss-user] [Installation & Configuration] - AbstractMethodError

2004-02-17 Thread Dartanghan
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821824#3821824

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

hi there!

I'm trying to run jboss on  debian under a sparc station 5

my jsdk version is 1.3.1 BlackDown



well, my sdk looks fine

but when I start jboss a deployment error occurs at jboss-service.xml



I  installed sdk 1.4 but my arch is not v8 or v9 , then jvm don't run.

I make a hybrid jsdk, don't work too =(

I installed other Jboss versions but just don't work, same for Jsdk





here the log file







  JBoss Bootstrap Environment



  JBOSS_HOME: /usr/local/jboss-3.2.3



  JAVA: /usr/local/j2sdk1.3.1//bin/java



  JAVA_OPTS:  -Dprogram.name=run.sh



  CLASSPATH: /usr/local/jboss-3.2.3/bin/run.jar:/usr/local/j2sdk1.3.1//lib/tools.jar







11:04:32,344 INFO  [Server] Starting JBoss (MX MicroKernel)...

11:04:32,442 INFO  [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: 
CVSTag=JBoss_3_2_3 date=200311301445)

11:04:32,456 INFO  [Server] Home Dir: /usr/local/jboss-3.2.3

11:04:32,461 INFO  [Server] Home URL: file:/usr/local/jboss-3.2.3/

11:04:32,468 INFO  [Server] Library URL: file:/usr/local/jboss-3.2.3/lib/

11:04:32,497 INFO  [Server] Patch URL: null

11:04:32,501 INFO  [Server] Server Name: all

11:04:32,505 INFO  [Server] Server Home Dir: /usr/local/jboss-3.2.3/server/all

11:04:32,517 INFO  [Server] Server Home URL: file:/usr/local/jboss-3.2.3/server/all/

11:04:32,524 INFO  [Server] Server Data Dir: /usr/local/jboss-3.2.3/server/all/data

11:04:32,530 INFO  [Server] Server Temp Dir: /usr/local/jboss-3.2.3/server/all/tmp

11:04:32,538 INFO  [Server] Server Config URL: 
file:/usr/local/jboss-3.2.3/server/all/conf/

11:04:32,546 INFO  [Server] Server Library URL: 
file:/usr/local/jboss-3.2.3/server/all/lib/

11:04:32,552 INFO  [Server] Root Deployment Filename: jboss-service.xml

11:04:32,662 INFO  [Server] Starting General Purpose Architecture (GPA)...

11:04:38,343 INFO  [ServerInfo] Java version: 1.3.1,Blackdown Java-Linux Team

11:04:38,349 INFO  [ServerInfo] Java VM: Classic VM Blackdown-1.3.1-02b-FCS,Blackdown 
Java-Linux Team

11:04:38,353 INFO  [ServerInfo] OS-System: Linux 2.2.20,sparc

11:04:39,299 INFO  [ServiceController] Controller MBean online

11:04:41,563 INFO  [MainDeployer] Started jboss.system:service=MainDeployer

11:04:44,163 INFO  [MainDeployer] Adding deployer: [EMAIL PROTECTED]

11:04:44,170 INFO  [JARDeployer] Started jboss.system:service=JARDeployer

11:04:44,975 INFO  [MainDeployer] Adding deployer: [EMAIL PROTECTED]

11:04:45,272 INFO  [SARDeployer] Started jboss.system:service=ServiceDeployer

11:04:45,280 INFO  [Server] Core system initialized

11:04:45,906 INFO  [MainDeployer] Starting deployment of package: 
file:/usr/local/jboss-3.2.3/server/all/conf/jboss-service.xml

11:04:46,133 ERROR [MainDeployer] Could not initialise deloyment: 
file:/usr/local/jboss-3.2.3/server/all/conf/jboss-service.xml

java.lang.AbstractMethodError: org/jboss/deployment/SubDeployerSupport.accepts

at org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java, Compiled 
Code)

at org.jboss.deployment.MainDeployer.init(MainDeployer.java, Compiled Code)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java, Compiled Code)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java, Compiled Code)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java, Compiled Code)

at java.lang.reflect.Method.invoke(Native Method)

at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java, 
Compiled Code)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java, Compiled 
Code)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java, Compiled Code)

at $Proxy5.deploy(Unknown Source)

at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java, Compiled Code)

at org.jboss.system.server.ServerImpl.start(ServerImpl.java, Compiled Code)

at org.jboss.Main.boot(Main.java, Compiled Code)

at org.jboss.Main$1.run(Main.java, Compiled Code)

at java.lang.Thread.run(Thread.java, Compiled Code)

11:04:47,021 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages

11:04:47,099 INFO  [Server] Shutting down all services

Shutting down

11:04:47,111 INFO  [ServiceController] Stopping 3 services

11:04:47,174 INFO  [SARDeployer] Stopping jboss.system:service=ServiceDeployer

11:04:47,189 INFO  [MainDeployer] Removing deployer: [EMAIL PROTECTED]

11:04:47,209 INFO  [JARDeployer] Stopping jboss.system:service=JARDeployer

11:04:47,226 INFO  [MainDeployer] Stopping jboss.system:service=MainDeployer

11:04:47,234 INFO  [ServiceController] Stopped 3 services

11:04:

[JBoss-user] [EJB/JBoss] - Re: Getting EJB from jsp in different container

2004-02-17 Thread vineeth_varghese
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821823#3821823

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

All you have to do is to look at the jndi context of the server which has ur EJBs. 



You can create a hashtable with your EJB server's jndi properties and create a 
InitialContext out of it.



Then lookup the bean from this context


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


[JBoss-user] [Clustering/JBoss] - Re: Entity Bean's distributed cache

2004-02-17 Thread [EMAIL PROTECTED]
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821822#3821822

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

Correct.




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


[JBoss-user] [Clustering/JBoss] - iPlanet webserver with Jboss Clustering

2004-02-17 Thread jeganj
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821821#3821821

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

Hi all,



  I have done jboss clustering with apache 2.0 webservice, it is working fine. 
Now instead of apache 2.0 web service, I am planning to put iplanet 4.1 web service. 



Anyone having document for iplanet webservice with Jboss clustering? 

I have to know what are this we have to configure for jboss with iPlanet webservices. 



Whether jboss will support only apache or any other webserver?



-Jegan.

  


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


[JBoss-user] [Installation & Configuration] - Re: Classloader get wrong class between two diferent ear

2004-02-17 Thread jfht
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821819#3821819

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

No! I don't have it!

What am I doing wrong so?



Thanks!


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


[JBoss-user] [Installation & Configuration] - Re: Classloader get wrong class between two diferent ear

2004-02-17 Thread jfht
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821820#3821820

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

Actullay I don't have any of them!


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


[JBoss-user] [EJB/JBoss] - Re: Problem using a local interface on an EJB

2004-02-17 Thread hirowla
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821818#3821818

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

I forgot to mention (if it matters) - I'm running JBoss through Eclipse (using 
JBossIDE 1.2.2). 


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


[JBoss-user] [EJB/JBoss] - Re: Help needed for J2EE with JBoss

2004-02-17 Thread razor_harm78
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821817#3821817

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

You need to edit: standardjbosscmp-jdbc.xml (found in the conf directory).



Edit the part:



java:/DefaultDS

Hypersonic SQL



Replace it with:

java:/myDS

PostgreSQL



Of course the datasource name should be same in your *-ds.xml file.



Cheers,



Harm de Laat

Informatiefabriek

The Netherlands




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


[JBoss-user] How can i save date field in my sql

2004-02-17 Thread netanel weinberg
Hello!

I want to create a date field in my ejb cmp app using mysql but when
creating the table in db the date field is defined with date&time how
can i change it to be only with date?

10x ahead,
  netanel




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


[JBoss-user] Do the beans get redeployed automatically once the DB server comes up..??

2004-02-17 Thread shubhu mutta








   Hi,
 
I have a query.  The scenarios are as follows:
 
  1. At the time of JBOSS Startup, the DB is up. JBOSS creates the connection pool and the beans get deployed. After some time the DB goes down. 
    
    Do  the beans get automatically  undeployed? 
    Once the DB comes up, do the beans get automatically 
 redeployed   or    do they have to be manually redeployed?
 
2. At the time of JBOSS startup, the DB was not up. So the connection pool did not get created. After some time the DB came up.
 
  Will the beans get automatically redeployed or do they have to be 
  manually redeployed?
 
Thanks for your  valuable answers.
 
regards,
Shubhu




Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online

[JBoss-user] Do beans get redeployed automatically once the DB restarts..?

2004-02-17 Thread shubhu mutta




   Hi,
 
I have a query.  The scenarios are as follows:
 
  1. At the time of JBOSS Startup, the DB is up. JBOSS creates the connection pool and the beans get deployed. After some time the DB goes down. 
    
    Do  the beans get automatically  undeployed? 
    Once the DB comes up, do the beans get automatically 
 redeployed   or    do they have to be manually redeployed?
 
2. At the time of JBOSS startup, the DB was not up. So the connection pool did not get created. After some time the DB came up.
 
  Will the beans get automatically redeployed or do they have to be 
  manually redeployed?
 
Thanks for your  valuable answers.
 
regards,
Shubhu



Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online

[JBoss-user] [EJB/JBoss] - Re: Compare Dates in Finder Method

2004-02-17 Thread vvijith
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821816#3821816

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

Probably this may work out for you... with some amout of extra coding.



The EJB QL for the finder would be



SELECT OBJECT(o) from myBean as o where  SUBSTRING(o.startdate,0,9) = ?1



startdate is a date field in the database and the finder method will take string as 
the parameter.



This string parameter should be the date that you want to check from the database. The 
default format for the date field from the database also matters in this approach.



So the finder definition would be

Collection findCustomersOnDate(java.lang.String date)

//date ="16-FEB-04"



The finder will return a collection and when you print the date field, you can always 
get the full date(ie untruncated)



cheers






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


[JBoss-user] [HTTPD, Servlets & JSP] - Re: No ClassLoaders found

2004-02-17 Thread bwinspur
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821815#3821815

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

juha, thanks for the reply,



1. I'm running jboss 3.2.3



2. I'm assuming that jboss-web.sar/META-INF/jboss-service.xml 

   you ask about, corresponds to 

   jboss-3.2.3/server/default/deploy/jbossweb-tomcat41.sar, in

   which case its META-INF/jboss-service.xml looks like below.



3. I just tried using the thread context classloader, and it

   worked! My class loaded and instantiated.



Thanks a bunch, I'm new to jboss and the level of response is

as impressive as the implementation. I'll study the jvm spec

etc. to get a better understanding of defining and initiating

class loaders, quite new to me. Thanks again.



Bill. 

= 



 

-  

- 

- 

-  

  true 

  true 

-  

  true 

-  

  j_subject 

-  

-  

  instant 

-  

  2000 

- 

- 

- 

- 

   

- 

-  

   

-  

   

-  

   

  

  

-  

   

-  

   

-  

  

  

  

  jboss:service=TransactionManager 

  

  


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


  1   2   >