Re: [JBoss-user] mailing list and forums

2004-02-11 Thread Thomas Hentschel Lund

Also please shorten then extra info tags in the subject. I work on a
laptop running 1024x768 and evolution email client. When making
evolution as wide as possible I see a subject like:

[Jboss-user][Jboss Getting Started Documentation] - Jboss 3.2...

And I even made the subject field as wide as possible

Extremely hard to know if this is an email I want to read or not.

/Thomas


tir, 2004-02-10 kl. 20:42 skrev Vladyslav Kosulin:
 Hi all,
 After we united forums with mailing list, the mailing list became almost 
 unreadable. No quotes, not tree structures. It is very hard to follow 
 discussions for those who use mail clients.
 
 Is it possible to modify the forum software so it preserves the traditional 
 mailing list attributes, such as quote and correct header info for reply?
 
 Vlad
 
 
 ---
 The SF.Net email is sponsored by EclipseCon 2004
 Premiere Conference on Open Tools Development and Integration
 See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
 http://www.eclipsecon.org/osdn
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] mailing list and forums

2004-02-11 Thread Yates, Danny
And another thing... :-)

This is partly my fault for using Outlook, and I concede that point,
but the new forum stuff makes it very difficult to thread replies.

With the old list, I would right-click a message and do Find All 
Related Messages, which would deal with Re: and FW: prefixes and then
match stuff by subject. Now that the Re: appears after the forum name
(e.g. [JBoss-user][Datasource Configuration] - Re: blah blah), Outlook
gets completely stumped.

Anybody know a way around this?

Dan.

-- 
Danny Yates
 


-Original Message-
From: Thomas Hentschel Lund [mailto:[EMAIL PROTECTED] 
Sent: 11 February 2004 09:26
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] mailing list and forums



Also please shorten then extra info tags in the subject. I work on a
laptop running 1024x768 and evolution email client. When making
evolution as wide as possible I see a subject like:

[Jboss-user][Jboss Getting Started Documentation] - Jboss 3.2...

And I even made the subject field as wide as possible

Extremely hard to know if this is an email I want to read or not.

/Thomas


tir, 2004-02-10 kl. 20:42 skrev Vladyslav Kosulin:
 Hi all,
 After we united forums with mailing list, the mailing list became almost 
 unreadable. No quotes, not tree structures. It is very hard to follow 
 discussions for those who use mail clients.
 
 Is it possible to modify the forum software so it preserves the
traditional 
 mailing list attributes, such as quote and correct header info for reply?
 
 Vlad
 
 
 ---
 The SF.Net email is sponsored by EclipseCon 2004
 Premiere Conference on Open Tools Development and Integration
 See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
 http://www.eclipsecon.org/osdn
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Notice to recipient:
The information in this internet e-mail and any attachments is confidential
and may be privileged. It is intended solely for the addressee. If you are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful.
When addressed to external clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued by
the pertinent Bank of America group entity.
If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of America
Futures Incorporated are regulated by the Financial Services Authority.


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Webservice deployment in ear

2004-02-11 Thread Johannes Plachy

Hi,

I want to deploy a webservice under JBoss
3.2.2 based on a stateless session bean.
This webservice should be packaged inside
a wsr and packaged together with the ejb.jar and a war as app.ear.

what do I need to package inside the wsr
beside the client-side EJB jar and the axis deploymentdescriptor ( web-service.xml)
what do I have to specify in the ear deployment
descriptor ?

any help would be greatly appreciated
Johannes

RE: [JBoss-user] Webservice deployment in ear

2004-02-11 Thread spohl



Hi,

  -Ursprüngliche Nachricht-Von: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]Im Auftrag von Johannes 
  PlachyGesendet: Mittwoch, 11. Februar 2004 11:37An: 
  [EMAIL PROTECTED]Betreff: [JBoss-user] Webservice 
  deployment in ear
  Hi, I want to deploy a webservice under JBoss 3.2.2 based on a stateless 
  session bean. This webservice should be 
  packaged inside a wsr and packaged together with the ejb.jar and a war as 
  app.ear. what do I need to package 
  inside the wsr beside the client-side EJB jar and the axis 
  deploymentdescriptor ( web-service.xml)
  For me: nothing more than the 
  META-INF/web-service.xml
  client-side EJB jar? I think this has nothing to do with a server-side 
  deployment. Should be packaged separately and distributed to ejb-clients. 
  Webservice-Clients can generate stubs from the wsdl generated by axis and 
  published via http://localhost:8080/jboss-net/...
  what do I have to 
  specify in the ear deployment descriptor ?
  
  Simply handle a wsr as an ejb module
  
  application.xml:
  
  
  - module
  
  
   ejbsomename.jar/ejb
  /module
  
  - module
  
  
   ejbsomename.wsr/ejb 
  /moduleany help would be greatly appreciated Johannes


Re: [JBoss-user] Webservice deployment in ear

2004-02-11 Thread Giovanni Formenti
Hi,
i can give u some link to JBoss.Net resources, some of this to create
web-service.xml via XDoclet (I found this great!):
http://www.jboss.org/developers/guides/jboss.net/xdoclet
http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-He
lloWorld.shtml
http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-EJ
B-example.shtml
http://www.nsdev.org/jboss/stories/jboss-net.html
http://www.tusc.com.au./tutorial/html/chap9.html

Gio

-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] conto di Johannes Plachy
Inviato: mercoledi 11 febbraio 2004 11.37
A: [EMAIL PROTECTED]
Oggetto: [JBoss-user] Webservice deployment in ear



Hi,

I want to deploy a webservice under JBoss 3.2.2 based on a stateless session
bean.
This webservice should be packaged inside a wsr and packaged together with
the ejb.jar and a war as app.ear.

what do I need to package inside the wsr beside the client-side EJB jar and
the axis deploymentdescriptor ( web-service.xml)
what do I have to specify in the ear deployment descriptor ?

any help would be greatly appreciated
Johannes



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - ClassCastException during HTTP Session Replication Deserialization

2004-02-11 Thread Chris Pennock
All,

I have recently been testing my app with JBoss clustering, with the
hopes of achieving HTTP Session Replication.

For very simple cases (eg a String in the session), it works flawlessly
out of the box. However, with more complicated  objects in the session,
I am getting ClassCastExceptions as JBoss tries to deserialize the
session. The trace is pasted below.

Having looked at the code for
ClusteredHTTPSessionBeanImpl.unserializeSession() (the method is pasted
below), I can't figure out why it would be trying to cast to one of my
objects (specifically OrderedMap), nor why this exception was raised.

Does anyone have any idea:
- How deserialization works and why I would get a ClassCastException?
- What tests to run to figure out what's going on?
- Is there documentation or any other web discussion that covers this
process in detail? (I have searched this list)
- Is there an online resource discussing strategy for how complex or
deep objects in the session should be to make HTTP session replication
efficient?

Any help would be greatly appreciated.

thanks so much!
Chris



 ClusteredHTTPSessionBeanImpl.unserializeSession() --

   protected void unserializeSession() throws EJBException
   {
  try
  {
 MarshalledValue mo = (MarshalledValue)this.getSerializedSession
();
 if (mo != null)
this.tmpSession = (SerializableHttpSession)(mo.get ());
  }
  catch (Exception e)
  {
 throw new EJBException (e.toString ());
  }
   }



 The stack trace --

17:49:04,096 INFO  [DefaultPartition] New cluster view (id: 2, delta:
-1) : [172.16.2.13:1099]
17:49:04,104 INFO  [DefaultPartition:ReplicantManager] Dead members: 1
17:49:17,478 INFO  [STDOUT] 2004.02.09-17:49:17 E=091025 L=DEBUG U=null
A=null SQL : : : SELECT * FROM TBLEFTREWARDSIMPORT WHERE SSTATUS =
Imported
17:49:19,337 INFO  [JkInputStream] Receiving: getting request body chunk
0 0
17:49:19,510 ERROR [LogInterceptor] EJBException:
javax.ejb.EJBException: java.lang.ClassCastException:
com.higherone.util.OrderedMap
at
org.jboss.ha.httpsession.beanimpl.ejb.ClusteredHTTPSessionBeanImpl.unser
ializeSession(ClusteredHTTPSessionBeanImpl.java:128)
at
org.jboss.ha.httpsession.beanimpl.ejb.ClusteredHTTPSessionBeanImpl.getSe
ssion(ClusteredHTTPSessionBeanImpl.java:71)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContaine
r.java:1095)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySync
hronizationInterceptor.java:304)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInt
erceptor.java:163)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor
.java:89)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryF
inderInterceptor.java:122)
at
org.jboss.ha.httpsession.beanimpl.ejb.ServerTCLInterceptor.invoke(Server
TCLInterceptor.java:40)
at
org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:490)
at org.jboss.ejb.Container.invoke(Container.java:700)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:9
0)
at
org.jboss.ha.httpsession.beanimpl.ejb.ClientTCLInterceptor.invoke(Client
TCLInterceptor.java:46)
at
org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:97)
at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy35.getSession(Unknown Source)
at
org.jboss.ha.httpsession.server.ClusteredHTTPSessionService.getHttpSessi
on(ClusteredHTTPSessionService.java:138)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy38.getHttpSession(Unknown Source)
at
org.jboss.web.tomcat.session.ClusterManager.loadSession(ClusterManager.j
ava:595)
at
org.jboss.web.tomcat.session.ClusterManager.findSession(ClusterManager.j
ava:273)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:173)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
at

Re: [JBoss-user] jboss-net sample

2004-02-11 Thread Bruce Scharlau
Stefan Groschupf wrote:

Hi jboss-net guys,

where i have to search for a jboss-net example project?

Thanks a lot for a hint!
Stefan


open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
Stefan,

look at the jboss.net project pages at
http://www.jboss.org/developers/projects/jboss/dotnet
you'll find this points to a few examples, which should get you going.
There is also a variation on the ejb example at
http://www.csd.abdn.ac.uk/~bscharla/teaching/CS5302/practicals/practical9.shtml 
that incorporates Neal's stuff about xdoclet. I just haven't had chance 
to make a formal page about it yet.

--
cheers,
Bruce

Dr. Bruce Scharlau
Dept. of Computing Science
University of Aberdeen
Aberdeen AB24 3UE
01224 272193
http://www.csd.abdn.ac.uk/~bscharla
mailto:[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=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Two ears and classcastexception :( please, help!!

2004-02-11 Thread Francisco Figueiredo Jr.
Scott M Stark wrote:
A client in one ear calling an ejb in another ear is a circumstance
where you do not want a custom loader-repository. For this you want
the default flat visibility since you are sharing types between
deployments. You'll have to explain why the client is in ear1
calling ear2 rather than being in ear2.


Hi Scott. Thanks for the help. Sorry for late answer. I was having some 
problems getting my messages to the list and just now I saw it was 
working again...

Jae Gangemi sent me some explanations about how to get them working. I 
have to have the class used by both ears in the flat visibility as you 
are saying too.

The client is in fact using the ear2 which is using as a client the ear1.

The ear1 is holding components which will be used by more than one ear 
appication and so I decided to put them in a separate ear.

Regards,

Francisco Figueiredo Jr.

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


[JBoss-user] significance of jars in JBOSS-HOME/lib directory

2004-02-11 Thread Anjulatha Vellanki
Can somebody tell me the significance of jars in JBOSS-HOME/lib directory? 

when Jboss loads these jars?
where the classpath is specified?
are all the jars in this directory required by Jboss?
can i add new jars?

Thanks
Anju



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

[JBoss-user] Handle.getEJBObject() bug in jboss 3.2.3 - fixed.

2004-02-11 Thread Russell Chan
FYI,

Attached is a small patch which fixes the problem that I found earlier.
(See prior posts from me with the subject:Handle.getEJBObject().
This patch fixes the problem where a serialized handle to an stateful session
bean was being used to get back to the remote bean instance.  This call, in
jboss 3.2.3 resulted in an extra reflock on the stateful bean, thus causing a problem
when the container went to passivate the bean (Unable to passivate blah blah).
Once again, this patch is for jboss 3.2.3.



Regards,
Russ
--
--
Russell Chan,
Navaho Networks Inc.
416 542 1590 x108
Index: server/src/main/org/jboss/ejb//StatefulSessionContainer.java
===
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/StatefulSessionContainer.java,v
retrieving revision 1.49.2.9
diff -c -r1.49.2.9 StatefulSessionContainer.java
*** server/src/main/org/jboss/ejb//StatefulSessionContainer.java25 Oct 2003 
15:08:03 -  1.49.2.9
--- server/src/main/org/jboss/ejb//StatefulSessionContainer.java11 Feb 2004 
17:57:52 -
***
*** 613,618 
--- 613,619 
  
// Does the session still exist?
InstanceCache cache = getInstanceCache();
+ log.trace(getEJBObject() - getting lock);
BeanLock lock = getLockManager().getLock(id);
lock.sync();
try
***
*** 622,627 
--- 623,631 
}
finally
{
+   //RMC : new - release the lock!!
+   log.trace(getEJBObject() - releasing lock);
+getLockManager().removeLockRef(id);
   lock.releaseSync();
}
  


Re: [JBoss-user] USING FORUMS INSTEAD OF LISTS

2004-02-11 Thread Roy Britten
Hi,

I didn't see this thread for a couple of days; it was buried in
hundreds of forum postings that read like:

 Subject: [JBoss-user] [HTTPD, Servlets  JSP] - Re: configuring jboss-3.2.3 for 
 servlet

 View the original post :
 http://www.jboss.org/index.html?module=bbop=viewtopicp=3820946#3820946

 Reply to the post :
 http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820946

 LOL

As others have already noted, the current model breaks MUA
threading and (unless you have the luxury of a high resolution
screen) gives subject headings that display as (random example):

[JBoss-user] [Installation  Configuration] - Isap

Sadly, I barely have time to skim relevant postings (if I can
find them now), let alone write some better code to manage
this problem. So, sadly I can't offer a solution; I merely note
that moving the list away from the successful model used for
other open projects to one that better suits the JBoss
developers has made it pretty much unusable for many of us.

Cheers all,
Roy.

On Sun, 8 Feb 2004 at 12:15pm, Rupp, Heiko wrote:

 Marc,
  ML at the moment have the advantage for me that I can
 read/answer them offline (e.g. while being on a plane or at
 the airport. But then, I am from Old Europe (TM) :-)

My opinions, not my employer's.

-- 
Roy Britten
National Institute of Water and Atmospheric Research
PO Box 8602, Christchurch, New Zealand
P: +64-3-343-7818
F: +64-3-348-5548
http://www.niwa.co.nz


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


Re: [JBoss-user] USING FORUMS INSTEAD OF LISTS

2004-02-11 Thread Andrew C. Oliver
I agree that it isn't perfect.  Its just everyone is so busy with other
things right now.  How about giving us a hand with that stuff.  I have some
ideas that might work (using mail services of course!
http://jboss.org/wiki/Wiki.jsp?page=MailServicesForJBoss)

We might even be able to enable postback relatively easily.  Not sure how
this will integrate with sourceforge, but we might be able to do something
relatively seamless.

Let me know if you're interested in pitching in.

-Andy

 From: Roy Britten [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 12 Feb 2004 10:10:09 +1300 (New Zealand Daylight Time)
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] USING FORUMS INSTEAD OF LISTS
 
 Hi,
 
 I didn't see this thread for a couple of days; it was buried in
 hundreds of forum postings that read like:
 
 Subject: [JBoss-user] [HTTPD, Servlets  JSP] - Re: configuring jboss-3.2.3
 for servlet
 
 View the original post :
 http://www.jboss.org/index.html?module=bbop=viewtopicp=3820946#3820946
 
 Reply to the post :
 http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820946
 
 LOL
 
 As others have already noted, the current model breaks MUA
 threading and (unless you have the luxury of a high resolution
 screen) gives subject headings that display as (random example):
 
 [JBoss-user] [Installation  Configuration] - Isap
 
 Sadly, I barely have time to skim relevant postings (if I can
 find them now), let alone write some better code to manage
 this problem. So, sadly I can't offer a solution; I merely note
 that moving the list away from the successful model used for
 other open projects to one that better suits the JBoss
 developers has made it pretty much unusable for many of us.
 
 Cheers all,
 Roy.
 
 On Sun, 8 Feb 2004 at 12:15pm, Rupp, Heiko wrote:
 
 Marc,
  ML at the moment have the advantage for me that I can
 read/answer them offline (e.g. while being on a plane or at
 the airport. But then, I am from Old Europe (TM) :-)
 
 My opinions, not my employer's.
 
 -- 
 Roy Britten
 National Institute of Water and Atmospheric Research
 PO Box 8602, Christchurch, New Zealand
 P: +64-3-343-7818
 F: +64-3-348-5548
 http://www.niwa.co.nz
 
 
 ---
 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=1356alloc_id=3438op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



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


[JBoss-user] [Messaging, JMS JBossMQ] - Help on JMS for JBOSS

2004-02-11 Thread sonyia
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821155#3821155

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821155

Hi all,

I have implemented a JMS enabled program in J2EE already.I have to run the 
corresponding JMS program in JBOSS.I have a program in a file 'f'which accepts the 
QueueConnectionFactory,Queuename from a config directory in the same file 'f'.

I have no clue as to what changes i need to incorporate for JBOSS.I know that i add 
topic and queue via the J2EEadmin -addListFactory command for J2EE and was wondering 
if there is an equivalient command for JBOSS too..



Any help is 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=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - deploying .jar at remote system , gives error for lookup in

2004-02-11 Thread tommparekh
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821159#3821159

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821159

hi, 

i am using jboss-3.2.3

my jar file is located at the remote pc and client is on my pc.

when i am tring to lookup for remote interface , it gives me 
java.lang.NoClassDefFoundError.



my code for url provider is :



prop.setProperty ( Context.PROVIDER_URL , jnp://remotepcip:1099 );



how do i solved this out.

pls help

thank u


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


[JBoss-user] [Management, JMX/JBoss] - Re: EJB startup service? (JBoss 3.2.0)

2004-02-11 Thread stefano_fornari
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821160#3821160

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821160

Actually, I have just tried the example 03 in chap 2 of the admin and dev guide and it 
works with JBoss 3.0.8. So... problem solved!



Stefano


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


[JBoss-user] [Security JAAS/JBoss] - Re: How do I flush the Jaas auth cache?

2004-02-11 Thread loshsu
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821162#3821162

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821162

I also tried flushAuthenticationCache() in JaasSecurityManagerService but it's not the 
cache I want to flush.

After tracing the code a little bit further, I found out the the cache I really needs 
to flush is inside org.jboss.security.plugins.JaasSecurityManager.



Does this mean I have to customize it so I cound flush the right cache or I missed 
something important here?



Allen


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


[JBoss-user] [Security JAAS/JBoss] - Re: How do I flush the Jaas auth cache?

2004-02-11 Thread starksm
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821164#3821164

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821164

The JaasSecurityManagerService.flushAuthenticationCache operation flushes the 
underlying JaasSecurityManager associated with the security domain argument, so it is 
what you want to use.


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


[JBoss-user] [Connectors and JCA/JBoss] - local tx question

2004-02-11 Thread yxyang
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821165#3821165

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821165

Hi, 



I am using postgresql, jboss3.2.3. 

Also, entity bean is used. 



The following WARN is displayed, who can give me some explain? ANd how to solve this?



15:03:52,581 WARN  [TxConnectionManager] Prepare called on a local tx. Use of local 
transactions on a jta transaction with more than one branch may result in inconsistent 
data in some cases of failure.



thanks a lot



yang


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


[JBoss-user] [Datasource Configuration] - Re: AS400/DB2 help

2004-02-11 Thread fbiaggi
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821166#3821166

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821166

Hello,

this example work fine on multiple systems:



?xml version=1.0 encoding=UTF-8?



!-- = --

!--   --

!--  JBoss Server Configuration   --

!--   --

!-- = --



!-- $Id: mysql-ds.xml,v 1.1 2002/07/22 22:57:24 d_jencks Exp $ --

!--  --

!--  Datasource config for AS/400 using 2.0.11 driver --

!--  --







  local-tx-datasource

jndi-namelegacy/jndi-name

connection-urljdbc:as400://10.1.2.50;block size=128;extended 
dynamic=true;package=JBOSS;package cache=true;package library=QGPL/connection-url

driver-classcom.ibm.as400.access.AS400JDBCDriver/driver-class

user-nameuser/user-name

pwd

  /local-tx-datasource








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


[JBoss-user] [Security JAAS/JBoss] - Security, multi-user environment

2004-02-11 Thread chalupas
View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821167#3821167

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821167

My question is similar to BrianZ. He wrote:

-

We are using SessionContext/EntityContext to get the user name for updating the db. 
The problem is the last user who logged in is always set for all others in a 
multi-user environment. Pojos were written in order to isolate the issue, but the 
problem did not occur. Any suggestions?

-

starksm anwered:

-

 don't understand what your asking with regard to getCallerPrincipal(). This is the 
identity of the caller on the current invocation. In a multi-user environment it can 
change on every call. What is the relationship between the caller of an ejb and the db?

-



I try to emulate multi-user environment  with a following code:



// User1 has admin privilegues

 AppCallbackHandler handler1 = new AppCallbackHandler(UserData.ADMIN_LOGIN, 
UserData.ADMIN_PASSWORD);

LoginContext lc1 = new LoginContext(other, handler1);

 lc1.login();

 Subject subj1 = lc1.getSubject();

 Context context1 = new InitialContext();

 Object ref1 = context1.lookup(MySessionFacade);

 MySessionFacadeHome facadeHome1 = (MySessionFacadeHome) 
PortableRemoteObject.narrow(ref1, MySessionFacadeHome.class);

 MySessionFacade facade1 = facadeHome1.create();

 facade1.method();



 // In server method() I put following line 

 // log.debug(Principal is  + this.sessionContext.getCallerPrincipal ().getName());

 // At this time it will output  Principal is admin



// User 2 has a guest privilgues

AppCallbackHandler handler2 = new AppCallbackHandler(UserData.GUEST_LOGIN, 
UserData.GUEST_PASSWORD);

LoginContext lc2 = new LoginContext(other, handler2);

lc2.login();

Subject subj2 = lc2.getSubject();

Context context2 = new InitialContext();

Object ref2 = context2.lookup(MySessionFacade);

MySessionFacadeHome facadeHome2 = (MySessionFacadeHome) 
PortableRemoteObject.narrow(ref2, MySessionFacadeHome.class);

MySessionFacade facade2 = facadeHome2.create();



facade2.method();

   // At this time it will output  Principal is guest



//



// Call facade1 again 

facade1.method();

   // At this time it will output  Principal is guest



What code should I put to line marked // for call facade1.method();

whith admin role? 

As I can see from starksm answer I must relogin before EACH method() call? 

Probably this situation taking place in servlets/jsp,  which lives in same 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=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] What is your favorite operating system?

2004-02-11 Thread Andrew Oliver
I've always been curious what operating systems people run JBoss on and
develop for JBoss on as well as what companies/organizations use JBoss.  I
was hoping some folks might help satisfy my curiosity:

http://jboss.org/wiki/Wiki.jsp?page=WhatIsYourFavoriteOperatingSystem

Please fill out this page on the JBoss wiki.  Anyone who is a registered
nukes (JBoss Forum/etc) user can participate.

If you haven't used the wiki before you can find instructions here:

http://jboss.org/wiki/Wiki.jsp?page=Main

This isn't an official poll, I just thought it would be good to know.
Unlike most polls, this poll should be completely fair and informal.

Please don't crowd the list with your responses, just edit the wiki page.

Thanks,

Andy



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBossWiki

2004-02-11 Thread Andrew Oliver
Hi All,

I announced it on the JBossBlog but I don't think I announced it here.

We now have a wiki for user generated documentation and pages.  The
forums/mail lists should be used for asking/answering questions.

Once the question has been asked too many times to count, document here:

http://jboss.org/wiki/Wiki.jsp?page=JBossFrequentlyAskedQuestions

You will require a nukes user and password.

-Andy



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user