[JBoss-user] [EJB/JBoss] - Re: Sequence of Entity bean deployment

2005-07-19 Thread amitvyavahare
Did any body find a solution

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - MDB receiving message

2005-07-19 Thread amitvyavahare
How can I configure my MDB to receive messages only after a certain interval of 
time. I mean the MDB will retrive messages from the Queue after every two hours 
and not as soon as the message is entered into a Queue

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - MDB receiving message

2005-07-19 Thread amitvyavahare
How can I configure my MDB to receive messages only after a certain interval of 
time. I mean the MDB will retrive messages from the Queue after every two hours 
and not as soon as the message is entered into a Queue

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - exception and warning when jboss start

2005-07-19 Thread adeks
there is some exception and warning whan jboss start but it give me a message 
that it have been started. Are this exeception make jboss work not correctly???
In other way, when i deploy my portal (with ant) there is a server 500 error.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - exception and warning when jboss start

2005-07-19 Thread adeks
there is some exception and warning whan jboss start but it give me a message 
that it have been started. Are this exeception make jboss work not correctly???
In other way, when i deploy my portal (with ant) there is a server 500 error.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: how to customize User portlet

2005-07-19 Thread gruenewa
I have also the opinnion that the user portlet needs some refinement, because 
it is a very important element of the portal.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: EJB Spec violation

2005-07-19 Thread jaikiran
This happens because, the container is NOT able to find, the class correponding 
to the entry TestPackage.impl.TestSessionEJBBean in ejb-jar.xml. Please post 
your application.xml, ejb-jar.xml and jboss.xml




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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: exception and warning when jboss start

2005-07-19 Thread jaikiran
I guess, jboss has NOT started properly, may be because of problems in the 
deployment of your portal. Post the server log

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Exception while trying to get Stub from JBoss-Cluster

2005-07-19 Thread bo_hari
Hi,

you have to ensure that there is only one version in it ... 

If you need a clustered enviroment you should be happy with jbossall-client.jar

This jar is also much bigger than the normal, because it includes all other 
xxx-client.jars 

hth 



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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - probleme with jportlet

2005-07-19 Thread adeks
Hi
i downdloaded the jportlet and i am testing the hello word portlet exemple but 
after i deploy it with ant (with succes) and i test it , i have a HTTP 500 
ERROR!!! what is the solution?

Thanks.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Which JBoss AS is in sync with JBoss Portal 2.2 head code?

2005-07-19 Thread andrejusc
Would like to test head code as well to already tried 2.0 stable one. Could 
anybody point me which JBoss AS version should I use for that?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - EJB QL Problem

2005-07-19 Thread chrismalan
When I deploy the ear to JBoss-4.0.2 I get the following:
Error compiling JBossQL statement 'select Object(o) from principalsSchema o'; - 
nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered 
principalsSchema at line 1, column 23.
Was expecting one of: 
IN ...
ABSTRACT_SCHEMA ...

The simple application has only findAll queries and this happens for all of 
them.  It happens with as o as well as just o, like the example above.

Despite that everything works, even the findAll queries.

The IDE is JBoss IDE 1.5 Milestone 1 and the JDK 1.5.0.01 

Any idea what is wrong?  I searched JBoss and the web and can find related 
stuff, but not this for simple findAll queries. 

Here is an example:
@ejb.finder 
 *signature=java.util.Collection findAll()  
 *query=select Object(o) from principalsSchema as o
 *view-type=local

Thanks

Chris

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Upgrading from CMP 1.1 to 2.1 - relationships

2005-07-19 Thread per_nyfelt
I am upgrading a CMP 1.1 based system to CMP 2.1 and are struggling with 
relationships. I have two beans Activity and ActivityLog where the table 
structure looks as follows:

CREATE TABLE Activity (
  |   id bigint(20) NOT NULL,
  |   description varchar(75) default NULL,
  |   entityCode char(2) default NULL,
  |   active char(1) default NULL,
  |   seq int(11) default NULL,
  |   PRIMARY KEY  (id)
  | )
  | 

CREATE TABLE ActivityLog (
  |   id bigint(20) NOT NULL,
  |   entityId bigint(20) default NULL,
  |   activityId bigint(20) default NULL,
  |   userId bigint(20) NOT NULL default '0',
  |   activityDate datetime default NULL,
  |   description varchar(100) default NULL,
  |   PRIMARY KEY  (id)
  | ) 
  | 

In the old way I had a finder called findActivitiesForEntity which i defined as 
follows in jaws.xml:

  |  finder
  | namefindActivitiesForEntity/name
  | query, Activity
  |   WHERE ActivityLog.activityId = Activity.id
  |   AND ActivityLog.entityId = {0}
  |   AND Activity.entityCode = {1}
  | /query
  | orderactivityDate DESC, id DESC/order
  |   /finder
  | 

I found no way of doing it this way on JBOSS 4.0.1 using CMP 2.1 which is my 
target so I modified the finder to look like this instead (using xdoclet):

 @ejb.finder
  |  signature=java.util.Collection findActivitiesForEntity(long entityId, 
java.lang.String entityCode)
  |  query=SELECT OBJECT(o) FROM ActivityLog AS o WHERE o.entityId = ?1 
AND o.activity.entityCode = ?2 ORDER BY o.activityDate DESC, o.id DESC
  | 

Thus using the idea of a relationship between ActivityLog and Activity to be 
able to navigate from one to the other. However i cannot figure out how to 
declare the CMR relationship. The following code does NOT work as JBoss thinks 
it is a M:N relationship (which it is not).

  | /**
  |  * @ejb.interface-method
  |  *
  |  * @ejb.relation
  |  *  name=Acitivity-ActivityLog
  |  *  role-name=ActivityLog-belongs_to-Activity
  |  *  target-role-name=ActivityLog-Activity
  |  *  target-ejb=Activity
  |  *
  |  * @jboss.target-relation
  |  *related-pk-field=id
  |  *fk-column=activityId
  |  *
  |  */
  | public abstract Activity getActivity(  );
  | 
  | /**
  |  * @ejb.interface-method
  |  */
  | public abstract void setActivity( Activity activity );
  | 

I've not defined any CMR field in Activity (actually tried that as well without 
any luck). Essentially i want to navigate from ActivityLog to Activity but a re 
not really interested in going the other way (from Activity to activityLog).

Any help would be most appreciated!

Best regards,
Per

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - request.getInputStream() hangs if inputstream does not conta

2005-07-19 Thread nitinjain
Hi There,

I am facing a starnge problem. I'm trying to get the inputstream from 
HttpServletRequest object by request.getInputStream(). I frequest inputstream 
contains data then it works fine. But if request inputstream does not contain 
any data then the system hangs. Can u suggest me a way out.

My Code:
BufferedInputStream bufferedInputStream = new 
BufferedInputStream(request.getInputStream(), 2048);

Thanks,
Nittin

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: EJB Spec violation

2005-07-19 Thread shankar_rao
i am posting my jboss.xml and appliction.xml and ejb-jar.xml


jboss.xml

  | jboss
  |   enterprise-beans
  | session
  |   ejb-nameTestSessionEJB/ejb-name
  |   jndi-nameTestSessionEJB/jndi-name
  | /session
  |   /enterprise-beans
  | /jboss
  | 
  | 

application.xml

  | application
  |  display-namenew test/display-name
  |   module
  |  ejbtest.jar/ejb
  |   /module
  |module
  |  web
  | web-uritest.war/web-uri
  |  /web
  |   /module
  |  /application
  | 
  | 

ejb-jar.xml

  | ejb-jar
  | enterprise-beans
  | session
  |   descriptionSession Bean ( Stateless )/description
  |   display-nameTestSessionEJB/display-name
  |   ejb-nameTestSessionEJB/ejb-name
  |   homeTestPackage.TestSessionEJBHome/home
  |   remoteTestPackage.TestSessionEJB/remote
  |   ejb-classTestPackage.impl.TestSessionEJBBean/ejb-class
  |   session-typeStateless/session-type
  |   transaction-typeContainer/transaction-type
  | /session
  |   /enterprise-beans
  | /ejb-jar
  | 
  | 
  | 


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error

2005-07-19 Thread jameselliot
I tried adding preferred IPv4 support as given for the test, this gave the same 
error:

  | [EMAIL PROTECTED]:~$ java -Djava.net.preferIPv4Stack=true 
org.jgroups.demos.Draw
  | 
  | log4j:WARN No appenders could be found for logger 
(org.jgroups.conf.ClassConfigurator).
  | log4j:WARN Please initialize the log4j system properly.
  | ChannelException: java.lang.Exception: exception caused by UDP.start(): 
java.lang.Exception: UDP.createSockets(): cannot list on any port in range 0-1
  | at org.jgroups.JChannel.connect(JChannel.java:328)
  | at org.jgroups.demos.Draw.go(Draw.java:147)
  | at org.jgroups.demos.Draw.main(Draw.java:117)
  | 

With out the preferred IPv4 support I get the same error:


  | [EMAIL PROTECTED]:~$ java org.jgroups.demos.Draw
  | 
  | log4j:WARN No appenders could be found for logger 
(org.jgroups.conf.ClassConfigurator).
  | log4j:WARN Please initialize the log4j system properly.
  | ChannelException: java.lang.Exception: exception caused by UDP.start(): 
java.lang.Exception: UDP.createSockets(): cannot list on any port in range 0-1
  | at org.jgroups.JChannel.connect(JChannel.java:328)
  | at org.jgroups.demos.Draw.go(Draw.java:147)
  | at org.jgroups.demos.Draw.main(Draw.java:117)
  | 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: war, ear or sar?

2005-07-19 Thread [EMAIL PROTECTED]
ear containing war and ejb jar will do it

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Which JBoss AS is in sync with JBoss Portal 2.2 head cod

2005-07-19 Thread [EMAIL PROTECTED]
4.0.2

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error

2005-07-19 Thread [EMAIL PROTECTED]
Okay, the problem is that 4.0.2 uses JGroups 2.2.7. In 2.2.7, the check for a 
bind_port  0 is *not* done.
A port of 0 means an ephemeral port, but some JDK/OSs don't implement this 
correctly.

What can you do ?
- Set bind_port to a valid value
- Upgrade to 2.2.8
The upgrade should be simple, because the API hasn't changed between 2.2.7 and 
2.2.8. You *may* have to remove some parameters in your XML file, although I 
don't think that is the case.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error

2005-07-19 Thread [EMAIL PROTECTED]
You can find out the JGroups version by
java -cp jgroups.jar org.jgroups.Version

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Configuration of NODESK layout/theme?

2005-07-19 Thread gruenewa
Is it allowed to customize NODESK layout for my portal? Where can i change the 
colors, i would prefer a green theme instead blue theme? Must I give credits 
and who i have to give credits?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: CVS

2005-07-19 Thread andrejusc
Could you tell or point to some document, which defines what should be set 
before running Ant over build.xml file for checked out code? I'm getting so far 
an error similar to this:

[execmodules] 
D:\eclipse\jboss\jboss-portal\common\src\main\org\jboss\portal\common\MediaType.java:18:
 package javax.activation does not exist
[execmodules] import javax.activation.MimeType;
[execmodules] ^

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: EJB Spec violation

2005-07-19 Thread jaikiran
After seeing the log, i guess your test.jar does NOT contain 
TestPackage.impl.TestSessionEJBBean. Are you sure that this class file is 
present in the jar. (P.S.: Be sure that you havent done a typo mistake in 
specifying the class name in ejb-class entry )

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Deployment from standalone application.

2005-07-19 Thread Denisius
I've found solution:

  | public void doDeploy() {
  | try {
  | getServer().invoke(
  | new 
ObjectName(jboss.deployment:flavor=URL,type=DeploymentScanner),
  | addURL,
  | new Object[] { file:/E:/Work/ear/my_ear_name.ear },
  | new String[] { java.lang.String });
  | } catch(Exception e) {}
  | }
  | //--
  | private MBeanServerConnection getServer() {
  | if (mBeanServer == null) {
  | try {
  | Properties props = new Properties();
  | props.put(java.naming.factory.initial,
  | 
org.jnp.interfaces.NamingContextFactory);
  | props.put(ava.naming.factory.url.pkgs,
  | 
org.jboss.naming:org.jnp.interfaces);
  | props.put(java.naming.provider.url, 
localhost:1199); //jnp://
  | 
  | InitialContext ctx = new InitialContext(props);
  | mBeanServer = (MBeanServerConnection) ctx
  | 
.lookup(jmx/invoker/RMIAdaptor);
  | } catch (Exception e) {
  | e.printStackTrace();
  | mBeanServer = null;
  | }
  | }
  | return mBeanServer;
  | }
  | 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to create mbeans on runtime.

2005-07-19 Thread Denisius
The right code is:

  | private MBeanServerConnection getServer() {
  | if (mBeanServer == null) {
  | try {
  | Properties props = new Properties();
  | props.put(java.naming.factory.initial,
  | 
org.jnp.interfaces.NamingContextFactory);
  | props.put(ava.naming.factory.url.pkgs,
  | 
org.jboss.naming:org.jnp.interfaces);
  | props.put(java.naming.provider.url, 
localhost:1199); //jnp://
  | 
  | InitialContext ctx = new InitialContext(props);
  | mBeanServer = (MBeanServerConnection) ctx
  | .lookup(jmx/invoker/RMIAdaptor);
  | } catch (Exception e) {
  | e.printStackTrace();
  | mBeanServer = null;
  | }
  | }
  | return mBeanServer;
  | }
  | 
  | public void createQueue(String name) {
  |getServer().createMBean(
  | org.jboss.mq.server.jmx.Queue,
  | new ObjectName(jboss.mq.destination:service=Queue,name= + name));
  | }
  | 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Acessing a JSP from another JSP

2005-07-19 Thread brp
Can you please explain me with an example.I tried as you told but I am not able 
to go further.Plz. do help me by giving an exmple.

brp

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Soap Attachments

2005-07-19 Thread gayathiri
I am using webservice with soap attachments in jboss-4.0.0.The method should 
accept a file attachment and should return a file.
This is my SEI

public interface MyService extends java.rmi.Remote {
  | public DataHandler myService(DataHandler in0) throws 
java.rmi.RemoteException;
  | }

WSDL file :
==

  | ?xml version=1.0 encoding=UTF-8?
  | wsdl:definitions targetNamespace=http://attachment.example.org; 
  | xmlns:impl=http://attachment.example.org; 
  | xmlns:intf=http://attachment.example.org; 
  | xmlns:apachesoap=http://xml.apache.org/xml-soap; 
  | xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/; 
  | xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; 
  | xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
  | xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; 
  | xmlns=http://schemas.xmlsoap.org/wsdl/;
  | 
  |wsdl:message name=myServiceResponse
  | 
  |   wsdl:part name=myServiceReturn type=javax.activtion.DataHandler/
  | 
  |/wsdl:message
  | 
  |wsdl:message name=myServiceRequest
  | 
  |   wsdl:part name=in0 type=javax.activtion.DataHandler/
  | 
  |/wsdl:message
  | 
  |wsdl:portType name=MyService
  | 
  |   wsdl:operation name=myService parameterOrder=in0
  | 
  |  wsdl:input name=myServiceRequest 
message=impl:myServiceRequest/
  | 
  |  wsdl:output name=myServiceResponse 
message=impl:myServiceResponse/
  | 
  |   /wsdl:operation
  | 
  |/wsdl:portType
  | 
  |wsdl:binding name=MyServiceSoapBinding type=impl:MyService
  | 
  |   wsdlsoap:binding style=rpc 
transport=http://schemas.xmlsoap.org/soap/http/
  | 
  |   wsdl:operation name=myService
  | 
  |  wsdlsoap:operation soapAction=/
  | 
  |  wsdl:input name=myServiceRequest
  | 
  | wsdlsoap:body use=literal 
namespace=http://attachment.example.org/
  | 
  |  /wsdl:input
  | 
  |  wsdl:output name=myServiceResponse
  | 
  | wsdlsoap:body use=literal 
namespace=http://attachment.example.org/
  | 
  |  /wsdl:output
  | 
  |   /wsdl:operation
  | 
  |/wsdl:binding
  | 
  |wsdl:service name=MyServiceService
  | 
  |   wsdl:port name=MyService binding=impl:MyServiceSoapBinding
  | 
  |  wsdlsoap:address 
location=http://192.10.10.58:8080/ws4ee/services/attachments/
  | 
  |   /wsdl:port
  | 
  |/wsdl:service
  | 
  | /wsdl:definitions

I am using the wsdltojava to create wsdl file and javatowsdl .

When i deploy in the server it is giving me the below exception

WSDL published to: 
file:/data/jboss-4.0.0/server/default/data/wsdl/attachments.war/attachment.wsdl
14:56:13,949 ERROR [ServiceDeployer] Cannot startup webservice for: 
attachments.war
org.jboss.deployment.DeploymentException: Cannot deploy webservice; - nested 
throwable: (RuntimeMBeanException: null Cause: 
java.lang.IllegalArgumentException: Cannot find package type for: 
{http://xml.apache.org/xml-soap}DataHandler)
at 
org.jboss.webservice.ServiceDeployer.deployWebservices(ServiceDeployer.java:342)
at 
org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:203)
at 
org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:113)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
at $Proxy25.handleNotification(Unknown Source)
at 
javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:104)
at 
javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:87)
at 
org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:178)
at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:378)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at 

[JBoss-user] [JNDI/Naming/Network] - Re: Remote JNDI lookup Confusion

2005-07-19 Thread darranl
Biswojit, Please start a new topic to ask your question.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: EJB Spec violation

2005-07-19 Thread shankar_rao
my Test.jar containg TestPackage.impl.TestSessionEJBBean and even in my 
ejb-jar.xml the class name between ejb-class  tag is also correct, where is 
the actul problem i am not getting..help me

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Deployment from standalone application.

2005-07-19 Thread adrian.bigland
Or you could copy the file over if you have the server's deploy directory 
mapped to your machine via Samba or NFS or something...

Or use FTP or HTML to upload the file, using the commons net library from 
apache...

I do this sort of thing with Ant all the time (using a deploy target in an Ant 
script) which just uses the Ant copy target to copy over to a mapped drive.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: complex primary key

2005-07-19 Thread ersisir
You can use X-Doclet to generate such complex primary key. But make sure to 
make sure that the instance variable should be public(as it was in 2.1 spec...I 
dont have idea about 3.0). And in you mapping file only mention prim key 
class.NOT prim key field.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - NestableGroup - where is this set?

2005-07-19 Thread robbiest
Here is some code which I use to add new principals.  Where in JBoss code is 
the NestableGroup set as one of the principals?  I cannot for the life of me 
find it.
Thanks in advance for your replies.



  | Subject subject = SecurityAssociation.getSubject();
  | Iterator it = 
subject.getPrincipals(org.jboss.security.NestableGroup.class).iterator();
  | if(it.hasNext())
  | {
  |   Group roles = (Group)it.next();
  |   Enumeration roleEnum = roles.members();
  |   while (roleEnum.hasMoreElements())
  |   {
  | Principal principal = (Principal)roleEnum.nextElement();
  | AdminPrincipal p = null;
  | if(principal.getName().equals(SecurityRoles.ADMINISTRATOR_ROLE))
  | {
  |p = new AdministratorPrincipal(username);
  |subject.getPrincipals().add(p);
  |  }
  |   }
  | }
  | 
  | 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How to make primitive types accept null values in jbossc

2005-07-19 Thread rakeshkamat
Thanks iwasdasn,
I converted all ints to Integers, didn't have any doubles or booleans in the 
code.
Unfortunately the problem persists. Is there any change to be made to the 
jbosscmp-jdbc.xml file?

Appreciate ur help.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Transaction Id is always null in JMS_MESSAGES AND JMS_TRANSA

2005-07-19 Thread vishak_s
I am using JBoss 3.2.3. JMS application threw the Primary key violation and 
PersistenceManager was modified as per JBoss 3.2.4 patch. Transaction Id was 
stored as SynchronizedLong instead of prmitive type long. In our application I 
see that  TransactionId is always persisted in database as null and message id 
is not sequential. Can you please explain why is this behaviour.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - some sample portlets using only servlet and jsp

2005-07-19 Thread preeti12
Hi,
   
  I need some sample examples of portlets using only jsp and servlets.
  So that i can deploy all those in jboss portal and run..Can anyody help 
me in regard to this.

preeti

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: war, ear or sar?

2005-07-19 Thread yxyang
I did a test and the result shows that ear containing war and jar doesn't work.
I suspected that it is due to the context root confliction, because there is a 
jboss-app.xml and context.xml in the jbossportal core already.

What i did was to deploy jar file directly. Portlets in war use jndi lookup by 
using local-ejb-ref tag in the jboss-web.xml. It works. But there is a strange 
problem related to the classloader:

If the war file includes the interface classes of the ejbs in its lib 
directory, there will be a classloader exception. But if i remove the ejbs 
interfaces from its lib directory, it works. 

In my understanding, i expected that the ejb interfaces should be included in 
the lib directory. Is this true?

Regards
Yang

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: poor man's cache invalidation solution?

2005-07-19 Thread wynne_b
This is a custom application.

Yes. I intend to use the 2nd level cache in combination with the region 
separation.  I had deadlocking problems with the custom eviction policy. It's 
unintuitive why this was happening.  So I'm now trying to dynamically 
manipulate the Region configuration during startup based on the node name.

The idea is that the configuration file would have a region setting for each 
cluster node.  The time to live would be set to 1 second for each server node 
region name that is not the same as the cluster node name.  It's a bit of hack, 
but... 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ from Microsoft .Net Framework

2005-07-19 Thread shaby775
Hi,
My application requires integration with .Net based application. I want to ask 
can we publish message in JBossMQ using C# or VB.Net.  The .Net application 
will publish messages JBossMQ in bulk and my application (MDB) will read and 
then process it.
If it is possible then please tell me how?

Regards,
Shaoib Akhtar

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - n:m relation-table is not used

2005-07-19 Thread Smilidon
Hi,

i get an exception when calling my finder. i use a 
relationtable(report_role_map) that is not created by jboss. my finder always 
uses a table t2_r_roles_RELATION_TABLE, that (of course) dont exists. can 
somebody help please?

error:


  | 14:39:13,808 DEBUG [Report#findReportByRole] Executing SQL: SELECT t0_r.id 
FROM report t0_r WHERE ((t2_r_roles_RELATION_TABLE.fk_role_id IS  NOT NULL AND 
t2_r_roles_RELATION_TABLE.fk_report_id=?))
  | 14:39:13,808 ERROR [Report#findReportByRole] Find failed
  | java.sql.SQLException: Unknown table 't2_r_roles_RELATION_TABLE' in where 
clause
  | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2851)
  | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531)
  | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622)
  | 

my jbosscmp-jdbc:

relationships
  | ejb-relation
  |   ejb-relation-nameReport-Role/ejb-relation-name
  |   relation-table-mapping
  | table-namereport_role_map/table-name
  |   create-tablefalse/create-table
  |   remove-tablefalse/remove-table
  |   /relation-table-mapping
  | 
  |   ejb-relationship-role
  |   
ejb-relationship-role-nameReport-has-Roles/ejb-relationship-role-name
  |   fk-constrainttrue/fk-constraint
  |   key-fields
  |  key-field
  |field-nameid/field-name
  |column-namefk_role_id/column-name
  |  /key-field
  |   /key-fields
  | 
  |   /ejb-relationship-role
  |   ejb-relationship-role
  |   
ejb-relationship-role-nameRole-has-Reports/ejb-relationship-role-name
  |   fk-constrainttrue/fk-constraint
  |   key-fields
  |  key-field
  |field-nameid/field-name
  |column-namefk_report_id/column-name
  |  /key-field
  |   /key-fields
  | 
  |   /ejb-relationship-role
  | /ejb-relation
  | 

my tables:



  | CREATE TABLE `role` (
  |   `id` int(11) NOT NULL default '0',
  |   `rolename` varchar(32) NOT NULL default '',
  |   PRIMARY KEY  (`id`)
  | ) 
  | 
  | 
  | CREATE TABLE `report` (
  |   `id` int(10) unsigned NOT NULL auto_increment,
  |   `comment` varchar(100) NOT NULL default '',
  |   PRIMARY KEY  (`id`)
  | ) 
  | 
  | relation-table:
  | 
  | CREATE TABLE `report_role_map` (
  |   `fk_report_id` int(11) NOT NULL default '0',
  |   `fk_role_id` int(11) NOT NULL default '0'
  | ) 
  | 

my finder:


  |  * @ejb.finder signature = java.util.Collection 
findReportByRole(de.entity.interfaces.RoleLocal role)
  |  * query = SELECT OBJECT(r) FROM Report AS r WHERE ?1 
MEMBER OF r.roles
  | 

if you need more information please tell me...

thx a lot

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: exception and warning when jboss start

2005-07-19 Thread darranl
Post the exception here.

Yes JBoss still starts even if some of the services fail to start.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: EJB Spec violation

2005-07-19 Thread darranl
Can you execute the command 'jar -tf jarname.jar' and show the output here.

Also are any classes referenced by your session bean, these may not be 
available at runtime.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Configuration file for Loging modules NOT found

2005-07-19 Thread jaikiran
Hi,
 I am doing a jaas login through my code. I have placed my class files in a jar 
file name myClient.jar. In the code i have set the config file as follows:

System.setProperty(java.security.auth.login.config,myConfig.conf);

I have placed this myConfig.conf file inside the myClient.jar and placed the 
myClient.jar in my classpath.

I get the following error during login:

Exception in thread main java.lang.SecurityException: myConfig.conf(No such 
fil
  | at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:97)
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Meth
  | at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstr
  | at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delegati
  | at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
  | at java.lang.Class.newInstance0(Class.java:308)
  | at java.lang.Class.newInstance(Class.java:261)
  | at 
javax.security.auth.login.Configuration$3.run(Configuration.java:2
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.Configuration.getConfiguration(Configura
  | at 
javax.security.auth.login.LoginContext$1.run(LoginContext.java:170
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.init(LoginContext.java:167)
  | at 
javax.security.auth.login.LoginContext.init(LoginContext.java:40
  | at 
com.teradata.crm.processingengine.client.ProcessingEngineClient.lo
  | at 
com.teradata.crm.processingengine.client.ProcessingEngineClient.ma
  | Caused by: java.io.IOException: myConfig.conf(No such file or directory)
  | at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:157)
  | at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:95)
  | ... 15 more

I have put the 

However, if i specify the exact path of the file as follows, then it works:
System.setProperty(java.security.auth.login.config,d:/MyTestDir/myClient.jar/myConfig.conf);

I DO NOT want to specify the absolute path in my code. Is there any solution 
for this(apart from passing the file as an argument through command line during 
executing the program)?

Thank you





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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Fibo Tutorial on JBoss 4.0.2

2005-07-19 Thread leo_de13
Hi All,

I initially faced the same problem with JBoss 4.0.2, EclipseIDE and java1.5. 
But the problem can be solved by just removing the FiboEJB-client.jar from 
FiboWeb.war, and then re-packaging and redeploying the FiboApp again!

May be this is happening because of multiple occurrence of the interfaces. But 
for local clients, we anyway need the client JAR...will nitofy here later if I 
get any solution about this client problem.

RHINO, u told that ur problem was not solved even after doing the same. But 
beleive me boss, it worked for me! So try it again, may be u forgot  to 
repackage and redeploy the project again! I hope this information will help u 
people who were also pulling their hair like me to slove it...

Regards
Bikram

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Problem accessing to juddi in JBoss4.0.1

2005-07-19 Thread Christy
Hi, I have jUDDI in JBoss4.0.1 configured the same manner as in WIKI JAXR.I 
have a small simple Java client and  I'm trying to publish a business to the 
jUDDI. But I'm getting an error:
   The AXIS engine could not find a target service to invoke!  targetService is 
null
at org.uddi4j.UDDIElement.(Unknown Source)
at org.uddi4j.response.AuthToken.(Unknown Source)
at org.uddi4j.client.UDDIProxy.get_authToken(Unknown Source)
at 
ru.oceaninfo.webservice.test.PublishBusiness.main(PublishBusiness.java:38)
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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
---
Why did it happen?


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-07-19 Thread tcherel
I do not believe that the default sun implementation is searching through the 
classpath to find the JAAS config file (see 
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/spec/com/sun/security/auth/login/ConfigFile.html).

But you should be able to programmatically define your own JAAS configuration 
uising 
http://java.sun.com/j2se/1.4.2/docs/api/javax/security/auth/login/Configuration.html#setConfiguration(javax.security.auth.login.Configuration)

Thomas

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JMS migration from WLS to JBoss 4

2005-07-19 Thread nitin_bit
Hi,
We are migrating a J2EE application (involving JMS/MDB) from Weblogic 7 to 
JBoss 4. The setup on weblogic uses Queue, Connection factory, JMS server, JDBC 
Message store. 
We have been able to create Queue on JBoss using 
jbossmq-destinations-service.xml and we tried to create Connection factory in 
jms-ds.xml as :




anonymous wrote : 
  | no-tx-connection-factory
  | jndi-namePBOLogQueueConnectionFactory/jndi-name
  | rar-namejms-ra.rar/rar-name
  | 
connection-definitionorg.jboss.resource.adapter.jms.JmsConnectionFactory/connection-definition
  | config-property name=SessionDefaultType 
type=java.lang.Stringjavax.jms.Queue/config-property
  | max-pool-size20/max-pool-size
  | security-domain-and-application/
  |   /no-tx-connection-factory
But our remote client says the factory is not bound as :
anonymous wrote : Testing JMS log queue by sending a test 
message...javax.naming.NameNotFoundException: PBOLogQueueConnectionFactory not 
bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Now our query is :
a) why is ConnectionFactory not found by client ?
b) how to declare/configure JDBC Message-store and JMS server in JBoss ? Could 
not find any xml-based way to do so.


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: EJB Spec violation

2005-07-19 Thread shankar_rao
my bean is refering to ServiceLocator class where the lookup done,

after executing the given command i am posting the out put

D:\NewTest\Project1\srcjar -tf test.jar
META-INF/
META-INF/MANIFEST.MF
classes/common/
classes/common/EJBHomeFactory.class
classes/common/ServiceLocator.class
classes/TestPackage/
classes/TestPackage/impl/
classes/TestPackage/impl/TestSessionEJBBean.class
classes/TestPackage/TestAction.class
classes/TestPackage/TestActionForm.class
classes/TestPackage/TestSessionEJB.class
classes/TestPackage/TestSessionEJBHome.class
META-INF/application.xml
META-INF/ejb-jar.xml

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How to make primitive types accept null values in jbossc

2005-07-19 Thread iwadasn

Ah, there must be a setting for it

There is a simple way to find these settings. Look at your jbosscmp-jdbc.xml 
file. If this was properly made (perhaps by XDoclet) then it should have a dtd. 
This DTD will give you a webpage, here's what the address should be...

http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd

The parser uses the document at this location to verify your file, therefore, 
any options that are allowed in the file will be defined in this page.

Search this page for null and you should find what you're looking for. If you 
can't read a DTD, you should take a few minutes to learn the basics, but pretty 
much, you need to write something that looks like this...


 cmp-field
field-nameid/field-name
column-namefid/column-name
not-null /
/cmp-field




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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Deploy too early....

2005-07-19 Thread iwadasn

It's on the original one... I'll try the move workaround, but it probably still 
wouldn't hurt to have JBoss wait a little bit (a couple of seconds) before 
picking it up. 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - HtmlAdaptor throws MalformedObjectNameException every 10 Min

2005-07-19 Thread BI-Chris
Hi,

I've got a strange Exception comming up every 10 Minutes. This is what's in the 
log-File and on Console. As you see, it occours at 15:59 and something, the 
next one is 16:09 and something and so on - exactly every 10 Minutes.

I thought I may have messed up some files, but I just deleted the whole Server 
directory and reinstalled everything.

It's a JBoss Version 4.0.2 run by an JDK 1.5 (build 1.5.0_04-b05) on Solaris 
5.8 - a Sparc-Server.

2005-07-19 15:59:17,681 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jmx-console].[HtmlAdaptor]]
 Servlet.service() for servlet HtmlAdaptor threw exception
javax.management.MalformedObjectNameException: Key properties cannot be empty
at javax.management.ObjectName.construct(ObjectName.java:393)
at javax.management.ObjectName.(ObjectName.java:1304)
at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:216)
at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOpByName(HtmlAdaptorServlet.java:272)
at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:87)
at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)

Anyone got an Idea what might cause this?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: New Hermes Demo

2005-07-19 Thread colincrist

Thanks for the link Luc.

Elias, you should fnd the LF problems with GTK on Linux fixed in 1.9.3. This 
version allows a system property to set your preferred LF.

http://www.hermesjms.com/releaseNotes-19.html

Cheers,

Colin.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: CVS

2005-07-19 Thread andrejusc
Interesting, doing CVS checkout via Eclipse 3.1 GUI doesn't catch thirdparty 
module inside project tree. Command line works normally.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Starting failed jboss:service=Naming java.lang.ClassCast

2005-07-19 Thread jjvangils
Hi all,

I have almost exactly the same problem. Any help is much appreciated.
14:53:33,708 ERROR [NamingService] Starting failed jboss:service=Naming
  | java.lang.ClassCastException: javax.naming.CompoundName
  | at 
org.jboss.naming.NamingService.startService(NamingService.java:235)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
  | 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)
  | ...
  | 
I'm messing around with the original installation, and am probably missing some 
thing (or possibly using a 4.0.0 artefact). I get this exception at the very 
beginning of JBoss' startup.

On line 235 of NamingService, there's the following:
String value = (String) env.get(key);
This seems the suggest that there's a problem with the enviroment. This is also 
what I've been tinkering with, but I'm having a tough time localizing the 
cause. I don't know why I'm getting a CompoundName instead of a String.

Thanks!

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: [Problem] Authentication of jmx console and slide effect

2005-07-19 Thread sonkalp
Hi, I am getting the same error. i.e. 403. Authentication seems to work okay. 
Were you able to resolve the issue? Thanks.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: CVS

2005-07-19 Thread [EMAIL PROTECTED]
You picked the wrong module with Eclipse. It works the same using Eclipse or 
the command line.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: How to configure LocalEJB via XDoclet

2005-07-19 Thread anthropophagos
Hi!
I have the same problem. I read some other forum posts, and it seems to be a 
xdoclet error. I am curious if there is a fix to this.
Anyone can help?

AP

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: EJB Spec violation

2005-07-19 Thread darranl
The structure of the jar file you have created is not correct, you need to 
remove the 'classes' folder from the root of the archive.  The output from jar 
-tf should be: -

META-INF/
META-INF/MANIFEST.MF
common/
common/EJBHomeFactory.class
common/ServiceLocator.class
TestPackage/
TestPackage/impl/
TestPackage/impl/TestSessionEJBBean.class
TestPackage/TestAction.class
TestPackage/TestActionForm.class
TestPackage/TestSessionEJB.class
TestPackage/TestSessionEJBHome.class
META-INF/ejb-jar.xml

(Also the application.xml should not be there but that is not related to the 
problem).

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: log4j and JMS appender

2005-07-19 Thread kookywon
You said:

There should be a LoggingService deployed someplace in jboss-service.xml . 
You can add a .. to it so it waits for the ConnectionFactory to be bound. 

what exactly do I add?  Could you post some example code?

My current log4j entry looks like this:

   mbean code=org.jboss.logging.Log4jService
  |   name=jboss.system:type=Log4jService,service=Logging
  |   attribute name=ConfigurationURLresource:log4j.xml/attribute
  |   !-- Set the org.apache.log4j.helpers.LogLog.setQuiteMode. As of 
log4j1.2.8
  |   this needs to be set to avoid a possible deadlock on exception at the
  |   appender level. See bug#696819.
  |   --
  |   attribute name=Log4jQuietModetrue/attribute
  |/mbean
  | 

What should it look like after your suggested change?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Soap Attachments

2005-07-19 Thread gayathiri
I have tried like this also 
public interface MyService extends java.rmi.Remote {
  | public java.lang.Object myService(java.lang.Object in0) throws 
java.rmi.RemoteException;
  | }

When i call the web service it is throwing me 
No serializers found for DataHandler.

Please help me out

Thanks

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Stuck configuring TreeCacheAOP - am I missing something?

2005-07-19 Thread gregorypierce
Well, I found a surprise sitting in your build path 


  | 
  | ?xml version=1.0 encoding=UTF-8?
  | aop
  |!-- This is declaration file for annotation. We are using JDK1.4 now,
  | so an annotationc pre-compiler is needed for JBossAop.
  | See build.xml target annoc for details.
  | Idea is user will then need only to annotate like:
  | @@org.jboss.cache.aop.AopMarker
  | in his POJO. There will be no need of jboss-aop.xml from user's 
side.
  | Only extra step is annotation compiling. And in JDK1.5, this step
  | will not be needed since the implicit annotation support.
  | 
  | For example, see either Address or Person.
  |--
  | 
  |!-- If a POJO has AopMarker annotation, it will be asepctized. --
  |prepare expr=field(* @org.jboss.cache.aop.AopMarker-*) /
  | 
  |!--
  |Supports inheritance and polymorphism. It can either be a concrete class
  |or an interface. All sub-classes or interface implementors will be 
instrumeneted.
  |--
  |prepare expr=field(* [EMAIL PROTECTED]*) /
  | /aop
  | 

Is this the correct way to deal with realizing classes or is the approach 
outlined in the documentation the correct way as the docs take an entirely 
different approach.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Support for Tomcat 5.5.9

2005-07-19 Thread panuv
The more general question is, how does one replace a given Tomcat version with 
another, and 'rebundle' it with JBOSS?

My question is:  How can I build the whole bundle from source, including Tomcat 
sources. I was able to build JBOSS from source, pretty easily. When running 
that server under JBOSS-IDE, I was able to debug it, and see much of what is 
going on, and even instrument the code with log output. Great. But whenever the 
execution is on the side of Tomcat, I can't see the Tomcat sources, and can 
only guess what happens there. 

Another debugging question is: How to see what happens when the control jumps 
over a proxy to a J2EE Bean? Is it possible to debug and see what the generated 
or hand-coded Bean-methods are doing?

By making it easy  to debug everything that happens in the 
Tomcat-JBOSS-client-JBOSS-container -bundle end-to-end would make it an 
excellent learning tool, and would surely help JBOSS gain market-share.

Thanks
 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: java.lang.ClassCastException: org.jboss.axis.message.RPC

2005-07-19 Thread bsheward
This strange behaviour does not just happen with returned values, I also have 
problems when passing parameters. Parameters which are arrays  of objects work 
fine, but parameters which are scalar objects fail.

For example, the following code fails:


  | public void testObjectParam() throws Exception {
  | Service service = getService();
  | WebServicesTest svc = (WebServicesTest) 
service.getPort(WebServicesTest.class);
  | TestValueObject tvo = svc.getValueObjectParam( new 
TestValueObject() );
  | System.out.println( WebServicesTest.getValueObjectParam() 
returned: + tvo.toString() );
  | assertNotNull( tvo );
  | }
  | 

While this test case works:


  | public void testObjectArrayParam() throws Exception {
  | Service service = getService();
  | WebServicesTest svc = (WebServicesTest) 
service.getPort(WebServicesTest.class);
  | 
  | TestValueObject[] tvoa = new TestValueObject[ 3 ];
  | for( int i=0; i  tvoa.length; i++ ) {
  |  tvoa[ i ] = new TestValueObject();
  |  tvoa[ i ].setInt( i );
  |  tvoa[ i ].setString( Element  + i );
  | }
  | TestValueObject[] tvoa2 = svc.getValueObjectArrayParam( tvoa );
  | for( int i=0; i  tvoa2.length; i++ ) {
  | System.out.println( WebServicesTest.getValueObjectArrayParam() 
[ + i + ] returned: + tvoa2.toString() );
  | }
  | assertNotNull( tvoa2 );
  | }
  | 

The server throws the following exception message:


10:43:11,873 ERROR [RPCInvocation] org.xml.sax.SAXException: Deserializing 
parameter 'testValueObject':  could not find deserializer for type 
{http://www.w3.org/2001/XMLSchema}anyType
org.xml.sax.SAXException: Deserializing parameter 'testValueObject':  could not 
find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType
at org.jboss.axis.message.RPCHandler.onStartChild(RPCHandler.java:326)
at 
org.jboss.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1168)
at 
org.jboss.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244)
at 
org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:1386)
at org.jboss.axis.message.RPCElement.deserialize(RPCElement.java:262)
at org.jboss.axis.message.RPCElement.getParams(RPCElement.java:396)
at 
org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:235)
at 
org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103)
at 
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
at 
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:905)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  

[JBoss-user] [Clustering/JBoss] - Re: No fail-Safe nor Load-Balancing

2005-07-19 Thread pkles
Hi all!,

Here goes a new hint I found for this problem:

When I generate an exception on the client app (the one getting connected to 
the clustered SLSB) I get this: 

...
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
...

I read that it should use de HA variant of JRMPInvokerbut I´m not getting 
it!!. I´m getting connected through 1100 port with no URL_PROVIDER stringso 
I asume that I´m using HAJNDI.

Any suggestion?

Pablo

Is this a kind of bug or something like that?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=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: JBoss deployer.jar missing

2005-07-19 Thread spullara
This has been missing since the first 4.0 builds appeared.  Does no one use it 
or are we missing some part of the install?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: webservice.xml generation via wseedoclet task

2005-07-19 Thread bsheward
I had the same problem with the META-INF and WEB-INF names and couldn't find 
any way to resolve it either, so I added the following line to my Ant build.xml 
file:



This seemed to work just fine.

Barry


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: webservice.xml generation via wseedoclet task

2005-07-19 Thread bsheward
Oops, I mean, this is the line that I added to my Ant build.xml file:


  | replace 
file=${basedir}/jboss/server/dev/deploy/rmp.ear/rmp.jar/META-INF/webservices.xml
 token=WEB-INF/ value=META-INF//
  | 


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-07-19 Thread jaikiran
Hi Thomas, 
 Thanks for the links. Will try to implement my own Configuration.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Advanced Documentation] - deploying aop and spring beans

2005-07-19 Thread markusydkvist
Folks!
I've been strugling for two days now, and I find no way of making this work:

A simple web-app with spring-beans. So far, all fine. Ok, so I want to add some 
advices to some of my spring-beans. Trouble. Ok, I could use spring-aop, but I 
really want to use Jboss-aop, wich I find much more competent.

What really puzzles me it the classloading stuff. In all tutorials of 
jboss-aop, it says that I could basically drop a xxx-aop.xml in my deploy. 
(after enabling load-time-weaving in AspectManager). After that I deploy my 
war. That really doesn't do it for me...

So I build an ear, with:

/META-INF/application.xml
some.aop
 . . |
/META-INF/jboss-aop.xml
/META-INF/lib/3pp.jar   //spring, log4j etc
   /mypackage/myClass.class   //my own stuff, incl. my aspects,servlets
some.war
 . . |
index.jsp
/META-INF/web.xml  jboss.xml
/META-INF/lib/3pp.jar   //spring, log4j etc
   /mypackage/myClass.class   //my own stuff, incl. my aspects,servlets


so I realize I have duplicated my 3pp's and own stuff. But really, I've tried 
all combinations of this, and I just can't seem to make it work in all cases, 
and it seems to me that either no weaving takes place, or if it does, I get in 
trouble when 3pp's are loaded: javassist.NotFound

Does Spring have its own classloading mechanisms that conflicts with jboss-aop?

Anyone that could point out a good resource for reading exactly how to package 
complex builds, how to use the manifest:class-path etc??

regards
/Marcus

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=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: mbeans that are the root cuase of the problem

2005-07-19 Thread gokusandwich
Hi,

I've got basically the same problem on Ubuntu Linux 5.04 (Hoary).  I was having 
the problem with 4.0.1sp1, so I just installed 4.0.3RC1, and the problem 
continues.  I am using maven 1.0.2 to build.

I was not having the problem yesterday (albeit, I was having another problem).  
I'm not exactly sure why the problem started either...  I was fiddling with 
some files, while trying to fix my last problem (a certain class did not seem 
to get recompiled or redeployed or just plain didn't get updated upon building 
it).  The only significant change I recall making was moving some stuff from my 
server/target directory, which I have since tried moving back.

My output was:

  | exception
  | 
  | javax.servlet.ServletException: Failed to invoke operation
  | 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOpByName(HtmlAdaptorServlet.java:279)
  | 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:87)
  | 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:62)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | 
  | root cause
  | 
  | MBeanException: null Cause: Incomplete Deployment listing:
  | 
  | --- Incompletely deployed packages ---
  | [EMAIL PROTECTED] { 
url=file:/home/chris/patentsafe/webui/target/patentsafe.war }
  |   deployer: MBeanProxyExt[jboss.web:service=WebServer]
  |   status: Deployment FAILED reason: URL 
file:/home/openeln/jboss-4.0.3RC1/server/default/tmp/deploy/tmp19495patentsafe.war/
 deployment failed
  |   state: FAILED
  |   watch: file:/home/chris/patentsafe/webui/target/patentsafe.war
  |   altDD: null
  |   lastDeployed: 1121790688658
  |   lastModified: 1121790688000
  |   mbeans:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss.web.deployment:id=-1153728128,war=patentsafe.war
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: URL 
file:/home/openeln/jboss-4.0.3RC1/server/default/tmp/deploy/tmp19495patentsafe.war/
 deployment failed
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.web.deployment:id=-1153728128,war=patentsafe.war
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: URL 
file:/home/openeln/jboss-4.0.3RC1/server/default/tmp/deploy/tmp19495patentsafe.war/
 deployment failed
  | 
  | 
  | 
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:166)
  | 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:149)
  | org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:243)
  | 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOpByName(HtmlAdaptorServlet.java:272)
  | 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:87)
  | 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:62)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | 
  | 


This happens when trying to build and re-deploy my project.


Any ideas at all??

Thanks,
Chris

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: PLEASE, help as I am really stuck getting SLSB to work

2005-07-19 Thread mickknutson
Please help someone! I am still having this issue, and can not seem to resolve 
this and I am running out of time to get the solution working...

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Jboss and eclipse linking

2005-07-19 Thread sundar2011
Hi,
 
I am trying continously for a week to tie up Jboss and eclipse by using the 
plugin Lomboz.
 I installed Jboss 3.2.5 
 Eclipse 3.0
 Lomboz 3.0.1

When i create the sample project, its giving an error saying
  1. missing library files jboss-boot.jar
  2. missing library files javax.serverdefinitions.
  3. Eclipse gives out error when try to use File  New 
 Lomboz EJB Creation Wizard. 
 I did the installation by following the steps in 
http://www.tusc.com.au/tutorial/html/chap1.html

Thank you
Mike


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB3] NoSuchMethodError upon remote invocation

2005-07-19 Thread Sam

Hi,

When attempting remote invocation of a stateless session bean... I'm  
getting the exception below.  Has anyone seen this?


Thanks,
Sam

Exception in thread main java.lang.NoSuchMethodError:  
org.jboss.aop.joinpoint.MethodInvocation.init([Lorg/jboss/aop/ 
advice/Interceptor;JLjava/lang/reflect/Method;Ljava/lang/reflect/ 
Method;Lorg/jboss/aop/Advisor;)V
at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke 
(StatelessRemoteProxy.java:68)

at $Proxy0.findAll(Unknown Source)
at tetrahex.pistol.ui.PistolController.getNiches 
(PistolController.java:53)

at tetrahex.pistol.ui.PistolApp.refreshNiches(PistolApp.java:94)
at tetrahex.pistol.ui.PistolApp.init(PistolApp.java:84)
at tetrahex.pistol.ui.PistolApp.main(PistolApp.java:239)



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: ServiceBindingManager Wiki Instructions

2005-07-19 Thread darranl
You should have a look at: -

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

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - TreeCache tuning question

2005-07-19 Thread newton
I want to cache a lot of objects of the same type (currently 250,000, probably 
approaching a million in a year or two). As I understand the way treecache 
works, if there are any changes on a given node, the entire contents of the 
node are replicated. If that's true, I probably need to distribute my objects 
around the tree so that smaller batches are replicated with every update.

So I was thinking about using the key of each object to contruct a more unique 
cache region. Say if the object's key was seattle, I'd store it in the cache 
region /s/e/a/t or /s/e/a/t/t/l/e or something.

The question: With TreeCache, is it more efficient to have a really deep tree 
with very few objects on each node, or a flatter tree with more objects on each 
node,  and what are the tradeoffs?

M.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: PLEASE, help as I am really stuck getting SLSB to work

2005-07-19 Thread jaikiran
Hi,
 Dont know much about applicationContext.xml. 
However, i see the entry
 
local/ConsumerManager

I guess, your bean is getting bound to the name: local/ConsumerManager
and your code is doing a lookup for ConsumerManager

Try doing a lookup on local/ConsumerManager

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: CVS

2005-07-19 Thread andrejusc
I have picked in Eclipse UI from listed branches under branch called 
JBoss_Portal_Branch_2_0 module called jboss-portal. What is wrong here?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: JNDI Look up returns null on Hibernate session factory

2005-07-19 Thread [EMAIL PROTECTED]
Somewhere on your classpath you have a hibernate.properties file which 
specifies a value for the 'hibernate.session_factory_name' property.

When using the HARDeployer you should endeavor not to use a 
hibernate.properties file.  That's what the MBean is for.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Stuck configuring TreeCacheAOP - am I missing something?

2005-07-19 Thread gregorypierce
Well after several days I give. TreeCacheAOP is just impossible for me to get 
set up given the information available so I'll have to overlook it for now. 
Hopefully the feedback below will help update the documentation for the next 
guy:

1) Documentation does a LOT of theory up front and never takes a simple 
non-bean case as an isolated case of making this architecture work. This makes 
it impossible to know what all the pieces are and whether or not the process is 
working. There needs to be a clear, clean - 
   a) here is a class
   b) here is a jboss-aop.xml
   c) here is what you need to put in a build script if you on JDK1.4 or 1.5, 
etc.
   d) here is a simple TreeCacheAop instantiation with a simple treecache.xml 
that uses local replication
   e) here is what you can do to troubleshoot if it doesn't work (for example I 
know mine is likely related to JbossAOP since its saying that non of my methods 
match the signature, but damned if I know what to do about it)

The docs commit the ultimate sin - no simple HelloWorld level example so you 
can make sure everything compiles and runs. Without this, you just have a level 
of complexity from multiple vendor products interacting. The regular TreeCache 
docs are fine. Page 3 (or section 4) puts up a simple case and explains what's 
going on in isolation. I can take that code, compile it, and run it and see 
what's going on.


2) Don't pay simple lip service to annotation, precompilation configuration. 
You'll have to learn JBossAOP and configuration to even begin to understand 
TreeCacheAOP and how it operates when a simple explanation of how the ant tasks 
work is sufficient.

3) If I need a special classpath put that in the configuration section as one 
ot the steps. 

4) The whole documentation should evolve as a series of lessons, not a 
description of features in action. One shouldn't be at the back of the 
documentation before you actually get something that at least resembles a 
lesson/setup

5) If you're going to use magic locations (META-INF/jboss-aop.xml) then you 
need to log when you didn't find stuff in those locations or if you did. My 
first pass through the docs say put the jboss-aop.xml file in this location. 
Cool, okay its not working. Is it finding the file? Is it not liking the file? 
Is it not liking my OSX environment? What's wrong with it - what should I 
expect to see if its actually working.

I'd love to write a How-To guide to getting this thing set-up. I've done it 
before for JBoss (I wrote chunks of Jboss docs years ago) and would do it 
again, but unless you actually understand the system and how it works - the 
documentation here is just not useful unless you're modifying the toy examples 
that the documentation and source tree provide. If I have to go digging through 
unit tests to figure out how stuff works - something is wrong.

After going through TreeCacheAop for a few days I have a clear understanding of 
how it works, and actually understand how I could implement it myself if needed 
by breaking up the object hierarchy into treepaths in a TreeCache and 
intercepting the get/set field access and mapping it to methods which update 
the cache. Its actually a very cool approach - if you can get it to work.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Exception while trying to get Stub from JBoss-Cluster

2005-07-19 Thread vignesh76
hi Hari,

In fact my problem was solved by placing jbossha.jar from server/all/lib to 
server/default/lib. Wonder what was your problem. Clustering doc seems to have 
missed out some small but important details.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Caused by: javax.naming.CommunicationException: Failed t

2005-07-19 Thread vignesh76
Hope JBOSS could add a note about this in the clustering documentation and save 
people from going through hell with this issue..

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=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: mbeans that are the root cuase of the problem

2005-07-19 Thread gokusandwich
Well, I've managed to (sort-of) resolve this problem...

I didn't actually figure out what the cause was, but by using an earlier 
revision of my project, I managed to get things back-to-normal.

But, shouldn't JBoss (and/or related components) be able to provide some 
friendlier, more meaningful error messages?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Stuck configuring TreeCacheAOP - am I missing something?

2005-07-19 Thread [EMAIL PROTECTED]
Hi, I am sorry that it is not working out for you. Your suggestions are 
valuable to me. How about you drop me an email (benwang at jboss dot com)? I 
will work with you to see where the gaps are. I am sure this will benefit 
others as well. I do have the plan to revamp the documentation in 1.2.4 release.

Just curious. Have you gone through the tutorial for TreeCacheAop? I thought it 
has a very good example of getting people started.

Thanks,

-Ben

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - where is JbossWS???

2005-07-19 Thread amatijaca

Hi there,

this may be a stupid post, but for the world of me, I can't figure out WHERE to 
download the JbossWS??  I thought that it would be in jboss 4.0x, but no, it's 
not there either -- the just seems to be the client -- I don't see the 
wscompile command anywhere in the distribution...

Thanks, Alex.


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re:

2005-07-19 Thread [EMAIL PROTECTED]
are you using cache loader? If you are, eviction only evict the in-memory copy. 
You still have the data persisted.

-Ben

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: JNDI Look up returns null on Hibernate session factory

2005-07-19 Thread nxbalas
I search from root of JBoss-4.0.2 and find no file by name hibernate.properties 
or any other (XML) file consisting of hibernate.session_factory_name property 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: EvictionPolicyConfig throwing null pointer exceptions in

2005-07-19 Thread [EMAIL PROTECTED]
No, I can't. If I have a default region, what is the default values for 
maxNodes and timeToLiveSeconds? User will get a big surprise.

What I can do though is adding a checking for default region. If it is not 
configured, I will throw a runtime exception. It has been checked in the code 
and will appear in 1.2.4.

Thanks,

-Ben

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Caused by: javax.naming.CommunicationException: Failed t

2005-07-19 Thread darranl
vignesh76, You have write access to the Wiki if you want to add some notes to 
an appropriate page or FAQ.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Which JBoss AS is in sync with JBoss Portal 2.2 head cod

2005-07-19 Thread andrejusc
Should I usually be able to compile that code from the head or it's not checked 
against compilation error? Tried latest one, but it cannot find 
org.jboss.portal.server.invocation.AttachmentKey class.



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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - JBoss Cache with JBoss 3.2.7 and Java 5

2005-07-19 Thread fgsouza
Deploying my application with JBoss 3.2.7 and Java 1.4.2 works just fine.
When i changed the VM to Java 5, i got the following error:

org.jboss.mx.util.MBeanProxyCreationException: Object name 
jboss.cache:service=TreeCache not found:
javax.management.InstanceNotFoundException: jboss.cache:service=TreeCache

Any ideas?
Best Regards,
Fabiano G. Souza

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: IdentityLock write lock

2005-07-19 Thread acoulson
Did you ever resolve this problem?  I am having the same problem and would be 
very interested in any solution.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Deploy POJO in Jboss

2005-07-19 Thread mbhatt
How Can I deploy POJO in Jboss which I can access using JNDI context lookup. 




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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - ajp13 ssl

2005-07-19 Thread Camron
I have JBoss fronted by Apache with SSL support but can't find any information 
on encrypting the data between Apache and JBoss/Tomcat using ajp13. Is there 
any support for this in the ajp13 protocol?

All the docs I see about securing JBoss point to direct connections to the 
server or just the SSL support that lets you see the SSL environment variables 
for use inside the servlets but nothing specific on encrypting traffic between 
the web server and the app server.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Problem with FindByPrimaryKey and JNDI

2005-07-19 Thread javcerty
Hello all,

I am new to JBoss and am having problems with EJBs currently. So hopefully this 
is the right forum for me to ask my Q.

I am trying to deploy J2EE 1.4 Tutorial's  Duke  banks Application on JBOSS 4.0
I am using RHEL 4 WS as my OS

I have configured Oracle 9i as the DB and overidden the default Hibernate 
settings of JBoss.

While doing this, I MAY have messed up the JNDI settings or something - but am 
totally lost at this point.

When I start JBoss I get this Warning
==
2005-07-19 16:57:14,842 WARN  [org.jboss.ejb.StatefulSessionContainer] No 
resource manager found for java:/OracleDS


ALSO, 
I get this error (mentioned at the end) - when I try to Query any EJB

(I know that the table exists and has the PK constraint defined and I could 
find the data by the configured user/password.)

Any pointers would be of great help !!


2005-07-19 16:57:35,824 INFO  [STDOUT] Debug: AccountControllerBean 
getAccountsOfCustomer
  | 2005-07-19 16:57:35,825 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.CustomerBean#findByPrimaryKey]
 Executing SQL: SELECT t0_CustomerBean.customer_id FROM CUSTOMER 
t0_CustomerBean WHERE t0_CustomerBean.customer_id=?
  | 2005-07-19 16:57:35,848 ERROR 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.CustomerBean#findByPrimaryKey]
 Find failed
  | java.sql.SQLException: ORA-00942: table or view does not exist


=


Thanks in advance

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-19 Thread Cinimod
the .jar and .war are both contained in the same ear file.

Any ideas how to solve this?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - resource adapter service configuration

2005-07-19 Thread tulipsl
I created a connector to external resources through socket. I am not sure how 
to setup the socket timeout (socket.setSoTimeout) in the configuration file. I 
saw both blocking-timeout-millis and idle-timeut-minutes, but none of them seem 
to be the socket timeout. 

Any help is highly appreciated!

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - LDAP integration

2005-07-19 Thread sandeep
Hi,

I was curious as to if we can integrate the JBoss portal platform with existing 
LDAP to get user information.

Thanks,
Sandeep


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Login and Register Portlet

2005-07-19 Thread asif_technical
Hi Guys,

I am new to jboss portlet.I installed successfully jboss forum portlet.Its 
working fine but I need register and login modules also.Do you have any example 
portlets where I can plug in my discussion portal.

Asif Shariff

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Document management functionality?

2005-07-19 Thread kukeltje
There seems to be a nice (reference) implementation of the java content 
repository spec (JSR 170) Any change of the portal supporting this spec for 
CMS/DMS? It seems to be important for the company I work for if they want to 
start using a product


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Unable to execute methods on MBean proxy

2005-07-19 Thread eldiosyeldiablo
I have implemented a simple MBean and tested it using the JMX Console but I get 
an error when I try to execute any method programatically from my ejb session.

The error is 
[STDOUT] java.lang.reflect.UndeclaredThrowableException
  | 18:39:36,931 INFO  [STDOUT] at $Proxy57.getDbDriver(Unknown Source)
  | 18:39:36,932 INFO  [STDOUT] at 
com.relevant.e3.ejb.item.ItemBO.getDbDriverMBean(ItemBO.java:41)
  | 18:39:36,932 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 18:39:36,932 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 18:39:36,932 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 18:39:36,932 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 18:39:36,932 INFO  [STDOUT] at 
com.relevant.e3.ejb.businesscontroller.BusinessController.execute(BusinessController.java:293)
  | 18:39:36,932 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 18:39:36,933 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 18:39:36,933 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 18:39:36,933 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 18:39:36,933 INFO  [STDOUT] at 
org.jboss.invocation.Invocation.performCall(Invocation.java:345)
  | 18:39:36,933 INFO  [STDOUT] at 
org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:584)
  | 18:39:36,933 INFO  [STDOUT] at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:123)
  | 18:39:36,933 INFO  [STDOUT] at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
  | 18:39:36,933 INFO  [STDOUT] at 
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:294)
  | 18:39:36,933 INFO  [STDOUT] at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
  | 18:39:36,934 INFO  [STDOUT] at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
  | 18:39:36,934 INFO  [STDOUT] at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
  | 18:39:36,934 INFO  [STDOUT] at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
  | 18:39:36,934 INFO  [STDOUT] at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
  | 18:39:36,934 INFO  [STDOUT] at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  | 18:39:36,934 INFO  [STDOUT] at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
  | 18:39:36,934 INFO  [STDOUT] at 
org.jboss.ejb.Container.invoke(Container.java:870)
  | 18:39:36,934 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 18:39:36,934 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 18:39:36,935 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 18:39:36,935 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 18:39:36,935 INFO  [STDOUT] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
  | 18:39:36,935 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | 18:39:36,935 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | 18:39:36,935 INFO  [STDOUT] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | 18:39:36,935 INFO  [STDOUT] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | 18:39:36,935 INFO  [STDOUT] at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
  | 18:39:36,935 INFO  [STDOUT] at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
  | 18:39:36,935 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 18:39:36,936 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 18:39:36,936 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 18:39:36,936 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 18:39:36,936 INFO  [STDOUT] at 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
  | 18:39:36,936 INFO  [STDOUT] at 
sun.rmi.transport.Transport$1.run(Transport.java:153)
  | 18:39:36,936 INFO  [STDOUT] at 
java.security.AccessController.doPrivileged(Native Method)
  | 

[JBoss-user] [JNDI/Naming/Network] - Problem in porting of Swing/ jboss app from Jboss-3.2.2 to J

2005-07-19 Thread Biswojit
Hi All 

I am trying to port an application from jboss3.2.2 to jboss4.0.2 
but the Swing client can't get access to jboss AS-4.0.2 but it works fine with 
3.2.2. It seems a JNDI problem... 
If anybody has got any idea please let me know 

Thanks 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >