[JBoss-user] [JBossCache] - Re: remove leaves the caches consistent in clustered environ

2005-05-13 Thread twundke
Actually, I have a possible bug to report. I thought I'd check here first. The 
bug occurs when using TreeCacheAOP.

I put an object into the cache, which is then replicated to other nodes. This 
all works fine. One node then calls removeObject(), which removes the FQN and 
cache interceptor on the local cache instance. The remove operations are 
replicated on the other nodes, but the cache interceptors are not removed from 
their objects. Therefore, if another node uses the object, the cache simply 
assumes that the object was evicted and re-creates it, which re-replicates it!

I'm assuming that the fix just involves TreeCacheAOP overriding _remove() and 
doing something appropriate.

Should I raise a JIRA issue for this, or have I just missed something obvious?

Tim.


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss/Log4j hangs at startup

2005-05-13 Thread jiwils
Does you configuration file not use a Log4J CONSOLE appender?  If not, that is 
the last line you will see printed on the console.

Regardless, if the above is the problem, JBoss is not hanging, it is now 
longing elsewhere.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: AdventNet SNMP 5.0 Adaptor and JBoss 4

2005-05-13 Thread ericcartman13
Thank you for your reply. Even though I needed to just simply forward the 
incoming JMX Messages to SNMP, I had to read on SNMP a bit to understand the 
terms.

I used AdventNet's Free SNMP API to do that and everything is OK for now.

Thanks for your reply again.

Regards,
Eric

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Stateless bean Deployment in Jboss4.0.1sp1

2005-05-13 Thread deepc
Hi,
I could solve this problem,but using the folowing code
Context ctx=new InitialContext(env);
   System.out.println(Hello5);
  //StatelessBeanHomeIntf objref1=;
  
System.out.println(Hello6);
StatelessBeanHomeIntf 
home=(StatelessBeanHomeIntf)PortableRemoteObject.narrow(ctx.lookup(topic/testTopic),StatelessBeanHomeIntf.class);
System.out.println(Hello7);

  StatelessBeanIntf beanRemoteRef=home.create();
I am running into ClassCastException,I am using predefined JNDI of 
Jboss(topic/testTopic).Any ideas/pointers what am I doing wrong??.
Thanks 
Deep

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Problem with cluster under same VM

2005-05-13 Thread [EMAIL PROTECTED]
Well, if the members are in different clusters, then you will always get 
different results.
I suggest you don't start all 3 threads concurrently. Have at least 1 member in 
the cluster, before you start the others.
Otherwise, they will need a merge, and the MERGE protocol was not in your stack.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - deserialization performance..

2005-05-13 Thread omatzura
hi all!

this fix in axis does not seem to be in jboss-4.0.2.. any reason why?

http://marc.theaimsgroup.com/?l=axis-userm=110235414626889w=2

/Ole

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Is Jboss Cache Transactions in Sink with EJB Transactions?

2005-05-13 Thread ashishdahiya
Hi All,
Can anyone tell me that if Jboss cahche updated from EJB Transaction, and if 
the transaction rolled back then will the changes in the cache remains or the 
newly added data will be removed.

If not then how can we achieve such scenario i.e. on EJB transaction rolled 
back the changes in cache should also be rolled back

Thanks
Ashish

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Anybody help me with exception Could not activate; failed t

2005-05-13 Thread can_i
I invoked a method (which does not exist) on a statefule session bean, An 
exception will be thrown out. 

And then I invoke another method which does exist. but  the exception Could 
not activate; failed to restore state is thrown.

How come the second exception is thrown out? 

Thanks,


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: queue/testQueue, Message Driven Bean don't receive messa

2005-05-13 Thread fabrefumi
thanks

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Session not replicated in JBoss 3.2.6

2005-05-13 Thread cristibuta
Hi Ben, and thank you for your answer. 
I have a load balancer in front of the cluster. Using Apache 2.0.54 with mod_jk 
1.2.12, and this is my configuration:

jk.conf:

  | LoadModule jk_module modules/mod_jk.so
  | 
  | # The workers.properties
  | JkWorkersFile conf.d/workers.properties
  | 
  | # The log files
  | JkLogFile logs/mod_jk.log
  | 
  | # Set the jk log level
  | JkLogLevel info
  | 
  | # Select the log format
  | JkLogStampFormat {%a %b %d %H:%M:%S %Y} 
  | 
  | # JkOptions indicate to send SSL KEY SIZE
  | JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
  | 
  | # JkRequestLogFormat set the request format
  | JkRequestLogFormat %w %V %T
  | 
  | JkShmFile /usr/local/apache/logs/shm
  | 
  | JkMount /test* loadbalancer
  | 
  | #Add jkstatus for managing runtime data
  | Location /jkstatus/
  |JkMount jkstatus
  |Order deny,allow
  |Allow from all
  | /Location
  | 

and workers.properties:

  | # Define the first node...
  | worker.node1.port=8009
  | worker.node1.host=192.168.1.254
  | worker.node1.type=ajp13
  | worker.node1.lbfactor=1
  | #worker.node1.local_worker=1
  | worker.node1.cachesize=10
  | 
  | # Define the second node
  | worker.node2.port=8009
  | worker.node2.host=192.168.1.2
  | worker.node2.type=ajp13
  | worker.node2.lbfactor=1
  | #worker.node2.local_worker=1
  | worker.node2.cachesize=10
  | 
  | # Now define the load-balancing behaviour
  | worker.loadbalancer.type=lb
  | worker.loadbalancer.balanced_workers=node1,node2
  | worker.loadbalancer.sticky_session=1
  | #worker.loadbalancer.local_worker_only=1
  | 
  | # Define the status worker
  | worker.jkstatus.type=status
  | 
  | worker.list=loadbalancer,jkstatus
  | 

As I said before, I made a simple application to test the session replication. 
It contains a servlet and a jsp. The servlet contains this code:


  | Hello world JSP on %= new java.util.Date() %
  | 
  | br
  | 
  | The session date is: %= request.getSession().getAttribute(date) %
  | 

and the servlet is this:


  | protected void doGet(HttpServletRequest request,
  | HttpServletResponse response) throws IOException {
  | response.getWriter().println(Hello world on  + new Date());
  | 
  | String newDate = (new Date()).toString();
  | System.out.println(Storing date: +newDate);
  | 
  | request.getSession().setAttribute(date, newDate);
  | }
  | 

I noticed something very interesting. If I start both JBosses and the very 
first thing I call is the servlet, the attribute date is set on both JBosses, 
so everything works fine (if I refresh the JSP page, because of the load 
balancer settings it goes to a different JBoss each time, and the date is there 
and it is the same for both). Now, I call again the servlet and from now on, 
the date is set only on the JBoss where I called the servlet (so the session is 
not replicated anymore from now on). The same happens (session attribute not 
set on both JBoss) if the first thing I call after starting JBosses is the JSP 
page. If I do this, the session attribute is only set on the JBoss I call the 
servlet. 
Perhaps I should mention that the Apache server is located on the same computer 
with one of my JBoss instanced (192.168.1.254). The other JBoss instance is 
located on another computer (192.168.1.2).

Another thing I noticed is that I have this in the JBoss logs:

[STDOUT] Can't find resource org.jboss.web.tomcat.session.LocalStrings [EMAIL 
PROTECTED]

[STDOUT] [Ljava.net.URL;@117ee94

but I readed on another post that this is harmless. 

Any idea is welcome. Thank you.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Session not replicated in JBoss 3.2.6

2005-05-13 Thread cristibuta
Perhaps I should mention that I'm using Fedora Core 2. Could this be a problem 
? (I readed somewhere that nobody made a cluster work on FC3. I don't know if 
this is true or false and if it also apply for FC2 ).

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Problem with Dukes Bank section 5.2

2005-05-13 Thread l3sad0
got the same error:
windows xp sp2
sun jdk 1.5.0_02-b09
jboss-4.0.2
j2ee tutorial update 4

altough this error did not ocurred while using jboss-4.0.1

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Is Jboss Cache Transactions in Sink with EJB Transaction

2005-05-13 Thread [EMAIL PROTECTED]
yes

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Invalid invocation, check your deployment packaging in J

2005-05-13 Thread bocio
[EMAIL PROTECTED] wrote : What can I say, people don't care about flexibility 
to configure it the way the need apparently.
  | 

Geee Scott  Adrian!
I'm not a troll but please stop to treat us like monkeys.
I do care about flexibility and I do care about Jboss givena that I have 
various applications running JBoss in production environment. And I do not use 
because it's free but just because it's the best I ever used.
If I have to to change lubricating oil to my car, Ford design plans probably 
don't help me too much but I prefer to have a simple howto :-)
#1 open the hood
#2 remove the screw plug located...

Should I be a classloading Jedi to be a JBoss customer?
I have the same problem as adrian.bigland:

I added:

  | jboss-app
  |loader-repository 
  |sogei.com.console:loader=console.ear
  |/loader-repository 
  | /jboss-app
  | 
  | In my jboss-web.xml, I added:
  |  
  | jboss-web
  |class-loading 
  |   loader-repository 
  |  sogei.com.console:loader=console.ear
  |   /loader-repository 
  |/class-loading
  | /jboss-web 
  | 
  | 

But I'm still getting this error.

Now As Adrian previously stated on the Jira task:

anonymous wrote : P.S. It is a good idea to provide an example than actually 
works out-of-the-box. 

Bye form a monkey

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - forum is strange!

2005-05-13 Thread chuka
i can't believe that there's no back link or any link to the previous portlet 
in the forum portlet!  doesn't it?
 

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: forum is strange!

2005-05-13 Thread [EMAIL PROTECTED]
Hello Chuka,

it is a navigation issue, feel free to enhance it by submitting a patch.


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - 4.0.1 to 4.0.2 ClassCastException on PortableRemoteObject.na

2005-05-13 Thread tigerreef
Hello,

Firstly I know there is a lot of discussion on this point, but I can't find 
anything that describes my problem exactly.

To emphasize up front:

1. My app is not distributed between two ears (I don't have a hot deploy of 
partial app issue)
2. The EXACT same ear works in 4.0.1 but not in 4.0.2

The problem:

The code (which is in a Servlet):

Context ctx = new InitialContext();
Object o = ctx.lookup(ejb/TSmartAdmin);
Class target = TSmartAdminHome.class;
TSmartAdminHome home = (TSmartAdminHome)PortableRemoteObject.narrow(o, 
TSmartAdminHome.class);

causes:

java.lang.ClassCastException

com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)

com.tigerreef.templatesmart.servlet.NavServlet.lookupTSmartAdmin(NavServlet.java:397)


but ONLY when deplyed to a JBOSS 4.0.2 server (works fine on 4.0.1).

Additional the same code run in a testClient running within Eclipse runs fine.

It seems to me that the problem is to do with Class loaders. So, added the 
follwoing code after I have the object ref o:

System.out.println(Servlet o's CL:  + o.getClass().getClassLoader() +  
target's CL:  + target.getClassLoader());

and on 4.0.2 I get:

Servlet o's CL: [EMAIL PROTECTED] 
url=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp27550TSmartApp.ear 
,addedOrder=40} target's CL: WebappClassLoader
  delegate: false
  repositories:
/WEB-INF/classes/
-- Parent Classloader:
[EMAIL PROTECTED]

Two different class loaders, used for the EJB tier and the Web tier (both from 
the same ear running in the same JVM - my unserstanding is JBoss is supposed to 
optimise this.)

I tried the same thing on 4.0.1:

and get:

Servlet o's CL: [EMAIL PROTECTED] 
url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp7498TSmartApp.ear 
,addedOrder=39} target's CL: [EMAIL PROTECTED] 
url=file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp7498TSmartApp.ear 
,addedOrder=39}

NOTE UnifiedClassLoader in both cases

And now I am stumped. I see a lot of people having problems with comms between 
two different ears and hot deploys of one of them due to dangling references, 
but I don't think this is in that category. To reiterate - ONE ear - everything 
deployed fresh (at the same time), the same problem occurs if I start the 
server form the command line or from within Eclipse AND the EXACT same ear 
works fine in 4.0.1.

Please help!
PJ




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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - SMTP Authentication

2005-05-13 Thread kirillp
Hello,

is there a way to configure a plain text smtp authencation in mail-service.xml?

Thanks,
Kirill.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: LoginModule blocks server activity

2005-05-13 Thread emailmsgbox
Well  I'm having the same problem 

The is not a major bug but a fatal one, which makes the JBoss JAAS model 
useless!!

Any progress ? 


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - JBoss 4.0.1 - 4.0.2. Hibernate app. has stopped working

2005-05-13 Thread salgiza
I'm having exactly the same problem that singular_droid had in this post: 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3876764#3876764

I'm developing an application that works perfectly on JBoss 4.0.1, but when I 
try to deploy it on JBoss 4.0.2, I get the following error:

12:49:08,520 WARN  [ServiceController] Problem starting service 
jboss.har:service=Hibernate
  | java.lang.NoClassDefFoundError: 
org/apache/commons/collections/SequencedHashMap

I looked at the solution given to singular_droid, but I can't find any 
commons-collections.jar file in JBoss 4.0.1 either.

The hibernate-service.xml I'm using:
server
  | mbean code=org.jboss.hibernate.jmx.Hibernate 
name=jboss.har:service=Hibernate
  | attribute name=DatasourceNamejava:/esport/attribute
  | attribute 
name=Dialectnet.sf.hibernate.dialect.MySQLDialect/attribute
  | attribute 
name=SessionFactoryNamejava:/hibernate/eSportSessionFactory/attribute
  | attribute name=CacheProviderClass
  | net.sf.hibernate.cache.HashtableCacheProvider
  | /attribute
  | attribute name=ShowSqlEnabledtrue/attribute
  | !-- attribute name=Hbm2ddlAutocreate-drop/attribute --
  | /mbean
  | /server


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Using MQSeries or WebSphereMQ

2005-05-13 Thread CBE317
Hello,

I'm porting a prototype from Websphere Application Server 5 to JBoss 4.0.2, and 
I need help to configure JMS to use WebsphereMQ messaging.
Is it possible ?

Cedric.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss 4.0.1 - 4.0.2. Hibernate app. has stopped working

2005-05-13 Thread jukvaa
commons-collections jar can be found in:

http://jakarta.apache.org/commons/collections/


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Can I use nested query in ejb finders?

2005-05-13 Thread amit10may
Yes it works.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - SOAP Attachment do not works in jboss4.0.2 final

2005-05-13 Thread marcotombesi
I've a stateless session bean implementing a web-service.

The following code works only in jboss 4.0.1sp1 and correctly return an 
InputStream of 17MB but returns an exception in jboss4.0.2final: No cache 

Message msg = MessageContext.getCurrentContext().getRequestMessage();
Iterator attachs = msg.getAttachments();
while (attachs != null  attachs.hasNext())
{
AttachmentPart ap = (AttachmentPart) attachs.next();
int sz = ap.getSize();

DataHandler dh = api.getDataHandler();
InputStream is = dh.getInputStream();
 }

NOTE:
- the code works for small attachments in both versions but only in 
jboss4.0.1sp1 if the attachment is bigger (17MB) 
- the size is corectly returned (17MB) in both versions.
- I've had noticed that in the server/deply/tmp directory

What happens? Is there a bug in the final release?



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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - starup error: can't find data source

2005-05-13 Thread tommyyan
Hi, 

I'm trying to deploy Medrec application to jboss4.  After copying ear and other 
requested files to deploy folder. I added a mysql-ds.xml. 

?xml version=1.0 encoding=UTF-8?


   local-tx-datasource
  jndi-namemedrec/jndi-name
  connection-urljdbc:mysql://localhost/medrec/connection-url
  driver-classcom.mysql.jdbc.Driver/driver-class
  user-namemedrec/user-name
  medrec
  min-pool-size50/min-pool-size
  max-pool-size20/max-pool-size
  idle-timeout-minutes0/idle-timeout-minutes
  track-statementstrue/track-statements
   /local-tx-datasource


I also created  mysql database  'medrec' and related tables/user . 

But when I startup using run.sh I got below error:

21:56:42,596 INFO  [EARDeployer] Started J2EE application: 
file:/usr/local/jboss-4.0.0/server/default/deploy/physicianEar.ear
21:56:42,602 INFO  [EARDeployer] Init J2EE application: 
file:/usr/local/jboss-4.0.0/server/default/deploy/medrecEar.ear
21:56:43,200 INFO  [EjbModule] Deploying VitalSigns
21:56:43,515 INFO  [EjbModule] Deploying Record
21:56:43,528 INFO  [EjbModule] Deploying Patient
21:56:43,537 INFO  [EjbModule] Deploying Physician
21:56:43,547 INFO  [EjbModule] Deploying Group
21:56:43,556 INFO  [EjbModule] Deploying Address
21:56:43,566 INFO  [EjbModule] Deploying Users
21:56:43,576 INFO  [EjbModule] Deploying Prescription
21:56:43,804 INFO  [EjbModule] Deploying MailSession
21:56:43,815 INFO  [EjbModule] Deploying PatientSession
21:56:43,824 INFO  [EjbModule] Deploying RecordSession
21:56:43,833 INFO  [EjbModule] Deploying AdminSession
21:56:44,202 INFO  [EjbModule] Deploying RegistrationEJB
21:56:44,233 INFO  [EjbModule] Deploying MailEJB
21:56:44,243 INFO  [EjbModule] Deploying XMLUploadEJB
21:56:44,354 INFO  [EjbModule] Deploying MedRecWebServices
21:56:45,015 ERROR [EntityContainer] Starting failed 
jboss.j2ee:jndiName=ejb/local/vitalsignslocal,service=EJB
org.jboss.deployment.DeploymentException: Error: can't find data source: 
java:/medrec; - nested throwable: (javax.naming.NameNotFoundException: medrec 
not bound)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init()V(JDBCEntityBridge.java:139)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager()V(JDBCStoreManager.java:420)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start()V(JDBCStoreManager.java:353)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start()V(CMPPersistenceManager.java:157)
at 
org.jboss.ejb.EntityContainer.startService()V(EntityContainer.java:340)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart()V(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(Ljava.lang.String;)V(ServiceMBeanSupport.java:221)
at 
jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
at 
jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
at 
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)

Does anybody have idea?

Thx.
   

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - WebConsole : making snapshots persisted - issues with deploy

2005-05-13 Thread Traveldoo2
I'd like to make persisted snapshots, just like the monitors can be.

In order to do that, I'm trying to deploy some Mbeans at the start of JBoss, by 
adding an xml file in the default/deploy directory.

The xml file looks like :
--
?xml version=1.0 encoding=UTF-8?
  | 
  | 
  |   Snapshot de test
  |   jboss.system:type=ServerInfo
  |   FreeMemory
  |   true
  |   3
  | 
  | 
  | --
  | 
  | I get the following error :
  | --
  | [EMAIL PROTECTED] { url=file:/E:/jboss/server/default
  | /deploy/management/snapshots/snapshots.xml }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: 
file:/E:/jboss/server/default/deploy/management/snapshots/snapshots.xml
  | 
  |   altDD: null
  |   lastDeployed: 1115981061304
  |   lastModified: 1115981061304
  |   mbeans:
  | --
  | 
  | As the monitors are persisted that way (I can see a deploy\monitors\ rep 
containing a deployment XML file for each monitor I created), I thought it 
could work. What am I missing ?
  | 
  | Thanks in advance.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: starup error: can't find data source

2005-05-13 Thread [EMAIL PROTECTED]
I see that you have 'medrec ' word specified in between  
user-namemedrec/user-name and  min-pool-size50/min-pool-size . Is your 
*-ds.xml getting deployed properly?

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Display of German characters

2005-05-13 Thread martingi
Hello, I have a problem to display German umlauts in a portlet running on JBP 
Beta 1 (sources from the zip-file),  JBoss 4.01sp1 and Fedora Core 2. 

I tried to fix it by setting the JBossRenderResponse ContentType to UTF-8 and 
after that to ISO-8859-1 - with little success.

I could imagine that I need to edit some descriptor, but I really have no idea 
which one. Any help would be highly appreciated.

Thanks
Martin


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - JNDI Configuration in JBoss 4.0

2005-05-13 Thread deepc
hi,
Can someone pleas tell me how to configure a new jndi say beanjndi in 
Jboss 4.0.I have finished searching the whole site for this. Any help is highly 
appreciated.Please
Thanks
Deep

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: 4.0.1 to 4.0.2 ClassCastException on PortableRemoteObjec

2005-05-13 Thread bocio
Sad to say the misused RTFM:

 anonymous wrote : 
  |  To revert to pre-4.0.2 config use:
  | true
  | true
  | 

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: 4.0.1 to 4.0.2 ClassCastException on PortableRemoteObjec

2005-05-13 Thread bocio
Sorry was:

 To revert to pre-4.0.2 config use:
  | attribute name=Java2ClassLoadingCompliancetrue/attribute
  | attribute name=UseJBossWebLoadertrue/attribute
  | 

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de

2005-05-13 Thread [EMAIL PROTECTED]
Since your deployment contains mbeans, it should be named:

snapshots-service.xml



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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Why my TLD does not work??

2005-05-13 Thread abrhaao
I have a project here over Jboss4, and always when I try to access a specific 
TLD, by 

jsp wrote : 
  | %@ taglib uri='/WEB-INF/tld01.tld' prefix='prefixo'%

i receive a JBoss message, when the program try to enter in the JSP.

JBoss Message wrote : 
  | 10:21:55,250 ERROR [Compiler] Javac exception 
  | Compile failed; see the compiler error output for details.
  | at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
  | at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
  | at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
  | at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  | at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
  | at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
  | at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
  | at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
  | at java.lang.Thread.run(Thread.java:534)
  | 

I had taken careful setting this tld on web.xml, and every steps to do it work. 
But I can't. What is happening??

Thanks

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click

[JBoss-user] [JBossWS] - Re: Problem creating port-component in webservices.xml

2005-05-13 Thread [EMAIL PROTECTED]
Thanks,

I will give it a try.  Here is the complete set of xdoclet tags.  I already had 
the servic-endpoint-class.  I handcoded and got it to work for the time being.  
I am currently wrestling with trying to get a documentliteral service working.  
jboss4.0 is a currently a lot harder to work with than old NET module.  Hope 
it's all worth it!

 * Below are the xdoclet-related tags needed for this EJB.
 * 
 * @ejb.bean name=MyBean
 *   display-name=MyBean
 *   description=Description for MyBean
 *   jndi-name=ejb/MyBean
 *   type=Stateless
 *   view-type=all
 * 
 * @ejb.interface service-endpoint-class=com.sylantro.MyBeanEndpoint
 *  generate=local,service-endpoint
 * 
 * @wsee.port-component name=ThePort
 *  wsdl-port=MyBeanEndpointPort
 *  service-endpoint-interface=com.sylantro.MyBeanEndpoint
 *  service-impl-bean=com.sylantro.MyBean
 * 




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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Invalid invocation, check your deployment packaging in J

2005-05-13 Thread [EMAIL PROTECTED]
The TROLL comment was aimed at [EMAIL PROTECTED]

A TROLL is somebody that has nothing useful to add and just wants to start an 
argument.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - JBoss 3.2.4 Mysql autocommit Problem

2005-05-13 Thread martl777
Hi,

i have a problem to set my mysql datasource connections to autocommit=false.

Following situation:

i moved my Application from JBoss 3.2.6 to JBoss 3.2.4
At Jboss 3.2.6 i configured my datasource in mysq-ds.xml. I had no problems.
Jboss 3.2.4 wasn't able to deploy this file, so i configured a 
mysql-service.xml the following way:


?xml version=1.0 encoding=UTF-8?

 
depends optional-attribute-name=ManagedConnectionFactoryName
!--embedded mbean--

mysqlds


config-property name=ConnectionURL 
type=java.lang.String jdbc:mysql://localhost:3306/db/config-property
config-property name=DriverClass 
type=java.lang.Stringcom.mysql.jdbc.Driver/config-property
!--set these only if you want only default logins, not 
through JAAS --
config-property name=UserName 
type=java.lang.String/
config-property name=Password 
type=java.lang.String/

   
!--Below here are advanced properties --
!--hack--
depends 
optional-attribute-name=OldRarDeploymentjboss.jca:service=RARDeployment,name=JBoss
 LocalTransaction JDBC Wrapper


depends optional-attribute-name=ManagedConnectionPool
!--embedded mbean--

0
50
5000
15
ByContainer


depends 
optional-attribute-name=CachedConnectionManagerjboss.jca:service=CachedConnectionManager
depends 
optional-attribute-name=JaasSecurityManagerServicejboss.security:service=JaasSecurityManager
java:/TransactionManager
!--make the rar deploy! hack till better deployment--
jboss.jca:service=RARDeployer


?xml version=1.0 encoding=UTF-8?

When I use the connection in my applictation I get an Exception when executing 
a commit because autocommit is true. 

i have no idea how to change this property in the mysql-service.xml 

Any Ideas?

Thanks in advance
Martl

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Invalid invocation, check your deployment packaging in J

2005-05-13 Thread [EMAIL PROTECTED]
bocio wrote : 
  | Now As Adrian previously stated on the Jira task:
  | 
  | anonymous wrote : P.S. It is a good idea to provide an example than 
actually works out-of-the-box. 
  | 
  | Bye form a monkey

That is a misrepresentation I what I said.
I was complaining about a submitted test where I had would have had to 
completely rework
my environment variables (amongst other things) just to get the thing to 
compile.

JBoss does work out the box.

To (ab)use your analogy, you are complaining about where you previously
bought a car. You then update to this year's model and the maker has
decided to enable an annoying alarm when you don't put your seatbelt on.

It was still a problem before when you didn't where your seatbelt, you
just didn't get the annoying sound. 

Like the car, JBoss has a switch to revert to the earlier behaviour.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Invalid invocation, check your deployment packaging in J

2005-05-13 Thread msaringer
I do have exactly the same problem.
After reading the messages here as well as the manual and the wiki entries, I'm 
just able to revert to the pre 4.0.2 configuration.
What I really need is more detailled information on how to organize complex 
deployments so that they work properly with the default JBoss (4.0.2) settings.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Problem with cluster under same VM

2005-05-13 Thread g.ambrozio
[EMAIL PROTECTED] wrote : Well, if the members are in different clusters, 
then you will always get different results.
  | I suggest you don't start all 3 threads concurrently. Have at least 1 
member in the cluster, before you start the others.
  | Otherwise, they will need a merge, and the MERGE protocol was not in your 
stack.

In this last test, I ensured that the second thread would only start 2 seconds 
after tthe first one (I tried increasing this time without success). I'm adding 
the MERGE protocol now. Just to make sure I'm doing it right, I added this line:

MERGE2 max_interval=1 min_interval=5000/

right after the PING protocol. Is this right?

Thanks again

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - [b]JasperException: Unable to compile class for JSP[/b] afte

2005-05-13 Thread eMPy
Hi to everybody,

I am upgrading my webapp to Java 1.5 and myfaces 1.0.9.
Compiling woks fine and I only needed to rearange some import of myfaces(from 
net.sourceforge... to org.apache...).
But when I deploying the app and accessing the first jsp, I get errors like


  | org.apache.jasper.JasperException: Unable to compile class for JSP
  | 
  | Generated servlet error:
  | error: error reading 
C:\Programme\jboss-3.2.5\server\default\deploy\comitatus-webapp.war\WEB-INF\lib\struts-config_1_1.dtd;
 java.util.zip.ZipException: error in opening zip file
  | 
  | 
  | Generated servlet error:
  | Note: 
C:\Programme\jboss-3.2.5\server\default\work\jboss.web\localhost\comitatus-webapp\org\apache\jsp\index_jsp.java
 uses unchecked or unsafe operations.
  | 
  | 
  | Generated servlet error:
  | Note: Recompile with -Xlint:unchecked for details.
  | 1 error
  | 

I encountered some posts in the jboss forum, that described similar errors, but 
none of the solutions worked for me.
Does anybody know wether this is a jboss issue and how to fix it?
thank you in advance
matze


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Oracle-xa-ds

2005-05-13 Thread garbett
You'll need the ojdbc14.jar in the 'lib' directory. Then copy the file 
'docs/examples/jca/oracle-xa-ds.xml' to 'server/your config/deploy' and edit 
the contents to match your configuration. That's all there is too it.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: [b]JasperException: Unable to compile class for JSP[/b]

2005-05-13 Thread eMPy
I forgot:

I am using jboss 3.2.5


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Invalid invocation, check your deployment packaging in J

2005-05-13 Thread [EMAIL PROTECTED]
adrian.bigland wrote : 
  | When I try setting ...call-by-valuetrue/call-by-value...

I've raised a bug report for this. It could be that this is broken.
http://jira.jboss.com/jira/browse/JBAS-1813


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Problem with Dukes Bank section 5.2

2005-05-13 Thread [EMAIL PROTECTED]
The getting started guide you are using is for 4.0.1.  There were changes in 
web services in 4.0.2 that make things not work.  There should be a 4.0.2 
version shortly.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JBoss 3.2.4 Mysql autocommit Problem

2005-05-13 Thread martl777
name=jboss.jca:service=LocalTxCM,name=mysqlds depends 
optional-attribute-name=ManagedConnectionFactoryName 


mysqlds


config-property name=ConnectionURL type=java.lang.String 
jdbc:mysql://localhost:3306/db/config-property
config-property name=DriverClass 
type=java.lang.Stringcom.mysql.jdbc.Driver/config-property

config-property name=UserName type=java.lang.String/
config-property name=Password type=java.lang.String/


depends 
optional-attribute-name=OldRarDeploymentjboss.jca:service=RARDeployment,name=JBoss
 LocalTransaction JDBC Wrapper


depends optional-attribute-name=ManagedConnectionPool

0
50
5000
15
ByContainer


depends 
optional-attribute-name=CachedConnectionManagerjboss.jca:service=CachedConnectionManager
depends 
optional-attribute-name=JaasSecurityManagerServicejboss.security:service=JaasSecurityManager
java:/TransactionManager
jboss.jca:service=RARDeployer




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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Invalid invocation, check your deployment packaging in J

2005-05-13 Thread bocio
[EMAIL PROTECTED] wrote : 
  | To (ab)use your analogy, you are complaining about where you previously
  | bought a car. You then update to this year's model and the maker has
  | decided to enable an annoying alarm when you don't put your seatbelt on.
  | 
  | It was still a problem before when you didn't wear your seatbelt, you
  | just didn't get the annoying sound. 
  | 
  | Like the car, JBoss has a switch to revert to the earlier behaviour.

:-)

Adrian, continuing to (ab)using my (anal)ogy.
Instead to press the switch shutting down the buzzer (earlier behaviour), could 
you explain me how to wear the seatbelt so I can  stopping the alarm?
;-p

Bye


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate3

2005-05-13 Thread garbett
I'm using 4.0.2 and the EJB3.0 Preview 5. Hibernate 3 is bundled with this it 
appears. The first problem I faced was not updating the mapping files to the 
3.0 DTD when upgrading to Hibernate 3. See 
http://www.jboss.org:8080/index.html?module=bbop=viewtopict=63656
for more details.

Right now everything seems to work, up to the point where an update or save 
occurs and then nothing is written to the database. No errors or complaints at 
any debugging level. Ahhh!

I'm going to test the current Hibernate3 deployer download today in my 
configuration.

Shawn

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Invalid invocation, check your deployment packaging in J

2005-05-13 Thread [EMAIL PROTECTED]
msaringer wrote : 
  | What I really need is more detailled information on how to organize complex 
deployments so that they work properly with the default JBoss (4.0.2) settings.

The answer is simple and mentioned above.

If you have things from different classloaders calling one another, 
don't deploy the classes in both classloaders without enabling call-by-value.

Otherwise, you will get all the classloading problems described in chapter 2 of 
the
admin docs.

OR: Do what previous versions of JBoss did and ignore the duplicate deployments
by adding the war classes to the main classloading repository.

Enough of repeating myself. All these problems have been discussed endlessly 
before.
All you have to do is go back to the discussions about JBoss-2.4.x which used 
exactly
the same classloading model as 4.0.2

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - JBoss Cache able to set cache size limit based on memory usa

2005-05-13 Thread sean_gildea
I would really appreciate it if anyone could answer this question. I've looked 
thru the documentation and cant find the answer.

Q: Is JBoss Cache able to set cache size limit based on memory usage instead of 
quantity of objects?

Q: Also, does anyone know how JBoss Cache handles locking of the cache when a 
load for a key is in progress? 

Thanks in advance,
Sean Gildea

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JBoss 3.2.4 Mysql autocommit Problem

2005-05-13 Thread [EMAIL PROTECTED]
It seems you are in the wrong forum.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Jboss 4.0.2 and Java2WSDL problem

2005-05-13 Thread simon.hjorth
When going through the JBoss Getting Started Guide 4.0 (v3), in chapter 5 
you're requested to run the following command ant -f jboss-build.xml wsdl, 
which is supposed to use the Java2WSDL to generate the wsdl file. However the 
following error occurs when trying to run the command:

[EMAIL PROTECTED] bank]$ ant -f jboss-build.xml wsdl
Buildfile: jboss-build.xml

wsdl:
 [java] Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/axis/wsdl/Java2WSDL
 [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 1 second

It seems it doesn't know where to find the Java2WSDL. This seemed to work fine 
with the 4.0.1_sp1 version of jboss, so what's different in the new version, 
since it's not working now?

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss Cache able to set cache size limit based on memory

2005-05-13 Thread sean_gildea
I found the answer to my first question on these forums here:
http://www.jboss.org/index.html?module=bbop=viewtopict=61990

I am still trying to find out how Jboss cache handles locking of the cache when 
a load for a key is in progress. 

As well as how JBoss Cache handles these as well:

1. duplicate requests
2. load on start up option
3. warm cache on start up option
4. turning off of distributed cache features such as multicasting

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss Cache able to set cache size limit based on memory

2005-05-13 Thread [EMAIL PROTECTED]
// Q: Is JBoss Cache able to set cache size limit based on 
// memory usage instead of quantity of objects?

A: Not yet, but it is on the roadmap: 
http://jira.jboss.com/jira/browse/JBCACHE-11

// Q: Also, does anyone know how JBoss Cache handles 
// locking of the cache when a load for a key is in 
// progress? 

The node will be locked



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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: remove leaves the caches consistent in clustered environ

2005-05-13 Thread [EMAIL PROTECTED]
Tim,

Looks like this is a bug. Can you open a Jira issue under JBossCache and assign 
it to me?

Thanks,

-Ben

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - How can I switch off multirefs in soap messages

2005-05-13 Thread dfreer21
How can I switch off multirefs in soap messages ?
We are using JBoss 3.0.x to expose web services and are not allowed to use 
multirefs.
The parameter sendMultiRefs=false seems to be ignored in the web service 
configuration. 

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - a way to find a Clustered StatefulSessionBean with its sessi

2005-05-13 Thread Lviz
hello list.

is there a way to find a Clustered StatefulSessionBean with its session id?

eg. all i have is the session id as a string from a servlet.

any hints welcome ;)

cheers
lviz

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss Cache able to set cache size limit based on memory

2005-05-13 Thread sean_gildea
Thanks Bela!

Do you know how JBoss Cache handles or has the ability for these as well?

1. duplicate requests 
2. load on start up option 
3. warm cache on start up option 
4. turning off of distributed cache features such as multicasting

Best Regards,
Sean Gildea

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate 3 unable to update or delete

2005-05-13 Thread [EMAIL PROTECTED]
The message 'ignoring persistent instance' simply means that Hibernate 
encountered an entity instance during save/update (or cascade) that is already 
in a persistent state (i.e., associated with the session).

For example:

  | MyEntity myEntity = ( MyEntity ) session.load( MyEntity.class, id );
  | session.saveOrUpdate( myEntity );
  | 
will give you this message because the instance represented by myEntity is 
already associated with the session.

This is not a problem.

The real problem is that for some reason that entity is not (apparently) being 
caught up in the flush processing.

I'd need to see a *simple* test case reproducing this.  Create a Hibernate JIRA 
bug report and attach the test:

http://opensource.atlassian.com/projects/hibernate

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: 4.0.1 to 4.0.2 ClassCastException on PortableRemoteObjec

2005-05-13 Thread [EMAIL PROTECTED]
The only difference between 4.0.1 and 4.0.2 is 4.0.2 JBoss has changed to the 
Servlet spec classloading model, i.e. it uses the Tomcat classloader. 

But I don't see why this should break the working application. How have you 
done the packaging of war and ear file?

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss Cache able to set cache size limit based on memory

2005-05-13 Thread [EMAIL PROTECTED]
sean_gildea wrote : Thanks Bela!
  | 
  | Do you know how JBoss Cache handles or has the ability for these as well?
  | 
  | 1. duplicate requests 
  | 2. load on start up option 
  | 3. warm cache on start up option 
  | 4. turning off of distributed cache features such as multicasting
  | 
  | Best Regards,
  | Sean Gildea

#1 JGroups
#2 preload attribute in XML file
#3 same as #2
#4 JGroups




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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate 3 unable to update or delete

2005-05-13 Thread [EMAIL PROTECTED]
Do you think your Tuple#1 and Tuple#2 are really in detached or persistent 
state when this processing occurs?

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss Security: how to implement security in a web app r

2005-05-13 Thread Koudry
Dear colleagues,

This is to let  you know that I have now managed to implement a simple security 
in my webapp.  I have followed the starting guide that came with JBoss 4 and to 
do some guess works which have paid off.

I have used 4 steps to solve the problem:

Step 1: entries in the web.xml file 

security-constraint
web-resource-collection
  web-resource-namemywebapp/web-resource-name
  
An example security config only allows users with the
role Admin to access my web application
 
  url-pattern/protected/*/url-pattern
  http-methodGET/http-method
  http-methodPOST/http-method
/web-resource-collection
auth-constraint
  role-nameAdmin/role-name
/auth-constraint
  /security-constraint

  security-role
role-nameAdmin/role-name
  /security-role

  !--Login config--
  login-config
auth-methodFORM/auth-method
form-login-config
  form-login-page/unprotected/login.jsp/form-login-page
  form-error-page/unprotected/login_error.jsp/form-error-page
/form-login-config
  /login-config

Step 2: entry in the jboss-web.xml

jboss-web
  security-domain
java:/jaas/SCWCDWeb2
/security-domain
/jboss-web

Notes: In this case, SCWCDWeb2 is the name of my web app.

Step 3: entry in the login-config.xml file

application-policy name = SCWCDWeb2
   
  login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule
 flag = required
 module-option 
name=usersPropertiesSCWCDWeb2-users.properties/module-option
 module-option 
name=rolesPropertiesSCWCDWeb2-roles.properties/module-option
  /login-module
   
/application-policy

Notes: In this case, SCWCDWeb2 is the name of my web app.

Step 4: entries in SCWCDWeb2-users.properties and SCWCDWeb2-roles.properties

* These two files sit in the src directory
* entry in the SCWCDWeb2-users.properties is in the format username = password, 
e.g. joe = blog
* entry in the SCWCDWeb2-roles.properties is in the form of username = 
roleName, e.g. joe = Admin

Notes: 
* In this case, SCWCDWeb2, the prefix of the file names, is the name of my web 
app.
* The role name Admin must be defined in the web.xml file, e.g. 
role-nameAdmin/role-name

--
I am not sure if this is the best way to do this, but if anyone finds a better 
way, I would like to know.

Thanks,

Koudry

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss Cache able to set cache size limit based on memory

2005-05-13 Thread sean_gildea
Thanks Bela!

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de

2005-05-13 Thread Traveldoo2
Thank you very much, the deployment is now ok.
By the way, as the Reccording attribute is read-only, I had to remove it from 
my xml.

But I'm having another problem now : I want the Snapshot to be started 
automagically, thus needing to execute startSnapshot() after deployment.
How can I do that ? Is it possible ?

Thanks in advance.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Problem with Dukes Bank section 5.2

2005-05-13 Thread lm28ness
I too am having problems with chapter 5 but when I try to build the web service 
with the ant command i get this instead

 [java] log4j:WARN No appenders could be found for logger 
(org.apache.axis.i18n.ProjectResourceBundle).
 [java] log4j:WARN Please initialize the log4j system properly.

And the wsdl is not created, not familiar with log4j.

Thanks

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: the link JBoss Portal RC1 + JBossAS 4.0.1sp1 Bundle = j

2005-05-13 Thread tomerbd2
its ok now thanks...
(im using jdk1.5 anyway so it suits me)

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - JBoss closes (jms) connections for me

2005-05-13 Thread robinroos
Hi Folks

I have a session EJB which sends messages.  In ejbCreate() I establish all the 
objects necessary to support publication of messages to a queue.  i.e. I have 
the QueueSession and QueueSender objects.

A business method of this session bean sends messages.  This works for one 
invocation, after which JBoss kindly says:

// 2005-05-13 14:44:57,802 INFO  TP-Processor1 
[org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a 
connection for you.  Please close them yourself: [EMAIL PROTECTED]
at 
com.drkw.genesis.server.ejb.jmssender.JMSSenderBean.ejbCreate(JMSSenderBean.
java:49)
at 
com.drkw.genesis.server.ejb.jmssender.JMSSenderLocalDelegate.sendMessages(JM
SSenderLocalDelegate.java:25)

The next invocation gets:

TE/1/4048514.0.1 2005-05-13 14:43:55,925 ERROR RMI TCP 
Connection(8)-10.131.55.92 [org.jboss.ejb.plugins.LogInterceptor]
TransactionRolledbackLocalException in method: public abstract 
java.lang.String[] 
com.drkw.genesis.server.ejb.jmssender.JMSSenderLocal.sendMessages(java.lang.
String[],java.lang.String), causedBy:
javax.jms.IllegalStateException: The Session is closet 
com.drkw.genesis.server.ejb.jmssender.JMSSenderBean.ejbCreate(JMSSenderBean.
java:49)
at 
com.drkw.genesis.server.ejb.jmssender.JMSSenderLocalDelegate.sendMessages(JMSSenderLocalDelegate.java:25)
at org.activemq.ra.JMSSessionProxy.getSession(JMSSessionProxy.java:95)
at 
org.activemq.ra.JMSSessionProxy.createTextMessage(JMSSessionProxy.java:268)
at 
org.activemq.ActiveMQQueueSession.createTextMessage(ActiveMQQueueSession.java:260)
at 
com.drkw.genesis.server.ejb.jmssender.JMSSenderBean.send(JMSSenderBean.java:126)
at 
com.drkw.genesis.server.ejb.jmssender.JMSSenderBean.sendMessages(JMSSenderBean.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

I really don't want to close the connection each time, since that means 
re-establishing the connection each time, but while JBoss is closing the 
connection for me I have no choice!

The deployment of ActiveMQ is based on:

connection-factories
 tx-connection-factory
  jndi-nameJmsXA/jndi-name   
  rar-nameactivemq.rar/rar-name
  
connection-definitionjavax.jms.QueueConnectionFactory/connection-definition
  config-property name=ServerUrl 
type=java.lang.Stringtcp://localhost:61616/config-property
  config-property name=UseEmbeddedBroker 
type=java.lang.Booleanfalse/config-property
  security-domain-and-applicationJmsXARealm/security-domain-and-application
 /tx-connection-factory
 !--   ...queue definitions... --
/connection-factories

ActiveMQ 3.1-Snapshot, JBoss 4.0.1.  All suggestions welcome.

Thanks, Robin.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - How to open 1099 for access over network

2005-05-13 Thread richiethom
Hi,

I have a client which worked in 3.2.x, but now that I'm on 4.x the client isn't 
able to connect. It seems that port 1099 is closed.

On the machine running JBoss, I can telnet into port 1099, but I can't from the 
client machine. Both machines are running WindowsXP and the firewalls are 
turned off. The two machines are on the same LAN, and there are no firewalls in 
the way/other network settings that could affect this.

What setting should I change to allow clients to connect from any host?

Thanks in advance

Richard

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Invalid invocation, check your deployment packaging in J

2005-05-13 Thread msaringer
[EMAIL PROTECTED] wrote :  
  | If you have things from different classloaders calling one another,
  | don't deploy the classes in both classloaders without enabling 
call-by-value. 
  | 

How I love precise statements ... digging into all that class loading stuff 
prescinded me from basic aspects of life ;)

With that piece of information as well as the proper entries in jboss-app.xml 
and jboss-web.xml (see one of bocio's posts above resp.  
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration) my 
application works fine again.

Thanks a lot,
Michael

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: WebConsole : making snapshots persisted - issues with de

2005-05-13 Thread [EMAIL PROTECTED]
You can't automagically call startSnapshot() :(

And especially for SnapshotRecordingMonitorMBean I see, there is no method

void setEnabled(boolean start);

This one exists in the other 3 monitors and would cause the effect you want, so 
I guess somebody forgot to add it...

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Propagating Permissions, please help

2005-05-13 Thread fgonc
I' ve the same problem. I've implemented a custom login module extending the 
org.jboss.security.auth.spi.UsernamePasswordLoginModule. I've implemented the 
methods getUsersPassword and getRoleSets. The authentication process runs well, 
but the authorization does not. After logon using JAAS I make calls to EJB 
methods that require security roles, and I get one principal=null on my EBJ 
SessionContext. I think that this is a propagation problem. In the method 
getRoleSets I?ve created one SimpleGroup named ?Roles? and added to it two 
SimplePrincipals. 

Group[] groups = {new SimpleGroup(Roles)};
SimplePrincipal role = new SimplePrincipal(R1);
groups[0].addMember(role);
role = new SimplePrincipal(R2);
groups[0].addMember(role);

What am I missing?


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - HOWTO use Oracle9i with JBoss 4?

2005-05-13 Thread dxxvi
I tried to use Oracle9i with JBoss 4 and faced some problems. This is what I've 
done:

- copied docs/examples/jca/oracle-xa-ds.xml to server/default/deploy. Changed 
the values of xa-datasource-property name=URL, xa-datasource-property 
name=User, xa-datasource-property name=Password to the proper ones.

- in the ejb jar file of my application, I had the jbosscmp-jdbc.xml file like 
this:

  | !DOCTYPE jbosscmp-jdbc PUBLIC
  |   -//JBoss//DTD JBOSSCMP-JDBC 4.0//EN
  |   http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd;
  | jbosscmp-jdbc
  | defaults
  | datasourcejava:/XAOracleDS/datasource
  | create-tabletrue/create-table
  | alter-tablefalse/alter-table
  | remove-tablefalse/remove-table
  | /defaults
  | enterprise-beans
  | entity
  | ejb-nameCabinEJB/ejb-name
  | table-nameCabin_table/table-name
  | cmp-field
  | field-nameid/field-name
  | column-namecabin_id/column-name
  | /cmp-field
  | cmp-field
  | field-namename/field-name
  | /cmp-field
  | /entity
  | /enterprise-beans
  | /jbosscmp-jdbc
  | 

I'm sure that it won't work with only these 2 steps. So what should I do next? 
(for example, change anything in standardjaws.xml, standardjbosscmp-jdbc.xml, 
login-config.xml ...)

Or if you know any document showing how to do this, let me know please. I found 
one at http://www.onjava.com/lpt/a/4525, but it doesn't work with me :(

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - which JbossCache version is in the main branch on cvs?

2005-05-13 Thread plainkeyman
currently the latest release is  1.2.2.

in cvs, the file called Version.java says 1.2.2.  does this mean that 
developement is on a different branch/server? or is this really the latest code 
which will be released next?

sorry if this is a stupid question... i'm a little new with this kindof stuff

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Broken XMBean persistence with 1.5 and org.jboss.mx.persiste

2005-05-13 Thread hennejg
If I try to persist an XMBean using the 
org.jboss.mx.persistence.ObjectStreamPersistenceManager under Java 5.0 and 
JBoss 3.2.7, I get lots of exceptions of this kind:

java.io.FileNotFoundException: 
file:\C:\workspace\jboss-3.2.7\server\ceptix\data\xmbean-attrs\NFSServer.xml 
(Die Syntax fr den Dateinamen, Verzeichnisnamen oder die 
Datentrgerbezeichnung ist falsch)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:70)
at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:235)
at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:278)
at 
org.jboss.system.pm.XMLAttributePersistenceManager.outputXmlFile(XMLAttributePersistenceManager.java:758)
at 
org.jboss.system.pm.XMLAttributePersistenceManager.store(XMLAttributePersistenceManager.java:332)
at 
org.jboss.mx.persistence.DelegatingPersistenceManager.store(DelegatingPersistenceManager.java:187)
at 
org.jboss.mx.modelmbean.ModelMBeanInvoker.store(ModelMBeanInvoker.java:330)
at 
org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:89)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:84)
at 
org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:416)
at 
org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:455)
at 
org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:567)
at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:275)
at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:163)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:117)
at 
org.jboss.system.ServiceController.install(ServiceController.java:199)
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:585)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:204)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
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:585)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
...

Please note the file:/-prefix of the path given in the exception message.
The problem seems to be that for some strange reason, xalan behaves differently 
on 1.5. 
XMLAttributePersistenceManager.outputXmlFile(XMLAttributePersistenceManager.java:758)
 calls xformer.transform with a StreamResult into which it passed a perfectly 
Ok looking File-instance. The 
TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:235)
 lateron calls the FileOutputStream(String) constructor with the path mangled 
in a way such that it has the file:/-prefix causing the constructor to fail.

Do you have any ideas? I did not trace into Xalan, but I suppose it does 
something with the File, which suffers from a semantic change in 1.5.

Joerg Henne

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93alloc_id281op=click

[JBoss-user] [Management, JMX/JBoss] - Re: Broken XMBean persistence with 1.5 and org.jboss.mx.pers

2005-05-13 Thread [EMAIL PROTECTED]
I just fixed that for 4.0.2:

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

But I thought it was working ok with 3.2.7?

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Broken XMBean persistence with 1.5 and org.jboss.mx.pers

2005-05-13 Thread [EMAIL PROTECTED]
I just checked and it works for me on 3.2.7, i.e. deploy the example at

docs/examples/jmx/persistent-service.sar

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Broken XMBean persistence with 1.5 and org.jboss.mx.pers

2005-05-13 Thread hennejg
Strange. It doesn't work for me.

This test was using:
- a stock JBoss 3.2.7, virgin default server, except for the deployed example
- JDK 1.5.0_03
- XP

java.io.FileNotFoundException: file:\C:[EMAIL 
PROTECTED]@3DPersistentServiceExample.xml (Die Syntax fr den Dateinamen, 
Verzeichnisnamen oder die Datentrgerbezeichnung ist falsch)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:179)
at java.io.FileOutputStream.(FileOutputStream.java:70)
at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:235)
at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:278)
at 
org.jboss.system.pm.XMLAttributePersistenceManager.outputXmlFile(XMLAttributePersistenceManager.java:758)
at 
org.jboss.system.pm.XMLAttributePersistenceManager.store(XMLAttributePersistenceManager.java:332)
at 
org.jboss.mx.persistence.DelegatingPersistenceManager.store(DelegatingPersistenceManager.java:187)
at 
org.jboss.mx.modelmbean.ModelMBeanInvoker.store(ModelMBeanInvoker.java:330)
at 
org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:89)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:84)

Is there anything I can do to help you debug this?

Thanks
Joerg Henne

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93alloc_id281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate 3 unable to update or delete

2005-05-13 Thread garbett
As I mentioned above, I fixed the ignore by getting rid of a extra lock call. 
I'm working on a simple reproducible test case.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Habemus Papam

2005-05-13 Thread bocio
msaringer wrote : 
  | With that piece of information as well as the proper entries in 
jboss-app.xml and jboss-web.xml (see one of bocio's posts above resp.  
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration) my 
application works fine again.
  | 

In short, Habemus Papam! ;-p

Bye

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - precompile jsps option on startup?

2005-05-13 Thread yuliya
Hi,

Is there a setting of JBoss/Tomcat I can set to precompile all the jsps on 
startup to improve performance (as opposed to using ant tasks for that)?

thanks,
--Yuliya

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: which JbossCache version is in the main branch on cvs?

2005-05-13 Thread [EMAIL PROTECTED]
The CVS head says 1.2.3beta.
cvs.forge.jboss.com:/home/cvs, co module JBossCache

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: HOWTO use Oracle9i with JBoss 4?

2005-05-13 Thread [EMAIL PROTECTED]
XA for oracle may require a couple of other steps.  Do you really need XA?  Try 
the normal oracle driver first.  You'll find it much easier to get going.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: precompile jsps option on startup?

2005-05-13 Thread [EMAIL PROTECTED]
No. Jasper performance has to be improved before such an undertaking can be 
done.  Why dont u make precompilation part of ur build process?

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Broken XMBean persistence with 1.5 and org.jboss.mx.pers

2005-05-13 Thread hennejg
As an afterthought and to clarify: as you can see in the stack trace, this time 
I tested with the example.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB

2005-05-13 Thread memoores
I just upgraded to 4.0.2 from 4.0.1 because my SAR was unable to load jdom.jar 
(issue with manifest in jdom, i found a forum thread on that..).  That problem 
was fixed when i moved to 4.0.2, but now I'm also stuck on ehcache with a class 
not found error..
my SAR has the jar.. see below..

Caused by: java.lang.NoClassDefFoundError: net/sf/ehcache/Element
at net.sf.ehcache.Cache.put(Cache.java:317)
at org.hibernate.cache.EhCache.put(EhCache.java:153)
at org.hibernate.cache.ReadOnlyCache.put(ReadOnlyCache.java:59)
at 
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126)
at 
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:510)
at org.hibernate.loader.Loader.doQuery(Loader.java:419)
at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1311)
at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:116)
at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:101)

my SAR archive lhas the ehcache jar:
[EMAIL PROTECTED] proto]$ jar -tf dist/canopic.sar
META-INF/
META-INF/MANIFEST.MF
META-INF/jboss-service.xml
c3p0-0.9.0-pre5.jar
c3p0-oracle-thin-extras-0.9.0-pre5.jar
commons-logging.jar
ebi.jar
jdom.jar
junit.jar
junitperf-1.9.1.jar
log4j.jar
ojdbc14.jar
aopalliance.jar
cglib-nodep-2.1.jar
commons-collections.jar
dom4j-1.6.jar
spring-aop.jar
spring.jar
ehcache-1.1.jar
hibernate3.jar
canopic-common.jar
canopic-shared.jar
canopic-sar.jar


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - upLoad the file

2005-05-13 Thread carlosgyn
I have a problem. I am developing a corporative solution for upLoad of 
archives, I do not want to use the method ENCTYPE=multipart/form-data
therefore I go to have an amount of users making upload this can very degrade 
the memory of the server.

For security reason I cannot use Applet.

I would have one another solution?


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Liferay 3.2.0 and jboss 4.0.2

2005-05-13 Thread madeonmoon
Hey all,

Has anyone gotten the two (Liferay 3.2.0 ent. and jboss 4.0.2) working 
together? are there any docs on getting liferay working with jboss 4.x?

Thanks a lot
james

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - UnsatisfiedLink Error

2005-05-13 Thread ketan_dba
i am developing web application using java.
i am using ant builder for build the java project.
i am creating .ear file through ant build.xml and deploy this .ear file on 
jboss application server.
for running some java program i have to use shared library...so at run time i 
have to pass
java.library.path = path/of/shared/lib/libdb_java-4.3.so
this libdb_java-4.3.so is shared library and it resides on linux server where 
jboss is installed.
After deploying .ear file on jboss server..
when end-user running this application through browser(from windows operating 
system), how pass the
java -Djava.library.path for getting shared library...

otherwise program terminated with 
Exception in thread main java.lang.UnsatisfiedLinkError: no db_java-4.3 in 
java.library.path

while generating .ear file through ant builder..
i am just compile the classs which includes .jar file in classpath.

if i run the program on linux server by giving command
java -Djava.library.path=path/of/shared lib/libdb_java-4.3.so programName.class 
it works
perfectly.
Is any setting on jboss server..or where to put shared library on jboss 
directory structure... 
pl. guide me...
Thanks in advanced..

ketan


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: Returning Parameters to a Client

2005-05-13 Thread mjchecko
I figured out the problem, I wasn't doing anything with the values returned.  I 
needed the following:

response.setContentType( text/html );
  | PrintWriter out = response.getWriter();
  | out.println( variable );

Hope this helps someone else one day.

- Matt

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - zzz3000

2005-05-13 Thread zzz3000
where i can dowload file jbossj2ee-src.zip(for update sun examples) 

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Problem accessing .NET webservice from servlets

2005-05-13 Thread Tyler Black
I can appreciate that, Anil.  Speaking of stack traces...

Using a default jboss configuration, I have an issue currently that a web 
service which we used before (JBoss 4.0.1sp1) will now puke an exception as 
follows:

  |org.jboss.axis.ConfigurationException: 
java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.webservice.client.ClientLoginHandler
  | java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.webservice.client.ClientLoginHandler
  | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:292)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
  | 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:141)
  | at org.jboss.axis.utils.ClassUtils$2.run(ClassUtils.java:216)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at org.jboss.axis.utils.ClassUtils.loadClass(ClassUtils.java:179)
  | at org.jboss.axis.utils.ClassUtils.forName(ClassUtils.java:120)
  | at 
org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:418)
  | at 
org.jboss.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:347)
  | at 
org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322)
  | at 
org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307)
  | at 
org.jboss.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:167)
  | at 
org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322)
  | at 
org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307)
  | at 
org.jboss.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:583)
  | at 
org.jboss.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:326)
  | at org.jboss.axis.AxisEngine.getGlobalRequest(AxisEngine.java:291)
  | at org.jboss.axis.client.AxisClient.invoke(AxisClient.java:175)
  | at org.jboss.axis.client.Call.invokeEngine(Call.java:3054)
  | at org.jboss.axis.client.Call.invoke(Call.java:3039)
  | at org.jboss.axis.client.Call.invoke(Call.java:2629)
  | at org.jboss.axis.client.Call.invoke(Call.java:2538)
  | at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
  | at org.jboss.axis.client.Call.invoke(Call.java:1914)
  |  

I see in jboss-ws4ee.sar/META-INF/axis-client-config.xml the following handler 
definition
handler name=ClientLoginHandler 
type=java:org.jboss.webservice.handler.ClientLoginHandler/
What is trying to call org.jboss.webservice.client.ClientLoginHandler?  I can't 
find this class anywhere, so I'm not surprised that there's a ClassLoader error.

Any help?

Thanks

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Problem accessing .NET webservice from servlets

2005-05-13 Thread [EMAIL PROTECTED]
client/jboss-ws4ee-client.jar

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Problem accessing .NET webservice from servlets

2005-05-13 Thread Tyler Black
Ah, see that's the point.  jboss-ws4ee-client.jar has this class

org.jboss.webservice.handler.ClientLoginHandler

which is not the same as

org.jboss.webservice.client.ClientLoginHandler

The latter class is the cause of the problem.  Why is this older class still 
being called and how can I fix it?

Thanks,

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Install from docs using defaults doesn't work

2005-05-13 Thread jon.brisbin
JBos 4.0.2 (installed yesterday), WinXP (yuck, but I have to), Postgres 8 on 
SUSE 9

I tried installing the latest jboss-portal, downloaded from sf.net, using the 
documentation both in the downloads and online (pretty much the same, I know). 
The portal service doesn't appear to be working because Hibernate is not 
deploying. Hibernate wasn't included in portal-postgres binary (just downloaded 
the source, will try that one, even though that's a heck of a lot of work just 
to try the darn thing out) and not mentioned anywhere in the docs as being a 
requirement.

Please let me know if I should just stick with the sources or if I'm not 
reading the docs right or something. According to the docs, in a standard JBoss 
install, doing everything step by step (which I did), I should be testing by 
now, but I'm off somewhere in hinterland, trying to figure out yet another 
complex technology I don't have time to learn well enough to make work and 
support properly.

Any help you can give me here would be greatly appreciated!

Jon Brisbin
NPC International

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Install from docs using defaults doesn't work

2005-05-13 Thread [EMAIL PROTECTED]
Jon,

JBoss Portal will not run on AS4.0.2 as that version of AS uses Hibernate3. We 
recommend 4.0.1sp1, as we mainly develop on that version containing Hibernate2. 
We hope to have it running on 4.0.2 for our Final in June.

I will modify the docs and make it clearer that we do not support 4.0.2 
currently. 
http://docs.jboss.org/jbportal/v2.0RC/user-guide/en/html/supportedversions.html#d0e355

Let me know if this helped.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: which JbossCache version is in the main branch on cvs?

2005-05-13 Thread plainkeyman
i'm using sourceforge--- should i not be?

here's my command:
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-cache

if this is the wrong command-- which should i use, or where should i look to 
find the correct username/pass/host/path?



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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - help with how to debug

2005-05-13 Thread plainkeyman
here's my problem:
some objects that i'm putting into jboss cache are changing values without my 
consent.  but i cannot tell what it changing them.   it is not reliable, but i 
can reproduce it with my code.  basically they change after a significant 
amount of time, with several accesses of other objects.  

i've put System.out.println(fqn) statements in Node.java in methods put*, 
getData, remove, clear.   after the problem happens, i don't see a 
corresponding print statement for the object that changed.  
i've done similar techniques in my code and really cannot find it.

here's my questions:
how can i be able to spot which code is modifying these objects?  i'm currently 
using jswat 2.X.  is there another debugger that can do this?  is there a 
debugger that can make a 'memory breakpoint'?

i'm not asking for someone to find the problem, but to help me learn how to 
find it.

thanks in advance,
richard

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Cannot obtain inMethodFlag for: getCallerPrincipal

2005-05-13 Thread gdemir
Hi,

I have a custom security implementation that works well in previous JBoss 
versions. However, with JBoss 4.0.2 it gives the following exception. I tried 
(with full rebuild of my own lib) both with jdk 1.5 and jdk 1.4 (latest 
versions). What might be going mistakenly here?

Thanks in advance,
Gokhan Demir


java.lang.IllegalStateException: Cannot obtain inMethodFlag for: 
getCallerPrincipal
at 
org.jboss.ejb.AllowedOperationsAssociation.assertAllowedIn(AllowedOperationsAssociation.java:119)
at 
org.jboss.ejb.StatelessSessionEnterpriseContext$SessionContextImpl.getCallerPrincipal(StatelessSessionEnterpriseContext.java:196)
at 
com.igonline.securityx.jboss.IGCommonSecurityProxy.setEJBContext(IGCommonSecurityProxy.java:87)
at 
org.jboss.ejb.plugins.SecurityProxyInterceptor.invokeHome(SecurityProxyInterceptor.java:137)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:81)
at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:389)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:116)
at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at 
org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613)
at org.jboss.ejb.Container.invoke(Container.java:894)
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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Does JBoss 4.0.2 has full support of JSR-160 (JMX Remote API

2005-05-13 Thread qdotlu
As title. Thanks.

-qdotlu

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Cannot obtain inMethodFlag for: getCallerPrincipal

2005-05-13 Thread [EMAIL PROTECTED]
What has changed is that there is now a valid session ctx for the home 
invocation. Previously this was not created until needed. This is a bug in the 
assertion being made to what methods are allowed to invoke the 
getCallerPrincipal that has not shown up until the change in the session ctx 
creation was made.


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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >