[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: SSL issue on JBoss 5

2008-12-28 Thread jaikiran
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198684#4198684

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198684
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss startup extremely Slow Mac OS X 10.5.5...

2008-12-28 Thread jaikiran
Which vendor of Java are you using? And did you find any place in the logs 
where you see substantial time being taken up? 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198683#4198683

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198683
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JBoss 5 deployement problem

2008-12-28 Thread jaikiran
anonymous wrote : ervice=DataSourceBinding{Create:** NOT FOUND Depends on 
'jboss.jca:name=studProjectDS
  | ,service=DataSourceBinding' **}
  | 
  | 
  | 

Have you deployed the datasource (the -ds.xml) which configures your 
studProjectDS?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198681#4198681

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198681
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - SSL issue on JBoss 5

2008-12-28 Thread venuwin
Hi,

I have been using Jboss 4.0.5 for about 2 years.
Now we would like to give it a try with JBoss 5.

The same configuration in server.xml of JBoss 4.0.5 fails to work with Jboss 5.

This is the error when i try to load a HTTPS URL :

In the browser's address bar i can see :

https://192.168.157.18:8443/shops/myapp/secure?cmd=loginOption&cat=__createAcc



Access Denied (connect_method_denied)

Your request attempted a CONNECT to a port "8443" that is not permitted by 
default.
This is typically caused by an HTTPS URL that uses a port other then the 
default of 443.

For assistance, contact your network support team. 

My JBoss 4.0.5 server.xml snippets :
  
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 

Server.xml snippet from Jboss 5 :
  
  |
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 

Any help would be appreciated. Is there any difference between version 4.0.5 
and 5 with respect to configuration ?

And one more thing: When i remove the port number 8443 from the URL, it lands 
in the correct page. This fails only if i come from a non HTTPS URL.

Thanks
Venu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198679#4198679

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - getting datasource jndi?

2008-12-28 Thread ramujava1
i have written jdbc connection in oracle-ds.xml file how can i get DataSource 
connection using JNDI in a stateless session bean  class with out using xml 
file/entity/JPA?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198678#4198678

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - how can i change port number of JBOSS server?

2008-12-28 Thread ramujava1
how can i change port number of JBOSS server?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198677#4198677

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198677
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Facing Generated servlet error: exceeding the 65535 byte

2008-12-28 Thread darshanparekh
Peter,

if i change to Jikes to compile JSP pages in web.xml, will that resolve the 
problem.

regards,
Darshan Parekh

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198673#4198673

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 1.4.2.GA released

2008-12-28 Thread gaohoward
Thanks, Tim.

I didn't put the doc entries into the docs/index.html, so they didn't show up 
on the page. Now I corrected it and it should be fine.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198672#4198672

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198672
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error setup with both MySQL and Hypersonic

2008-12-28 Thread fgeorges
anonymous wrote : When I install jBPM with Hypersonic instead, I can start the 
server 
  | without problem, I log in, I go to the websale process, I start a new 
  | instance, I click examine, I fill in the form and I click "Evaluate" 
  | to get to the next step. And there I get an error, see the screenshot 
  | at: http://www.fgeorges.org/tmp/jbpm-hypersonic-evaluate-bug.jpg (the 
  | exception message is "Error completing task: An exception of type 
  | "org.jbpm.graph.def.DelegationException" was thrown. The message is: 
  | Cannot open connection".)

I have the exact same problem on Mac OS X.

-- 
Florent Georges 
http://www.fgeorges.org/



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198670#4198670

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198670
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - missing client libraries when setting up JBossWS Testsuite E

2008-12-28 Thread davidyu8888
Hello,

I am new to JBossWS.
I have installed it successfully on my machine.

I am using jboss-5.0.0.GA and jbossws native 3.0.4 GA. I am trying to set up my 
Eclipse IDE(3.4.0) with the JBossWS Testsuite Eclispe Project.

>From the root directory for the JBoss WS Native Binary Distributaiton, I run 
>"ant eclipse", for the compiling target, I encountered about 54 compiling 
>errors, most of them a complaining about missing EJB3 related 
>classes/jars/annotations.

When I check the class path for \tests\ant-import\build-testsuite.xml, I found that several jars needed 
for compilation are missing from related directories for my jboss AS. 
Especially from ${jboss.client}.

Not quite sure how to proceed in this case?Where should I find the missing 
jars? Should I download the right version of JBoss AS so that all EJB3 related 
jars are included? 

See below for examples of the compilation errors:

amples\advanced\retail\OrderAdmin.java:29: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote
[javac]  ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmt.java:24: cannot find symbol
[javac] symbol  : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmt.java:29: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote
[javac]  ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmtBean.java:25: cannot find symbol
[javac] symbol  : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\OrderMgmtBean.java:43: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac]  ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmt.java:24: cannot find symbol
[javac] symbol  : class Remote
[javac] location: package javax.ejb
[javac] import javax.ejb.Remote;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmt.java:29: cannot find symbol
[javac] symbol: class Remote
[javac] @Remote
[javac]  ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\cc\CCVerificationBean.java:24: cannot find symbol
[javac] symbol  : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\cc\CCVerificationBean.java:31: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac]  ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmtBean.java:24: cannot find symbol
[javac] symbol  : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\advanced\retail\profile\ProfileMgmtBean.java:29: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac]  ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:28: package javax.annotation.security does not e
xist
[javac] import javax.annotation.security.RolesAllowed;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:29: cannot find symbol
[javac] symbol  : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:47: cannot find symbol
[javac] symbol: class Stateless
[javac] @Stateless
[javac]  ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\context\EndpointEJB.java:53: cannot find symbol
[javac] symbol: class RolesAllowed
[javac] @RolesAllowed("friend")
[javac]  ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\eardeployment\EJB3Bean.java:24: cannot find symbol
[javac] symbol  : class Stateless
[javac] location: package javax.ejb
[javac] import javax.ejb.Stateless;
[javac] ^
[javac] C:\Java\jbossws-native-bin-dist\tests\java\org\jboss\test\ws\jaxws\s
amples\eardeplo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss startup extremely Slow Mac OS X 10.5.5...

2008-12-28 Thread mburbidg
JBoss Version: 4.2.3
JRE Version: 1.5.0_16

I downloaded and installed JBoss 4.2.3 on my Macintosh OS X 10.5.5. When I 
start JBoss it takes about 2 minutes to start. I have run JBoss on this Mac 
before without problems. This is a clean version of JBoss. I have installed no 
new components and have not changed any settings for the default configuration.

I've tried other versions of JBoss (4.2.1, 5.0) and they all now exhibit this 
behavior on this Macintosh.

While JBoss is starting up, it is using up almost 100% of the CPU so it is not 
like it is waiting for something.

I turned on DEBUG logging and noticed that for every jar that it is deploying 
it prints out the following and then pauses for 5-10 seconds before more is 
output to the log.


  | 2008-12-28 13:38:39,235 DEBUG [org.jboss.deployment.JARDeployer] No xml 
files found
  | 2008-12-28 13:38:39,235 DEBUG [org.jboss.deployment.MainDeployer] using 
deployer org.jboss.deployment.jardeplo...@31f16027
  | 2008-12-28 13:38:39,239 DEBUG [org.jboss.deployment.JARDeployer] looking 
for nested deployments in : 
file:/Users/mburbidg/ambsoft/checklist/jboss-4.2.3.GA/server/default/deploy/ejb3.deployer/jboss-ejb3.jar
  | 

Does anyone have any ideas what may be causing JBoss to startup so slowly. I'm 
trying to do development on this machine, but it is unusable this way.

Thanks,
Michael-

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198667#4198667

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to get the same portlet security context in servlet

2008-12-28 Thread PMN
Also you need to turn off the CMS Publish/Approval Workflow feature

The CMS Publish/Approval Workflow feature can be deactivated by commenting out 
the ApprovePublishWorkflow
attribute of the portal:service=CMS mbean in 
portal-cms.sar/META-INF/jboss-service.xml:

  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198664#4198664

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198664
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - EJB3 relationship doc in Wiki

2008-12-28 Thread Wolfgang Knauf
Hi community,

As EJB3 relationship related questions come up quite often in this forum, I 
created a wiki document for EJB3 relationship with a collection of common 
errors, design and coding tips:
http://www.jboss.org/community/docs/DOC-13222

Would be great if someone could comment on it. There are probably a lot of 
improvements (and hopefully no errors ;-) ).

I added this to the EJB FAQ page at 
http://www.jboss.org/community/docs/DOC-10325

Best regards

Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198659#4198659

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198659
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - JBoss 5 deployement problem

2008-12-28 Thread Hatem1982
Hi all,
I am trying to deploy JEE application using JBOSS 5 GA. Under JBoss 4.x.x the 
application works fine but under JBoss 5 GA I get the following error in the 
server log:



*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual 
State}
  | 
  | jboss.j2ee:jar=StudProject.jar,name=JPQLManager,service=EJB3
  |  -> {Described:** 
UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **}
  | 
  | jboss.j2ee:jar=StudProject.jar,name=NativeSqlManager,service=EJB3
  |  -> {Described:** 
UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **}
  | 
  | persistence.unit:unitName=#StudProject
  |  -> jboss.jca:name=studProjectDS
  | ,service=DataSourceBinding{Create:** NOT FOUND Depends on 
'jboss.jca:name=studProjectDS
  | ,service=DataSourceBinding' **}
  | 
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | jboss.jca:name=studProjectDS
  | ,service=DataSourceBinding -> ** NOT FOUND Depends on 
'jboss.jca:name=studProjectDS
  | ,service=DataSourceBinding' **
  | 
  |  
-> ** UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **
  | 
  |  -> 
** UNRESOLVED Demands 'persistence.unit:unitName=#StudProject' **
  | 
  | 
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:665)
  | at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
  | at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
  | at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  | at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  | at java.lang.Thread.run(Thread.java:619)
  | 

I searched the forum and found the same problem in another thread (using 
another JBoss version) and tried all the sugessted solutions but I still have 
the same problem.

Thanks in advance for any help

Hatem

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198658#4198658

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to get the same portlet security context in servlet

2008-12-28 Thread PMN
 
  | import org.jboss.portal.cms.impl.interceptors.ACLInterceptor;
  | ...
  | // turn off CMS ACL control
  | ACLInterceptor.turnOff();
  | 

Hope this helps!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198656#4198656

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Cannot create test account on portal demo site

2008-12-28 Thread thomas.he...@jboss.com
I would recommend to use the JBoss Portal 2.7 bundle version.
You just need to unzip it and start run.sh (or run.bat)

http://downloads.sourceforge.net/jboss/jboss-portal-2.7.0.GA-bundled.zip?modtime=1225318824&big_mirror=1

We still need to update the demo portal...



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198653#4198653

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: Don't want to hard code the dynamic IP for @RemoteBindin

2008-12-28 Thread jaikiran
"ron.si...@jboss.com" wrote : 
  | 
  | Welcome to JBoss, by the way!
  | 
  | -Ron

Thank you Ron :-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198651#4198651

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: ClassNotFoundException while lookup a Service

2008-12-28 Thread jaikiran
Please post the entire exception stacktrace. And also post the output of the 
following command:

jar -tf myapp.ear

where myapp.ear is the name of your ear file

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198650#4198650

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss 5, Hot Re-Deployment, display old content, Work Di

2008-12-28 Thread jaikiran
anonymous wrote : However, once the content in the war file has changed and is 
copied over the old .WAR file, the original content is still displayed (much 
like it is storing it in cache). 

What type of contents? JSP files?

anonymous wrote : 
  | -Modify and/or "Touching" the web.xml within the application I am trying to 
deploy.
  | 
  | * None of these trigger the refreshing of the "work" directory. 

See if this similar discussion helps 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146078. I don't have 
my local JBoss setup (5.0 GA) in front me right now, so i can point you to the 
exact file which you might have to modify (the files have been moved to 
"deployers" folder in JBoss-5 i guess). But i guess, that post should atleast 
lead you in the right direction. Let us know if it doesn't.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198648#4198648

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss messaging help

2008-12-28 Thread venuwin
Hi people,

I took JBoss 5 and unzipped it. Started it in "all" mode. Fine.

Then i changed messaging-service.xml under messaging folder to have one block


  | 
  | 
  |  
  | 
  | 
  |  
  |   
  |  
  | 
  | 
  | 
  | java:/jaas/messaging
  | 
  | 
  | suckpass  
  | 
  | 
  | 

The moment i added this mbean block the server log is as follows,


  | 
  | 
  | 
  | E:\jboss5\jboss-5.0.0.GA\bin>run -c all
  | 
===
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: E:\jboss5\jboss-5.0.0.GA
  | 
  |   JAVA: C:\Program Files\Java\jdk1.5.0_08\bin\java
  | 
  |   JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m 
-XX:MaxPermSize=256m -Dorg.jboss.resol
  | ver.warning=true -Dsun.rm
  | i.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360
  | 
  |   CLASSPATH: E:\jboss5\jboss-5.0.0.GA\bin\run.jar
  | 
  | 
===
  | 
  | 12:44:00,400 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
  | 12:44:00,400 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA 
(build: SVNTag=JBoss_5_0_0_GA 
  | date=200812041714)
  | 12:44:00,400 INFO  [ServerImpl] Bootstrap URL: null
  | 12:44:00,400 INFO  [ServerImpl] Home Dir: E:\jboss5\jboss-5.0.0.GA
  | 12:44:00,400 INFO  [ServerImpl] Home URL: file:/E:/jboss5/jboss-5.0.0.GA/
  | 12:44:00,400 INFO  [ServerImpl] Library URL: 
file:/E:/jboss5/jboss-5.0.0.GA/lib/
  | 12:44:00,400 INFO  [ServerImpl] Patch URL: null
  | 12:44:00,400 INFO  [ServerImpl] Common Base URL: 
file:/E:/jboss5/jboss-5.0.0.GA/common/
  | 12:44:00,400 INFO  [ServerImpl] Common Library URL: 
file:/E:/jboss5/jboss-5.0.0.GA/common/lib/
  | 12:44:00,400 INFO  [ServerImpl] Server Name: all
  | 12:44:00,400 INFO  [ServerImpl] Server Base Dir: 
E:\jboss5\jboss-5.0.0.GA\server
  | 12:44:00,400 INFO  [ServerImpl] Server Base URL: 
file:/E:/jboss5/jboss-5.0.0.GA/server/
  | 12:44:00,400 INFO  [ServerImpl] Server Config URL: 
file:/E:/jboss5/jboss-5.0.0.GA/server/all/conf/
  | 12:44:00,400 INFO  [ServerImpl] Server Home Dir: 
E:\jboss5\jboss-5.0.0.GA\server\all
  | 12:44:00,400 INFO  [ServerImpl] Server Home URL: 
file:/E:/jboss5/jboss-5.0.0.GA/server/all/
  | 12:44:00,400 INFO  [ServerImpl] Server Data Dir: 
E:\jboss5\jboss-5.0.0.GA\server\all\data
  | 12:44:00,400 INFO  [ServerImpl] Server Library URL: 
file:/E:/jboss5/jboss-5.0.0.GA/server/all/lib/
  | 12:44:00,400 INFO  [ServerImpl] Server Log Dir: 
E:\jboss5\jboss-5.0.0.GA\server\all\log
  | 12:44:00,400 INFO  [ServerImpl] Server Native Dir: 
E:\jboss5\jboss-5.0.0.GA\server\all\tmp\native
  | 12:44:00,400 INFO  [ServerImpl] Server Temp Dir: 
E:\jboss5\jboss-5.0.0.GA\server\all\tmp
  | 12:44:00,415 INFO  [ServerImpl] Server Temp Deploy Dir: 
E:\jboss5\jboss-5.0.0.GA\server\all\tmp\depl
  | oy
  | 12:44:01,880 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/E:/jboss5/jboss-5.0.0.GA
  | /server/all/conf/bootstra
  | p.xml
  | 12:44:02,956 INFO  [VFSCacheFactory] Initializing VFSCache 
[org.jboss.virtual.plugins.cache.Iterable
  | TimedVFSCache]
  | 12:44:02,971 INFO  [VFSCacheFactory] Using VFSCache 
[IterableTimedVFSCache{lifetime=1800, resolution
  | =60}]
  | 12:44:04,842 INFO  [CopyMechanism] VFS temp dir: 
E:\jboss5\jboss-5.0.0.GA\server\all\tmp
  | 12:44:04,842 INFO  [ZipEntryContext] VFS force nested jars copy-mode is 
enabled.
  | 12:44:08,785 INFO  [ServerInfo] Java version: 1.5.0_08,Sun Microsystems Inc.
  | 12:44:08,785 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_08-b03,Sun Microsystems In
  | c.
  | 12:44:08,785 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 12:44:08,894 INFO  [JMXKernel] Legacy JMX core initialized
  | 12:44:15,923 INFO  [ProfileServiceImpl] Loading profile: all from: 
org.jboss.system.server.profilese
  | rvice.repository.Serializ
  | abledeploymentreposit...@ee558f(root=E:\jboss5\jboss-5.0.0.GA\server, 
key=org.jboss.profileservice.s
  | pi.profile...@b8292623[do
  | main=default,server=default,name=all])
  | 12:44:15,923 INFO  [ProfileImpl] Using 
repository:org.jboss.system.server.profileservice.repository.
  | SerializableDeploymentRep
  | osit...@ee558f(root=E:\jboss5\jboss-5.0.0.GA\server, 
key=org.jboss.profileservice.spi.profile...@b82
  | 92623[domain=default,serv
  | er=default,name=all])
  | 12:44:15,923 INFO  [ProfileServiceImpl] Loaded profile: 
profilei...@97aaa6{key=org.jboss.profileserv
  | ice.spi.profile...@b82926
  | 23[domain=default,server=default,name=all]}
  | 12:44:31,104 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
  | 12:44:47,220 INFO  [NativeServerConfig] JBoss Web Services - Stack Native 
Core
  | 12:44:47,220 INFO  [NativeServerConfig] 3.0.4.SP1
  | 12:45:08,511 INFO  [CorbaNamingService] CORBA Naming Started
  | 12:45:14

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to avoid starting JBoss AS, if already running

2008-12-28 Thread mrfarhankhan
Thanks for your prompt response. Please see the server logs as following. My 
requirement is that if the server is already running, then another instance 
should not start, instead it should give a message and exit.


  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=B
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=C
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=D
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=ex
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq:service=Invoker
  State: CONFIGURED
  I Depend On:
jboss.mq:service=TracingInterceptor
jboss:service=Naming
  Depends On Me:
jboss.mq:service=InvocationLayer,type=HTTP
jboss.mq:service=InvocationLayer,type=JVM
jboss.mq:service=InvocationLayer,type=UIL2

ObjectName: jboss.mq:service=TracingInterceptor
  State: CONFIGURED
  I Depend On:
jboss.mq:service=SecurityManager
  Depends On Me:
jboss.mq:service=Invoker

ObjectName: jboss.mq:service=SecurityManager
  State: CONFIGURED
  I Depend On:
jboss.security:service=JaasSecurityManager
jboss.mq:service=DestinationManager
  Depends On Me:
jboss.mq.destination:service=Topic,name=testTopic
jboss.mq.destination:service=Topic,name=securedTopic
jboss.mq.destination:service=Topic,name=testDurableTopic
jboss.mq.destination:service=Queue,name=testQueue
jboss.mq:service=TracingInterceptor
jboss.mq.destination:service=Queue,name=DLQ

ObjectName: jboss.mq.destination:service=Queue,name=DLQ
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

ObjectName: jboss.mq:service=InvocationLayer,type=JVM
  State: CONFIGURED
  I Depend On:
jboss.mq:service=Invoker

ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
  State: CONFIGURED
  I Depend On:
jboss.mq:service=Invoker

ObjectName: jboss.mq:service=InvocationLayer,type=UIL
  State: CONFIGURED
  I Depend On:
jboss:service=Naming

ObjectName: jboss.mq:service=InvocationLayer,type=UILXA
  State: CONFIGURED
  I Depend On:
jboss:service=Naming

ObjectName: jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFacto
ry
  State: CONFIGURED
  I Depend On:
jboss:service=Naming

ObjectName: jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionF
actory
  State: CONFIGURED
  I Depend On:
jboss:service=Naming

ObjectName: jboss.jms:alias=QueueConnectionFactory
  State: CONFIGURED
  I Depend On:
jboss:service=Naming

ObjectName: jboss.jms:alias=TopicConnectionFactory
  State: CONFIGURED
  I Depend On:
jboss:service=Naming

ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFacto
ry
  State: CONFIGURED
  I Depend On:
jboss:service=invoker,type=jrmp
jboss.jmx:type=adaptor,name=Invoker
jboss:service=Naming
  Depends On Me:
jboss.admin:service=PluginManager
jboss.jmx:type=adaptor,name=MBeanProxyRemote,protocol=jrmp

ObjectName: jboss.jmx:type=adaptor,name=MBeanProxyRemote,protocol=jrmp
  State: CONFIGURED
  I Depend On:
jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory

ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
  State: CONFIGURED
  I Depend On:
jboss:service=Naming

ObjectName: jboss:service=Mail
  State: CONFIGURED
  I Depend On:
jboss:service=Naming

ObjectName: jboss:service=Hypersonic,database=localDB
  State: FAILED
  Reason: java.sql.SQLException: The database is already in use by another proce
ss: org.hsqldb.persist.niolockf...@e69accf7[file =C:\jboss-4.2.2.GA\server\defau
lt\data\hypersonic\localDB.lck, exists=true, locked=false, valid=false, fl =null
]: java.lang.Exception:  java.io.IOException: The process cannot access the file
 because another process has locked a portion of the file : C:\jboss-4.2.2.GA\se
rver\default\data\hypersonic\localDB.lck
  Depends On Me:
jboss.jca:service=ManagedConnectionFactory,name=DefaultDS

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=Hypersonic,database=localDB
  State: FAILED
  Reason: java.sql.SQLException: The database is already in use by another proce
ss: org.hsqldb.persist.niolockf...@e69accf7[file =C:\jboss-4.2.2.GA\server\defau
lt\data\hypersonic\localDB.lck, exists=true, locked=false, valid=false, fl =null
]: java.lang.Exception:  java.io.IOException: The process cannot access the file
 because another process has locked a portion of the file : C:\jboss-4.2.2.GA\se
rver\default\data\hypersonic\localDB.lck
  Depends On Me:
jboss.jca:service=ManagedConnectionFactory,name=DefaultDS

ObjectName: jboss.remoting:service=Connector,transport=socket
  State:

[jboss-user] [Advanced Documentation] - JBoss 5.0.0 AS in cluster - problem

2008-12-28 Thread taral
hi,
i want to configure JBoss 5.0.0 in clustered environment.
it's simple PoC. I want to set up two nodes in one cluster.

but i am facing following exception while running second instance

13:06:44,550 ERROR [AbstractKernelController] Error installing to Create: 
name=TransactionManager state=Configured
com.arjuna.ats.arjuna.exceptions.FatalError: 
[com.arjuna.ats.arjuna.recovery.TransactionStatusManager_9] - Could not get uniq
ue port.
at 
com.arjuna.ats.arjuna.recovery.TransactionStatusManager.start(TransactionStatusManager.java:185)
at 
com.arjuna.ats.arjuna.recovery.TransactionStatusManager.(TransactionStatusManager.java:72)
at com.arjuna.ats.arjuna.coordinator.TxControl.(TxControl.java:355)
at 
com.arjuna.ats.jbossatx.jta.TransactionManagerService.create(TransactionManagerService.java:178)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at 
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at 
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControlle
rContextAction.java:241)
at 
org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContext
Action.java:109)
at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.
java:70)
at 
org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
at 
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
at 
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextActio
n.java:62)
at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
at 
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java
:62)
at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at 
org.jboss.dependency.plugins.AbstractControl

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5 deployment issue

2008-12-28 Thread jaikiran
"venuwin" wrote : 
  | Then i changed messaging-service.xml under messaging folder to have one 
block 
  |   |  
  |   | 
  |   | 
  |   |  
  |   |   
  |   |  
  |   | 
  |   | 
  |   | 
  |   | java:/jaas/messaging
  |   | 
  |   | 
  |   | suckpass  
  |   |   
  | 
  | The moment i added this mbean block the server log is as follows, 
  | 
  | 
  | And i followed the URL : 
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.1.Beta1/html/configuration.html
  | 
  | But of no use. Please help.
  | 
  | Thanks
  | Venu

I read that messaging documentation. I am not sure its updated. You don't have 
to add that block to the messaging-service.xml. It already has security 
configured through this line:

  |   jboss.messaging:service=SecurityStore

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198193#4198193

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198193
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - many-to-many problem when passing collection

2008-12-28 Thread mravikrish
 Hi,
 I am ramu, i am getting a problem when persisting data in many to many 
mapping.

vendor>industry is many to many mapping

I am taking two industries objects and passing them to one vendor as a 
collection

Vendor v = manager.find(Vendor.class, 3);
Industry i = manager.find(Industry.class, 2);
Industry i1 = manager.find(Industry.class, 3);
List l1 = new ArrayList();
l1.add(i);
l1.add(i1);
v.setIndustries(l1);
v.getIndustries().add(i);
i.getVendors().add(v);
manager.persist(v);

it is adding only one row in join table.but it should add two records for 
vendor 3

any help please
Thank you
KRamu


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198212#4198212

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198212
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Facelets Problem with a builded JBoss 5.0.0.CR1

2008-12-28 Thread pavel.myshkin
Must use Facelets 1.1.15 for JBoss AS 5.0.0.GA.

Works fine with Richfaces 3.2.2.SR1. Tested.

Your WEB-INF\lib may have only these:
commons-beanutils
commons-codec
commons-digester
commons-lang
commons-validator
jsf-facelets
oro
richfaces-api
richfaces-impl
richfaces-ui

and MUST NOT HAVE xerces, commons-logging, xml-apis,jsf-impl,jsf-api.

Enjoy!

More info in http://blog.javarnd.com/

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198201#4198201

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198201
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: ganymede and jboss tool 3 problem with seam projet

2008-12-28 Thread max.ander...@jboss.com
Please report in jira with *exact* steps on how you created and deployed it - I 
cannot reproduce this when I run Seam WTP wizard, using Seam 2.0. Both WAR and 
EAR is deployed fully.

Also try and do a full rebuild of your project, to see if it is some issue with 
the files not being ready before the first publishing occurred.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198199#4198199

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198199
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam EAR deployment problem

2008-12-28 Thread max.ander...@jboss.com
ooh - Extremely important to know that you did not create this project with 
Seam WTP wizard; makes a *big* difference.

Please test if you have problems if you use the WTP wizard so we know where to 
look for the problem.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198198#4198198

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198198
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Exception with maven-jbossaop-plugin

2008-12-28 Thread stale.peder...@jboss.org
hi, if you could make a reproduceable case i could try to solve your problem, 
but from the info you've given me i cant see what the problem can be. - it 
should work :) 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198208#4198208

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198208
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Help Needed: Jboss 5.0.0.GA giving Error while runing i

2008-12-28 Thread jaikiran
You got the answer here 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147764

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198207#4198207

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198207
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Cannot create test account on portal demo site

2008-12-28 Thread ziggy25

I am trying to register for a test account on the demo site but for some reason 
the captcha image is not showing up. 

Here is the link to the demo http://portal.demo.jboss.com/portal/default/default

Should the captcha image appear? Its been like this for several days and thus i 
have not been able to register for a test admin account. 

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198647#4198647

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198647
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Facing Generated servlet error: exceeding the 65535 byte

2008-12-28 Thread PeterJ
I noticed that you are running AirCorp. You do know that you should be able to 
get support from Unisys for that, don't you?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198353#4198353

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198353
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - building jboss or microkernel question

2008-12-28 Thread deanhiller
I was told this was a user question so was directed to this forum

original post:
http://www.jboss.com/index.html?module=bb&op=viewforum&f=61

I was wanting to build JBoss from all source, but it unfortunately sucks ALOT 
of binaries in and the ones I wanted to fiddle with ended up in microkernel so 
I checked that out of SVN(since there is no released 2.0.2 file available), and 
that again sucked in more binaries.  It seems quite impossible or at least alot 
of work to build JBoss from source.  Is there instructions somewhere or a good 
article so I am actually building it all the way from the deployers...

http://repository.jboss.org/maven2/org/jboss/deployers/

It looks like I have to build those, then deliver to microkernel, build that 
and then deliver to JBoss 5.0 and then build that  There has got to be an 
easier way?  Is there an easy way to suck in source maybe or something for 
everything from the JBoss 5.0 build so that I could change, rebuild, change, 
rebuild and basically fiddle with JBoss to figure out why my stuff doesn't work?

thanks,
Dean




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198361#4198361

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198361
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Enabling HTTP Basic Authentication for EJB3 web service

2008-12-28 Thread alessio.sold...@jboss.com
https://jira.jboss.org/jira/browse/JBWS-1309

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198343#4198343

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198343
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Facing Generated servlet error: exceeding the 65535 byte

2008-12-28 Thread PeterJ
What do you have the PermGen size set to? You should increase it, possibly by 
50%.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198352#4198352

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198352
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to avoid starting JBoss AS, if already running

2008-12-28 Thread PeterJ
There is no way to do this within JBoss AS itself. However, the run script is, 
after all, just a script. You can modify the script to test if another instance 
is running first, either by examining the existing processes or using a "lock" 
file. How you do either of those depends on the operating system.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198354#4198354

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198354
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 1.4.2.GA released

2008-12-28 Thread timfox
Congrats on your first release Howard :)

One small thing - could you also upload single page html and pdf versions of 
the documentation to the downloads page, like we do for the other public 
releases?

http://www.jboss.org/jbossmessaging/docs/index.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198646#4198646

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: No-storage nodes (coherence-like feature) question

2008-12-28 Thread kenees
Hi RS, I think you can try the TcpDelegatingCacheLoader. Although I didn't try 
it yet, the behavior of this loader described in the user guide may be is the 
one you want.

I quote some of the description in the user guide for this loader as below:
anonymous wrote : "This cache loader allows to delegate loads and stores to 
another instance of JBoss Cache, which could reside (a) in the same address 
space, (b) in a different process on the same host, or (c) in a different 
process on a different host. 
  | "

Hope this would hlep you.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198642#4198642

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - No-storage nodes (coherence-like feature) question

2008-12-28 Thread rs1050
Hi,

I am trying to assess JBoss Cache capabilities. My app is a web site, and I 
plan to cache the data in a cluster of external cache jvms (partitioned cache, 
using coherence language). I would like not to store anything in the app server 
JVM itself, making it a no-storage enabled node (i.e. i would have access to 
all the data in the cache but just not really carry any of it in the app 
servers's jvm).

I did not find an example of how to configure JBoss cache for that.

Any help is appreciated.

Thank you
RS.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198641#4198641

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198641
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Facing Generated servlet error: exceeding the 65535 byte

2008-12-28 Thread PeterJ
Not that I know of. It would probably involve fixing the JSP parser.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198637#4198637

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Unable to setup Jboss AS 5 as windows service

2008-12-28 Thread PeterJ
There are two binary downloads for JBoss AS 5.0, one for JDK5 the other for 
JDK6. I just now checked the jbossvc.exe file in both. Looks like the 
jbossvc.exe file is corrupt in both of those downloads.

Download JBoss Native 2.0.6 and install it, the jbossvc.exe file in there 
appears to be fine. http://www.jboss.org/jbossweb/downloads/jboss-native/

Be aware, however, that APR is broke, at least on 32-bit Windows. See this 
post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147583

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198638#4198638

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198638
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: virtual directories in Jboss 5

2008-12-28 Thread PeterJ
Please post the changes you made to server.xml. Also, please indicate where you 
made those changes (including some of the tags before before and after your 
changes should be sufficient).

I am pretty certain this was working in CR2, at least I think that is the last 
time I tried it. I haven't tried GA yet.  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198635#4198635

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198635
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: ClassNotFoundException while lookup a Service

2008-12-28 Thread luckybird
Am I the the first and only one people of this planet having this problem??? Is 
anybody out there who can explain me how I can say to the Classloader from 
JBoss where it can find some classes???

- Ralf.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198634#4198634

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198634
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - BPM engine within different tools

2008-12-28 Thread fgeorges
  Hi,

  This is not strictly speaking a jBPM question, but rather more
a general BPM question, but I don't know where to post it else.
I am interested in the position of a BPM engine within a whole
system, composed of different tools.

  Let's say we have for instance an ECM.  Should this ECM rely on
an external BPM engine (for instance jBPM installed standalone)?
Or should it embed an existing BPM engine?  Or write its own one?

  A priori, I think this is more like the first option: rely on
an external BPM engine, and provide support for instance by being
able to be the BPM engine's UI, by providing a tasks widget, and
by adding actions on documents like "go to the step X."

  But that's not clear to me.  Any additional thoughts?  And
specific advantages, drawbacks...?

  PS: Cross-posted to the ML and the forum, not sure which one is
better.

  Best regards,

-- 
Florent Georges
http://www.fgeorges.org/



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198632#4198632

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Jboss support for Webservices over REST?

2008-12-28 Thread awhitford
Is there a forum for RestEASY?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198631#4198631

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198631
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - DNS access

2008-12-28 Thread bussien
I can access my JBoss trouw 127.0.0.1:8080 but not my domain name:
StayAt.org:8080
whats wrong?
Tanks for your solutions

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198630#4198630

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198630
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Facing Generated servlet error: exceeding the 65535 byte

2008-12-28 Thread darshanparekh
Hi Peter,

Is there any options that i can use to avoid changing all the

to


Thanks and regards
Darshan


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198624#4198624

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198624
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Client jars for 5.0.0.GA/1.4.1.GA

2008-12-28 Thread clebert.suco...@jboss.com
Hmm... you would need to ask that for jboss-as guys.

I will try to find out about something during the week.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198623#4198623

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198623
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Error when starting JBoss at localhost

2008-12-28 Thread jugones55
I recomend you to see the details option, it could clarify you the origin of 
this problem

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198622#4198622

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198622
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Error function when working with passivation.

2008-12-28 Thread kenees
It seems no body care about my problem :(

Anyway, I'm still doing the test and finally find that whenever I write the 
following code in my run() method of the reader Thread, the reader has a big 
chance to get null from a specific node which should have value, the code is:
@Override
  | public void run() {
  | while(true) {
  | try {
  | Thread.sleep(1000);
  | } catch (InterruptedException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | }
  | int max = w.getKey();
  | Node regionNode = 
cache.getNode(Fqn.fromString(region)); // just a test to check the root node of 
my test
  | max = regionNode.getChildren().size();
  | logger.info("currently node (/testRegion) has " + max + " 
subnodes");
  | int readPoint = Math.abs(RANDOM.nextInt() % (max == 0 ? 1 : 
max));
  | if (readPoint == 0) {
  | readPoint = 1;
  | }
  | testRegion = Fqn.fromString(region + "/" + readPoint);
  | TestBean value = cache.get(testRegion, "DATA");
  | logger.info("Get value ++ '" + value + "' in node 
'" + testRegion.toString() + "'.");
  | logger.info("/n/n/n");
  | }
  | }

Please pay attention to the red color, it seems has a significant impact to the 
passivation Thread, when it was uncommented, my reader thread will get nothing. 
When this part of code (the red part) was removed, everything is OK.

Can anybody give me some clues about it, any response will be appreciated.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198620#4198620

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198620
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ejb aggregate functions problem

2008-12-28 Thread mravikrish
please somebody answer can i get the object in select clauuse with group by 
clause

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198619#4198619

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Integrate entities of different applications

2008-12-28 Thread celsogbj
Hi,

I have two entities mapped in two different applications. 

Let's s say the fist entity is Company in the application "Company Management", 
which manages companies and information about them (size, address, associates, 
subsidiaries among others). The second entity is Risk in the application "Risk 
Management", which manages the risk of credit of a given Company. Both 
applications are implemented with EJB.

Conceptually, Company has a one-to-one relationship with Risk. Do I have to 
package both entities at the same ejb-jar, under the same persistent unit in 
order to map the relationship between them?

What are the other ways to integrate these two applications, supposing that EJB 
is used on both applications?

Thanks in advance,
Celso


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198618#4198618

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Unable to setup Jboss AS 5 as windows service

2008-12-28 Thread dominicjpaul
Tried loading the Jbosssvc.exe into the dependency walker, this is the error 
message I got "No PE signature found. This file appears to be a 16-bit DOS 
module."

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198617#4198617

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198617
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Problem setting up clustered JBossCache

2008-12-28 Thread kenees
I think it shouldn't be a problem, I have tried  JBossCache 3.0.1 (with the 
embeded jgroup.jar) and successfully deployed it on a Weblogic cluster 
enviroment with the default configuration.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198614#4198614

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198614
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Installing JBoss Portal 2.6.4 to existing JBoss-eap 4.3

2008-12-28 Thread hasan_infoaxon
I have installed JBoss-eap 4.3 and copied jboss-portal.sar in 
$JBOSS_HOME/server/production/deploy   folder.

i am getting the following error when i am pointing to 
http://localhost:8080/portal


javax.servlet.ServletException: java.lang.NullPointerException

org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:276)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause 

java.lang.NullPointerException

org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252)

org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:100)

org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:80)

org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:72)
org.jboss.portal.core.controller.Controller.handle(Controller.java:208)

org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)

org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)

org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)

org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198611#4198611

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198611
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - -Dfile.encoding strategy

2008-12-28 Thread webmascon
Hi All!

I have couple of JavaEE applications running on JBoss 4.2.2. One application 
requires Shift_JIS encoding - for iMode mobile phones. That means to solve this 
problem I have to set -Dfile.encoding in run.bat file that starts JBoss. 

BUT

this will affect ALL other applications that are running on teh same 
application server. Some of them use UTF-8, others - windows-1251. So 
-Dfile.encoding strategy is wrong for my situation because it changes encoding 
globally for all applications.

One possible solution is to have separate JBoss for my Shift_JIS applicaiton 
and separate JBoss for UT-8 applications. BUT this strategy is also wrong since 
I cannot afford running mutliple instances of JBoss just for each application 
separately.

What are possible solutions to this problen?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198610#4198610

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198610
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - FYI - JBoss on OpenSuSE 11.1

2008-12-28 Thread tsu2
Just a FYI -
None of the documentation I could find applies closely to OpenSuSE or for that 
matter any Linux OS that uses the "update-alternatives" subsystem and Java 
packages from the OS repos (not the Sun website). These steps should generally 
apply to OpenSuSE 10.x also and from what I understand likely Mandriva 
(although I haven't verified).

Of course, all installation steps should be done with Root permissions.

:) Which Java?
On OpenSuSE 11.1 today, by default packages for Java 1.5 and the OpenJava (not 
Sun) version 1.6 are installed, but not the "developer" packages (which are 
equivalent to the Sun SDK packages). The OpenJava version appears to work (I've 
only deployed a default JBoss but haven't tried yet to develop against it), but 
the "devel" package needs to be installed using Yast(currently 
java-1_6_0-openjdk-devel).

You can doublecheck the installed packages using the following command, but it 
won't be easy to crosscheck all of the output

update-alternatives --display java

:) Downloading and Extracting
The JBoss file package I'm installing is the ZIP, additional steps are 
described in the documentation if you decide to compile from source.

Download and extract the files to a designated location. The documentation 
places the JBoss files under the /user/ directory, I prefer the /opt/. Probably 
there are many good options.

:) Configure the JBoss environmental variables. 
The documentation does not describe a procedure that's appropriate for OpenSuSE 
where you should configure the profile, what now follows should enable a 
successful deployment

Although it's possible to modify the /etc/profile file itself, take heed the 
warning embedded in the file. Better is to instead create a new file 
/etc/profile.local and store your configuration in that file.

Create the /etc/profile.local file and add the following lines to the content 
of the file

export JBOSS_HOME=[full path to jboss root]
  | export PATH=$PATH:JBOSS_HOME/bin

In the above line, of course substitute and enter your full path to your JBoss 
files.

:) Start JBoss and Test
If you're in a hurry to test this configuration, execute the above 2 lines as 
well from a console, entering the commands into the profile.local file ensures 
that your JBOSS variables are initiated during machine bootup.

Start your JBoss application, from a console either browse to or execute

$JBOSS_HOME/bin/run.sh

Watch the output for any errors.
If you don't see any errors, then open a web browser to one or both of the 
following URLs for final testing

http://localhost:8080
http://localhost:8080/jmx-console

You should see actual webpages and not 404 errors.

Hope this speeds someone else along...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198608#4198608

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198608
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: how to install ca ssl cert.

2008-12-28 Thread sunlinux
I put SSL cert as explained in guide but when I connect to site using 
https://abc.com

browser shows "connected" but nothing is displayed in browser and no encryption 
happening neither it asking to install security certificate in browser no 
warning ..
pls guide what wrong thr




  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198609#4198609

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198609
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - never seen this one before - debug page error with uncaught

2008-12-28 Thread wiggy
just installed wtp 3.03 ontop of my ganyemede sr1 to hopedfully correct earlier 
problems with JBT.

however both before and after i get this error on deb page that i cant relate 
to me code - 

anyone know what this means, i'd appreciate it as i've never seen this.
The only thing i can think is that my registerAction bean calls a helper 
routine to has passwords - that runs a try on round the digester.

envnow running is eclipseSR1+wtp3.03 + jbt + seam 2.1.1GA, and jboss AS5.0

error chains says 


  | Exception during request processing: 
  | Caused by javax.servlet.ServletException with message: 
"#{registrationManager.register}: 
java.lang.reflect.UndeclaredThrowableException" 
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
  | org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
  | 
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
  | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
  | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
  | 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  | 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
  | 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  | 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
  | 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
  | 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
  | 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
  | 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
  | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
  | 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
  | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | java.lang.Thread.run(Unknown Source)Caused by javax.faces.FacesException 
with message: "#{registrationManager.register}: 
java.lang.reflect.UndeclaredThrowableException" 
  | 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
  | javax.faces.component.UICommand.broadcast(UICommand.java:387)
  | org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
  | org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
  | org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
  | org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - virtual directories in Jboss 5

2008-12-28 Thread david.bennett
Hi,
I am trying to upgrade to jboss 5 and cant a virtual directory to work. I 
serve static content from a directory outside of jboss. This was working fine 
up to 4.2.3 by specifying a context in deploy/jboss-web.deployer/server.xml 
inside the host tag : -



I tried duplicating this in jboss 5 in the 

deploy\jbossweb.sar\server.xml

however it fails on bootup with (Partial only)
10:55:10,539 ERROR [AbstractKernelController] Error installing to Start: 
name=WebServer state=Create
org.jboss.xb.binding.JBossXBException: Failed to parse source: Context not 
found as a child of Host
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)

which indicates you cant specify a context tag here any more. The server does 
start, but it fails to load the webserver because of this problem and nothing 
works.

Anyone have a solution to this?

thanks,
dave.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198606#4198606

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198606
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: template attribute of mail node

2008-12-28 Thread kukeltje
uihhm I think (never used this) that you should reference the template by 
name, not point to the template(s) file

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198603#4198603

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198603
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Problem setting up clustered JBossCache

2008-12-28 Thread mattdz
I believe it was, but I can check.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198602#4198602

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198602
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - problem with deploy to jboss as 5.0 with new seam project an

2008-12-28 Thread wiggy
I am running nearly current nightly build for JBT 
 
last pull i had was JBossTools-3.0.0.CR2-N200812240610-ALL-win32.zip.

my eclipse is ganymede SR1, and my seam build 2.1.1GA

when i create a new ear project the generator builds a manifest file 

in ...web-content/META-INF.  

this includes the following 


  | anifest-Version: 1.0
  | Class-Path:  will-ejb.jar 
  |  antlr-runtime.jar 
  |  drools-compiler.jar 
  |  drools-core.jar 
  |  jboss-el.jar 
  |  jboss-seam.jar 
  |  jbpm-jpdl.jar 
  |  mvel14.jar 
  |  richfaces-api.jar
  | 

when i deploy the project it errors on the AS5.0 deploy cycle with the message 


[list=]
17:39:53,078 WARN  [HDScanner] Scan failed
org.jboss.deployers.spi.DeploymentException: Exception determining structure: 
AbstractVFSDeployment(will-ear.ear)
at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at 
org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85)
at 
org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:853)
at 
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
at 
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:267)
at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown
 Source)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown
 Source)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
 Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Error determining structure: will-ear.ear
at 
org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:293)
at 
org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
at 
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
at 
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
at 
org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
... 14 more
Caused by: java.lang.RuntimeException: will.war module listed in 
application.xml does not exist within .ear 
vfsfile:/C:/jboss/jboss-5.0.0.GA/server/default/deploy/will-ear.ear/
at 
org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:272)
... 18 more



if i delete the referenced files in the manifest - the code deploys just fine 

- I reported this on the forum at the seam forum


  | 
  |  http://www.seamframework.org/48708.lace
  | 
  | 
  | 
  | 
  | the last entry in the log says there was a bug and stick with 4.2. until 
production 5.0AS.  
  | 
  | This is still a problem 
  | 
  | if i delete the entries from the manifest it all works fine - 
  | 
  | Is this still a known problem for the jira  ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198601#4198601

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198601
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - jboss shutdown gives error

2008-12-28 Thread joshi_s_p
I am working on session replication in Jboss 4.2.

All works fine and session replication works. But when i try to kill jboss 
process (kill ), it gives me error at client side that my session 
is not valid.

It is interesting though, that if i kill process using kill -9 , it 
works perfectly.

What is wrong, when i use kill  to kill JBoss?

Thanks in advance...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198596#4198596

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198596
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Unable to setup Jboss AS 5 as windows service

2008-12-28 Thread PeterJ
Looks like you are using the 8.3 filename for the JBoss AS home directory. What 
is the full name? If you replace the 8.3 name with the full name, will it work 
then?

Try opening a command prompt, cd'ing to the bin directory, and running 
"jbosssvc.exe".  If that fails, try loading josssvc.exe into the Dependency 
Walker (http://www.dependencywalker.com/); perhaps you are missing a required 
library.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198594#4198594

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198594
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - PoolClass in a descriptor

2008-12-28 Thread babernat
Hi,

I've been using the following annotations on an EJB 3.0 MDB in JBoss 4.2.3GA to 
limit the number of MDB instances that can be created. I'd like to move the 
configuration into descriptors so that I don't have to recompile in order to 
change the configuration. I (think) I understand how to handle maxSession, but 
how do I move the Pool Class configuration to a descriptor. Does that go in the 
jboss.xml file inside of the jar?

  | @PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=5, 
timeout=1)
  | @MessageDriven(activationConfig = 
  | {
  | @ActivationConfigProperty(propertyName="maxSession",propertyValue="5"),
  | 
@ActivationConfigProperty(propertyName="destinationType",propertyValue="javax.jms.Queue"),
  | 
@ActivationConfigProperty(propertyName="destination",propertyValue="queue/TLEPropagationQueue")
 
  | })
  | 

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198588#4198588

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198588
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jboss 5, Hot Re-Deployment, display old content, Work Direct

2008-12-28 Thread edill
Hi, I am currently evaluating JBoss 5 to replace a paid Application Server but 
am having problems with re-deployments of .WAR files.  When I drag the .WAR to 
the deploy directory the first time, the correct content displays in the 
browser. However, once the content in the war file has changed and is copied 
over the old .WAR file, the original content is still displayed (much like it 
is storing it in cache).

Stopping and restarting the server doesn't help, it still showed the old 
content.  This told me that it was writing it to disk.  Which led me to the 
"work" folder.  When I delete the corresponding app from the "work" directory, 
the server creates a new one based on the new content. 

This is what I would like to achieve, without the step of deleting the 
application in "work" since it is recommended not to modify the "work" folder 
in a production environment.

I have tried:
-According to the standard output, hot deployment is working when the file is 
overwritten since is says "undeploy...redeploy..." and creates a new directory 
in TMP.  Obviously HOT DEPLOY is working as advertised.

-Changing "reloadable" attribute to "true" in the jmx-console's 
'host=localhost,path=/webapp,type=Loader' link. (only in Jboss 4.2.3GA, doesn't 
exist in Jboss 5.0.0GA

-Added reloadable="true" to the  in 
server/default/deploy/jboss-web.deployer/context.xml

-Modify and/or "Touching" the web.xml within the application I am trying to 
deploy.

* None of these trigger the refreshing of the "work" directory.
* I have read both the "Installation and Getting Started Guide" and 
"Administration and Configuration Guide" with no solutions
* I have searched many forums including this one

Any help from the experts would be very much appreciated!

I am using:
-Linux Ubuntu 6.06
-Jboss 5  (Also back-tracked to 4.2.3 with the same problem)
-Running default configuration (./run.sh -c default -b x.x.x.x)
-JDeveloper 10.1.3 on Windows XP SP2 Client for development and deployment (war 
creation)

Thanks in advance






View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198587#4198587

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198587
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Migrate J2EE Project EJB 2 from Websphere to JBoss

2008-12-28 Thread garfield168
Yes, we try JBoss AS 5 at the moment and we migrate from WebSphere 6.1. 

We use a WorkManager in WebSphere to do background work.

WorkManager: javax.resource.spi.work.WorkManager;

In ejb-jar.xml:

  | 
  | wm/MainWorkManager 
javax.resource.spi.work.WorkManager
  | Container
  | Shareable
  | 
  | 

We can access the WorkManager in the JAVA code via a JNDI lookup. But with 
JBoss this seems to be not possible. Anyway, we need a way to
implement background working in JBoss. I found this:
http://batrapankaj.wordpress.com/2007/04/27/using-workmanager-in-jboss/
but I think it is only for JBoss AS 4.

Error Message when I try to deploy a project with a WorkManager:


  | 00:33:46,265 WARN  [StatelessSessionContainer] No resource manager found 
for wm/MainWorkManager
  | 00:33:46,265 ERROR [AbstractKernelController] Error installing to Start: 
name=jboss.j2ee:jndiName=seaw/ScEntry,service=EJB state=Create mode=Manual 
requiredState=Installed
  | java.lang.NullPointerException
  | at org.jboss.ejb.Container.setupEnvironment(Container.java:1325)
  | at org.jboss.ejb.Container.startService(Container.java:901)
  | at 
org.jboss.ejb.SessionContainer.startService(SessionContainer.java:396)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
  | at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
  | at $Proxy36.start(Unknown Source)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198585#4198585

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Migrate J2EE Project EJB 2 from Websphere to JBoss

2008-12-28 Thread PeterJ
What is a "workmanager"? There is no such term in JBoss AS (the concept might 
be there, but under a different name - it is always a good idea to define terms 
specific to other app servers) I am not sure why you want to modify 
jca-jboss-beans, other than the fact that it contains the text "workmanager". I 
doubt that this is the same concept as the "workmanager" in WebSphere.

You do not need annotations when using EJB 2.x.

Please go back to what I posted in my previous response, perform the tasks I 
asked, and post the results that I asked for. 

And it was nice of you to hint that you are using JBoss AS 5.0.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198580#4198580

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198580
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Unable to setup Jboss AS 5 as windows service

2008-12-28 Thread PeterJ
Are you, by any chance, running a 64-bit version of XP? I ask because the 
service exe that comes with JBoss AS runs only on 32-bit Windows.

If this does not help you, then comment out the echo statement (first line) in 
service.bat, run it again and post the output.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198579#4198579

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198579
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Unable to setup Jboss AS 5 as windows service

2008-12-28 Thread dominicjpaul
Thx for quick reply. And I am using Windows XP 32 - bit. Heres the output after 
removing the first line from service.bat


  | D:\java\JBOSS-~2.GA\bin>service install
  | 
  | D:\java\JBOSS-~2.GA\bin>REM JBoss, the OpenSource webOS
  | 
  | D:\java\JBOSS-~2.GA\bin>REM
  | 
  | D:\java\JBOSS-~2.GA\bin>REM Distributable under LGPL license.
  | 
  | D:\java\JBOSS-~2.GA\bin>REM See terms of license at gnu.org.
  | 
  | D:\java\JBOSS-~2.GA\bin>REM
  | 
  | D:\java\JBOSS-~2.GA\bin>REM 

  | -
  | 
  | D:\java\JBOSS-~2.GA\bin>REM JBoss Service Script for Windows
  | 
  | D:\java\JBOSS-~2.GA\bin>REM 

  | -
  | 
  | D:\java\JBOSS-~2.GA\bin>set DIRNAME=D:\java\JBOSS-~2.GA\bin
  | 
  | D:\java\JBOSS-~2.GA\bin>REM
  | 
  | D:\java\JBOSS-~2.GA\bin>REM VERSION, VERSION_MAJOR and VERSION_MINOR are 
populat
  | ed
  | 
  | D:\java\JBOSS-~2.GA\bin>REM during the build with ant filter.
  | 
  | D:\java\JBOSS-~2.GA\bin>REM
  | 
  | D:\java\JBOSS-~2.GA\bin>set SVCNAME=JBAS50SVC
  | 
  | D:\java\JBOSS-~2.GA\bin>set SVCDISP=JBoss Application Server 5.0
  | 
  | D:\java\JBOSS-~2.GA\bin>set SVCDESC=JBoss Application Server 5.0.0 
GA/Platform:
  | Windows x86
  | 
  | D:\java\JBOSS-~2.GA\bin>set NOPAUSE=Y
  | 
  | D:\java\JBOSS-~2.GA\bin>REM Suppress killing service on logoff event
  | 
  | D:\java\JBOSS-~2.GA\bin>set JAVA_OPTS=-Xrs
  | 
  | D:\java\JBOSS-~2.GA\bin>REM Figure out the running mode
  | 
  | D:\java\JBOSS-~2.GA\bin>if /I "install" == "install" goto cmdInstall
  | 
  | D:\java\JBOSS-~2.GA\bin>jbosssvc.exe -imwdc JBAS50SVC 
"D:\java\JBOSS-~2.GA\bin"
  | "JBoss Application Server 5.0" "JBoss Application Server 5.0.0 GA/Platform: 
Wind
  | ows x86" service.bat
  | The system cannot execute the specified program.
  | 
  | D:\java\JBOSS-~2.GA\bin>if not errorlevel 0 goto errExplain
  | 
  | D:\java\JBOSS-~2.GA\bin>echo Service JBoss Application Server 5.0 installed
  | Service JBoss Application Server 5.0 installed
  | 
  | D:\java\JBOSS-~2.GA\bin>goto cmdEnd
  | 
  | D:\java\JBOSS-~2.GA\bin>

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198581#4198581

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198581
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - template attribute of mail node

2008-12-28 Thread btl_ayd
Hi
I want to use template in mail node but I couldnt be successfull.
I added jbpm.mail.templates.xml this template:


  | 
  | 
  | 
  |   http://b0101:8080/jbpm-console/sa/task.jsf?id="; />
  | 
  |   
  |.
  |   
  |   
  |   
  | #{taskInstance.actorId}
  | Seyahat talep formu '#{taskInstance.name}'
  | 
  |   
  | 
  | 
  | 
  | 
and in my jbpm ğproject I added this code in task node for send mail.

  | 
  | 
  |   
  |  
  | .
  |   
  | 
  | 
  | 
  | 
  |
  |
  |
  |
  |   
  | 
and I have got this. error:

  | 
  | ERROR [GraphElement] action threw exception: null
  | java.lang.NullPointerException
  | at org.jbpm.mail.Mail.send(Mail.java:144)
  | at org.jbpm.mail.Mail.execute(Mail.java:81)
  | at org.jbpm.graph.def.Action.execute(Action.java:122)
  | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
  | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:215)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:185)
  | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:169)
  | at org.jbpm.graph.def.Node.enter(Node.java:302)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  | at 
org.jbpm.graph.def.Node_$$_javassist_49.enter(Node_$$_javassist_49.java)
  | at org.jbpm.graph.def.Transition.take(Transition.java:151)
  | at org.jbpm.graph.def.Node.leave(Node.java:393)
  | at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:209)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  | at 
org.jbpm.graph.def.Node_$$_javassist_49.leave(Node_$$_javassist_49.java)
  | at org.jbpm.graph.exe.Token.signal(Token.java:192)
  | at org.jbpm.graph.exe.Token.signal(Token.java:163)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  | at 
org.jbpm.graph.exe.Token_$$_javassist_64.signal(Token_$$_javassist_64.java)
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:482)
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:421)
  | at 
org.jbpm.jsf.core.action.CompleteTaskActionListener.handleAction(CompleteTaskActionListener.java:52)
  | at 
org.jbpm.jsf.core.impl.JbpmActionListenerWrapper.processAction(JbpmActionListenerWrapper.java:82)
  | at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
  | at 
javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:760)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:372)
  | at 
org.jbpm.jsf.taskform.ui.UITaskFormButtonBase.broadcast(UITaskFormButtonBase.java:56)
  | at 
org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
  | at 
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
  | at 
org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
  | at 
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)
  | at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
  | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
  | at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
  | at 
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(Bas

[jboss-user] [JBoss jBPM] - Re: Restrict the users to start process definition

2008-12-28 Thread giridhar_be
Thanks for response... But can you tell me how can we manage which processes 
(start) to see who ...

If am going to implement user interface is this possible, only a perticular 
group to start the process.

In my requirement, the process should always start by any one from a perticular 
group of user.

Can this is possible? If its possible can you please tell me how it is possible.

Thanks in advance..

Thanks & Regards,
Giridhar

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198571#4198571

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198571
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Unable to setup Jboss AS 5 as windows service

2008-12-28 Thread dominicjpaul
I was able to start Jboss 5 from command prompt(refering to run.bat) but when I 
try to install Jboss as windows service(ie., service.bat install) this is the 
error I get "The system cannot execute the specified program."

No idea where exactly the problem is, any help is appricated.(By the way... i 
am using XP as OS)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198572#4198572

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198572
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Restrict the users to start process definition

2008-12-28 Thread pieter.martin
Hi,

We are managing who may see (start) which business processes manually in our 
application.

I am not sure why their is no support for security around the process itself. 
Starting a business process is itself a form of task which only certain users 
should be able to do.

Cheers
Pieter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198570#4198570

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198570
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - ejb aggregate functions problem

2008-12-28 Thread mravikrish
Hi,

   I am ramu. i am having a problem with group by clause.

my entities are project and bid

my query is

SELECT distinct(p.projectId) FROM Project p JOIN p.bids bGROUP BY p  
HAVING COUNT(b) > 1

the above query is returning projectid.

but i want to get project object.

for that i have tried like this but not working

 SELECT distinct(p) FROM Project p JOIN p.bids bGROUP BY p  HAVING COUNT(b) 
> 1

it is saying not a GROUP BY expression

please help me its very urgent.

Thanking You
KRamu







View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198568#4198568

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198568
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Migrate J2EE Project EJB 2 from Websphere to JBoss

2008-12-28 Thread garfield168
Hello,

thanks for your answer. I found out that I have problems with the workmanager. 
In WebSphere you must define a workmanager in the administration console. In 
JBoss I found the file  jca-jboss-beans.xml
but I found nothing in the web about it. I am new to the "annotation thing". 
Must I define annotations to the java code for JBoss? Can someone give me an 
example or a documentation link?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198564#4198564

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198564
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Runtime shutdown hook called, forceHalt: true

2008-12-28 Thread Rajendhar*
HI,
i am calling the WSDL2Java run method to call the the webservices 
on my server console i am getting this info and server is forcefully calling 
hault.. i am using jboss4.2.1.GA,

14:42:07,640 INFO  [STDOUT] - The class java.lang.Throwable is defined in a 
java or javax package and cannot be converted into an xml schema type.  An xml 
schema anyType will be used to define this class in the wsdl file.
14:42:10,015 INFO  [Server] Runtime shutdown hook called, forceHalt: true
14:42:10,015 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
14:42:10,015 INFO  [TomcatDeployer] undeploy, ctxPath=/WebServicesSample, 
warUrl=.../deploy/WebServicesSample.war/
14:42:10,015 INFO  [StandardWrapper] Waiting for 1 instance(s) to be deallocated
14:42:11,125 INFO  [StandardWrapper] Waiting for 1 instance(s) to be deallocated
14:42:12,218 INFO  [StandardWrapper] Waiting for 1 instance(s) to be deallocated
14:42:12,796 INFO  [EJBDeployer] Undeploying: 
file:/D:/Jboss-4.2.1.GA/server/all/tmp/deploy/tmp39377Glue.ear-contents/Glue.jar
14:42:12,828 ERROR [ExceptionUtil] ConsumerEndpoint[442] close 
[5c4o5l2u-9s0s4b-fp6m8fhx-1-fp6mko4c-ff]
java.lang.ClassCastException: 
org.jboss.messaging.core.plugin.postoffice.DefaultPostOffice
at 
org.jboss.jms.server.endpoint.ServerConsumerEndpoint.localClose(ServerConsumerEndpoint.java:506)
at 
org.jboss.jms.server.endpoint.ServerConsumerEndpoint.close(ServerConsumerEndpoint.java:381)
at 
org.jboss.jms.server.endpoint.advised.ConsumerAdvised.org$jboss$jms$server$endpoint$advised$ConsumerAdvised$close$aop(ConsumerAdvised.java:59)
at 
org.jboss.jms.server.endpoint.advised.ConsumerAdvised$close_N4742752445160157748.invokeNext(ConsumerAdvised$close_N4742752445160157748.java)
at 
org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
at 
org.jboss.jms.server.endpoint.advised.ConsumerAdvised$close_N4742752445160157748.invokeNext(ConsumerAdvised$close_N4742752445160157748.java)
at 
org.jboss.jms.server.endpoint.advised.ConsumerAdvised.close(ConsumerAdvised.java)
at 
org.jboss.jms.wireformat.CloseRequest.serverInvoke(CloseRequest.java:66)
at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:141)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
at 
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
at org.jboss.remoting.Client.invoke(Client.java:1550)
at org.jboss.remoting.Client.invoke(Client.java:530)
at org.jboss.remoting.Client.invoke(Client.java:518)
at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:186)
at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:157)
at 
org.jboss.jms.client.delegate.ClientConsumerDelegate.org$jboss$jms$client$delegate$ClientConsumerDelegate$close$aop(ClientConsumerDelegate.java:118)
at 
org.jboss.jms.client.delegate.ClientConsumerDelegate$close_N4742752445160157748.invokeNext(ClientConsumerDelegate$close_N4742752445160157748.java)
at 
org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:91)
at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at 
org.jboss.jms.client.delegate.ClientConsumerDelegate$close_N4742752445160157748.invokeNext(ClientConsumerDelegate$close_N4742752445160157748.java)
at 
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at 
org.jboss.jms.client.delegate.ClientConsumerDelegate$close_N4742752445160157748.invokeNext(ClientConsumerDelegate$close_N4742752445160157748.java)
at 
org.jboss.jms.client.delegate.ClientConsumerDelegate.close(ClientConsumerDelegate.java)
at 
org.jboss.jms.client.container.ClosedInterceptor.maintainRelatives(ClosedInterceptor.java:309)
at 
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:165)
at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at 
org.jboss.jms.client.delegate.ClientSessionDelegate$closing_N1847373599029068216.invokeNext(ClientSessionDelegate$closing_N1847373599029068216.java)
at 
org.jboss.jms.client.delegate.ClientSessionDelegate.closing(ClientSessionDelegate.java)
at 
org.jboss.jms.client.JBossConnectionConsumer.doClose(JBossConnectionConsumer.java:332)
at 
org.jboss.jms.client.JBossConnectionConsumer.close(JBossConnectionConsumer.java:158)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:917)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.stopService(JMSContainerInvoker.java:863)
at 
org.jboss.system.ServiceMBeanSupport.jbo

[jboss-user] [Remoting] - Re: Socket keep alive with client EJB and RMI over HTTP

2008-12-28 Thread slimamar
Sorry,

It's the 'socket' transport , see :
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134089

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198559#4198559

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198559
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to avoid starting JBoss AS, if already running

2008-12-28 Thread mrfarhankhan
Thankyou Peter ! I have solved the problem by adding the following to my 
runJBoss.sh script

jbossRunning=$(ps -ef | grep "sh runJBoss.sh" | grep -vc grep)
echo "jbossRunning = " $jbossRunning

if  [ $jbossRunning -gt 2 ]; then
die "Already running JBoss . . . Going to exit"
else
warn "No instance running. Going to start this"
fi

I would also try the other method that you mentioned. 

Thanks a lot
Farhan !

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198556#4198556

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198556
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Restrict the users to start process definition

2008-12-28 Thread giridhar_be
Hi All,

Working with JBPM3.3GA & Jboss 4.2.3.

I want to restrict the process definition to start for a group of peoples only. 
For other that process definition should not be view to start.

I tried to create a task on Process definition Start and assigned that task to 
a perticular group. But when I login with the user who is in other group(having 
simple user permissions, no admin/manager permissions) using JBPM  Admin 
console I am able to start that process definition. 

Also after start of that process definition, the task is assign to the user who 
started that process. Actuall that task should be assigned other group since, 
in the task assignment assinged this task to other group uging swimlane.

Any help appreciated.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198557#4198557

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198557
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Any user sees all the user tasks

2008-12-28 Thread giridhar_be
Hi All,

I am working on one POC on JBPM. I am using jboss 4.2.3 and JBPM 3.3 GA. 

I am facing a problem which is similar to one already mentioned and solved in 
JBPM 3.2.3.

**
[#JBPM-1022] 3.2.1 Admin Console: Any user sees all users tasks ...

the current Admin Console, any given user will see all other users tasks. Plus 
a user can "take" another person's assigned tasks even when they are not an 
"administrator".

**
With JBPM this problem is again persisting.

I created 3 tasks and assigned these tasks to 3 different users. But from Admin 
Console, I am able to see the other users tasks and also I can perform taks 
assigned to other users.  

Any one is facing similar  issue with JBPM3.3

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198554#4198554

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198554
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Proper configuration of CXF web service

2008-12-28 Thread okiSM
I've posted this in JBoss-CXF section of the Forum, but so far I did not get 
any answer.

I am trying to expose SLSB as CXF web service. I can't inject successfully 
EntityManager into this SLSB. It is always null.
What is the proper way to configure this kind of WS. Where do I define 
DataSource and where do I put persistence.xml?

I've described my configuration in:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147828


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198553#4198553

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198553
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not find datasource message in client JPA although

2008-12-28 Thread ezanih
Thanks for the reply, jakiran.

Ok...I've been doing a lot of reading so let me share with you and all some 
knowledge :-)   but my client still not working:-(

There are 3 ways to add jndi.properties to the client app :- (1) from the 
Eclipse Run Configuration menu, just add this to the VM arguments:-


  | -Djava.naming.provider.url=jnp://localhost:1099
  | -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | 

or you can do like my BidClient.java coding above and put the properties in code

or you can just create a text file, name it jndi.properties and place it in 
root folder of client app. I've modified my app for this method so I can 
comment out all the InitialContext code additions and just put


  | InitialContext ctx = InitialContext();
  | 

Much cleaner...Ok...that is settled

Now I've read some more and it seems JBoss needs two more configurator files at 
the client side, namely application-client.xml and jboss-client.xml.

I've added these 2 files :-

application-client.xml:


  | 
  | http://java.sun.com/xml/ns/j2ee";
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  |   http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd";
  |   version="1.4">
  | 
  |   BiddingClient
  | 
  |   
  | java:OracleXE1_DS
  | javax.sql.DataSource
  | Container
  |   
  | 
  | 
  | 

jboss-client.xml:


  | 
  |   
  | java:OracleXE1_DS
  | javax.sql.DataSource
  | OracleXE1_DS 
  |   
  | 
  | 


Unfortunately, still getting the same error...Unable to find data source and 
the jndi initial naming error, see below:

Console output :


  | [BidClient] : creating EntityManagerFactory...
  | log4j:WARN No appenders could be found for logger 
(org.hibernate.cfg.annotations.Version).
  | log4j:WARN Please initialize the log4j system properly.
  | javax.persistence.PersistenceException: [PersistenceUnit: BiddingTest] 
Unable to build EntityManagerFactory
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
  | at 
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
  | at 
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
  | at 
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
  | at Main.main(Main.java:61)
  | Caused by: org.hibernate.HibernateException: Could not find datasource
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137)
  | at 
org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
  | at 
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
  | ... 4 more
  | Caused by: javax.naming.NoInitialContextException: Cannot instantiate 
class: org.jnp.interfaces.NamingContextFactory [Root exception is 
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
  | at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
  | at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  | at javax.naming.InitialContext.init(InitialContext.java:223)
  | at javax.naming.InitialContext.(InitialContext.java:175)
  | at 
org.hibernate.util.NamingHelper.getInitialContext(NamingHelper.java:51)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75)
  | ... 11 more
  | Caused by: java.lang.ClassNotFoundException: 
org.jnp.interfaces.NamingContextFactory
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:242)
  | at 
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
  | at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.jav

[jboss-user] [EJB 3.0] - Re: many-to-many mapping problem

2008-12-28 Thread mravikrish
thank you wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198546#4198546

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198546
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Error function when working with passivation.

2008-12-28 Thread kenees
BTW, i was using JDK1.6 and following is some log output:
2008-12-26 13:28:16,415 [Thread-1] DEBUG (AdjListJDBCCacheLoader.java:147) - 
executing sql: select fqn from jbosscache where parent=? (/testRegion)
  | 2008-12-26 13:28:16,509 [Thread-1] INFO  (ReadThread.java:40) - currently 
node (/testRegion) has 20 subnodes
  | 2008-12-26 13:28:16,509 [Thread-1] INFO  (ReadThread.java:44) - Get value 
'Name is Ramon 15, age is 20.' in node '/testRegion/15'.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,025 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,056 [EvictionTimer-0] DEBUG 
(BaseEvictionAlgorithm.java:438) - Visiting node that was not added to eviction 
queues. Assuming that it has 1 element.
  | 2008-12-26 13:28:20,134 [EvictionTimer-0] DEBUG 
(AdjListJDBCCacheLoader.java:580) - executing sql: update jbosscache set node=? 
where fqn=?
  | 2008-12-26 13:28:20,290 [EvictionTimer-0] DEBUG 
(AdjListJDBCCacheLoader.java:580) - executing sql: update jbosscache set node=? 
where fqn=?
  | 2008-12-26 13:28:20,447 [EvictionTimer-0] DEBUG 
(AdjListJDBCCacheLoader.java:580) - executing sql: update jbosscache set node=? 
where fqn=?
  | 2008-12-26 13:28:20,603 [EvictionTimer-0] DEBUG 
(AdjListJDBCCacheLoader.java:580) - executing sql: update jbosscache set node=? 
where fqn=?
  | 2008-12-26 13:28:20,806 [EvictionTimer-0] DEBUG 
(AdjListJDBCCacheLoader.java:580) - executing sql: update jbosscache set node=? 
where fqn=?
  | 2008-12-26 13:28:20,978 [EvictionTimer-0] DEBUG 
(AdjListJDBCCacheLoader.java:580) - executing sql: update jbosscache set node=? 
where fqn=?
  | 2008-12-26 13:28:21,134 [EvictionTimer-0] DEBUG 
(AdjListJDBCCacheLoader.java:580) - executing sql: update jbosscache set node=? 
where fqn=?
  | 2008-12-26 13:28:21,290 [EvictionTimer-0] DEBUG 
(AdjListJDBCCacheLoader.java:580) - executing sql: update jbosscache set node=? 
where fqn=?
  | 2008-12-26 13:28:21,447 [EvictionTimer-0] DEBUG 
(AdjListJDBCCacheLoader.java:580) - executing sql: update jbosscache set node=? 
where fqn=?
  | 2008-12-26 13:28:21,634 [EvictionTimer-0] DEBUG 
(AdjListJDBCCacheLoader.java:580) - executi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Migration problem to JBoss 5 GA

2008-12-28 Thread jaikiran
Let's continue any further discussion about this, in your other thread here 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147843

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198545#4198545

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198545
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not find datasource message in client JPA although

2008-12-28 Thread jaikiran
anonymous wrote : Root exception is java.lang.ClassNotFoundException: 
org.jnp.interfaces.NamingContextFactory

This error indicates that your client classpath is missing the 
jbossall-client.jar file. Place it in the client classpath. You can copy it 
from %JBOSS_HOME%/client folder.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198547#4198547

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198547
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - EJB invokation happens locally event if remote lookup is per

2008-12-28 Thread unnis
Hi,

I am having 2 jboss application server in which i am deploying same ear . From 
the fist application server I want to lookup and invoke the ejbs belongs to 
second application server.

For that i am writing the following code


  | Properties properties = new Properties();
  | properties.put(Context.INITIAL_CONTEXT_FACTORY,
  | "org.jnp.interfaces.NamingContextFactory");
  | properties.put(Context.URL_PKG_PREFIXES, "org.jboss.naming");
  | properties.put(Context.PROVIDER_URL, "second jboss IP" + 
":1099");
  | context = new InitialContext(properties);
  | 
  | Object  objectRef = context.lookup("MyEjb");
  | MyEjbHome   myHome = (MyEjbHome) 
PortableRemoteObject.narrow(objectRef, MyEjbHome.class);
  | MyEjbRemote myRemote = myHome .create();
  | 
  | String x = myRemote .getVal();
  | 

Even if i have given IP of remote jboss server while creating initial context, 
it is always invoking the EJB belongs to first jboss server.My first 
application server is also having corresponding ejbs deployed. If i am not 
having those EJB in my first application server remote lookup is performed.

I am using jboss 3.2.7 and jdk 1.4

Any help is appreciated

Thanks & Regards

unnis


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198543#4198543

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198543
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Error function when working with passivation.

2008-12-28 Thread kenees
Hi guys, I wrote a test application to test passivation function with 
JDBCCacheLoader, the application is simple, two threads, the writer thread try 
to put 20 nodes into the cache and the reader thread do the read operation 
periodically. I only set maxNodes to be 10 and passivation to be true, so I was 
except that there should be only 10 nodes in the cache and the other 10 are in 
the database, I ran the test, before passivation every thing is correct, but 
after the passivation operation the reader threads can not read nothing, i 
checked the database found JBOSSCACHE.NODE column seems contain an empty object 
for the object passivated here, i did try to debug the cache, found when 
jbossCache try to passivate a node, the node data property is always NULL, i'm 
not sure what the problem it was, so can anybody help me? Thanks.

My cache configuration:

  | http://www.w3.org/2001/XMLSchema-instance"; 
xmlns="urn:jboss:jbosscache-core:config:3.0">
  | 
  |
  |
  | 
  |
  |
  |   
  |   
  |  
  |  
  |   
  |   
  |  
  |  
  |   
  |
  | 
  |
  |
  |   
  |   
  |  
  | cache.jdbc.table.name=jbosscache
  | cache.jdbc.table.create=true
  | cache.jdbc.table.drop=true
  | cache.jdbc.table.primarykey=jbosscache_pk
  | cache.jdbc.fqn.column=fqn
  | cache.jdbc.fqn.type=varchar(255)
  | cache.jdbc.node.column=node
  | cache.jdbc.node.type=blob
  | cache.jdbc.parent.column=parent
  | cache.jdbc.sql-concat=1 || 2
  | cache.jdbc.driver =oracle.jdbc.driver.OracleDriver
  | cache.jdbc.url=jdbc:oracle:thin:@15.154.146.115:1521:perf
  | cache.jdbc.user=malibu_ramon
  | cache.jdbc.password=malibu_ramon
  |  
  |   
  |
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198538#4198538

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198538
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: org.jboss.mq.SpyJMSException: Cannot authenticate user

2008-12-28 Thread gan.gary
anyone?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198541#4198541

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198541
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: how to unregister the partner services from jbpm console

2008-12-28 Thread dhanushgopinath
Hi Prasad

Registering of a Partner Service is nothing but adding an entry into the 
CATALOGENTRY table. This is done through the API addEntry() in the 
CentralCatalog Class. So removing the entry from this class should unregister 
it. However there are no Remove API given for it

So I think if you can put a HQL query to delete the entry from the DB directly, 
it should unregister the partner service. 

I haven't tried that yet though. Just a pointer.

Thanks
Dhanush



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198540#4198540

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198540
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Changing XslUrl in XslSubDeployer

2008-12-28 Thread vickyk
"makas" wrote : anges to persist some attributes:
Rather than changing it in the xsl file you should take the 
generated/transformed xml service and deploy it as -service.xml. This 
-service.xml should have the required changes.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198537#4198537

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198537
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not find datasource message in client JPA although

2008-12-28 Thread ezanih
Hi 

I've changed my BidClient.class by adding the InitialContext code early in the 
class (see below) but it is giving me this error (server side is deploying OK 
no errors and BIDDER table created) :

Console:

  | Exception in thread "main" javax.naming.NoInitialContextException: Cannot 
instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is 
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
  | at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
  | at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  | at javax.naming.InitialContext.init(InitialContext.java:223)
  | at javax.naming.InitialContext.(InitialContext.java:197)
  | at Main.main(Main.java:54)
  | Caused by: java.lang.ClassNotFoundException: 
org.jnp.interfaces.NamingContextFactory
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:242)
  | at 
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
  | at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
  | ... 4 more
  | 


This is my revised BidClient.class (I run it as a Java Application in Eclipse) 
with the InitialContext code on top:

JPA Client Coding:

  | 
  | 
  | import javax.persistence.EntityManager;
  | import javax.persistence.EntityManagerFactory;
  | import javax.persistence.Persistence;
  | import javax.persistence.PersistenceContext;
  | 
  | import org.apache.log4j.Level;
  | import org.apache.log4j.Logger;
  | import org.apache.log4j.ConsoleAppender;
  | import org.apache.log4j.SimpleLayout;
  | 
  | import my.com.eperolehan.entities.Bidder;
  | 
  | import javax.rmi.*;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | 
  | import java.util.*;
  | 
  | 
  | 
  | public class Main {
  | 
  | 
  | private static EntityManagerFactory f;
  | 
  | @PersistenceContext(unitName="BiddingTest")
  | private static EntityManager em;
  | 
  | 
  | public static void main(String[] args) throws NamingException {
  | 
  | 
  | Logger log = Logger.getLogger(Main.class);
  | log.setLevel(Level.WARN);
  | 
  | SimpleLayout layout = new SimpleLayout();
  | ConsoleAppender appender = new ConsoleAppender(layout);
  | 
  | 
  | log.addAppender(appender);
  | 
  | 
  | try {
  | 
  | 
  | Properties p = new Properties();
  | 
  | p.put("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
  | p.put("java.naming.provider.url", "localhost:1099");
  | 
  | 
  | InitialContext ctx = new InitialContext( p );
  | 
  | Object obj = ctx.lookup("/Bidder");
  | Bidder bidder = (Bidder)  
PortableRemoteObject.narrow(obj,Bidder.class);
  | 
  | 
  | System.out.println("[BidClient] : creating 
EntityManagerFactory...");
  | log.debug("[BidClient] : creating 
EntityManagerFactory...");
  | f = 
Persistence.createEntityManagerFactory("BiddingTest");
  | System.out.println("[BidClient] : Created.");
  | log.debug("[BidClient] : Created.");
  | System.out.println("[BidClient] : creating 
EntityManager...");
  | em = f.createEntityManager();
  | System.out.println("[BidClient] : Created.");
  | log.debug("[BidClient] : Created.");
  | 
  | 
  | em.getTransaction().begin();
  | 
  | 
  | try {
  | System.out.println("[BidClient] : 
creating a Bidder...");
  | //Bidder bidder = new Bidder();
  | 
  | bidder.setBidderName("Bidder No 
1");
  | bidder.setBidSessionId(1);
  | 
  | 
  | em.persist(bidder);
  | em.getTransaction().commit();
  |  

[jboss-user] [JBoss jBPM] - Re: serialization or parallel in a tasknode

2008-12-28 Thread kukeltje
sorry, no... well, I could , but do not want to spend the time on it. If this 
is to complicated for you (it is much simpler than what you were trying to 
achieve), I am afraid many more questions will come out of it. Remember... this 
is my FREE time, I'm not a JBoss employee or trainer or whatever. 

Conceptually the idea behind it is to be able to do 
http://www.workflowpatterns.com/patterns/control/multiple_instance/wcp14.php

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198531#4198531

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198531
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: role based redirect to portal on login

2008-12-28 Thread newz
me too. I also want user will be redirect to page depend on user role. Anyone 
have any idea ? Please help me.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198530#4198530

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198530
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Migration problem to JBoss 5 GA

2008-12-28 Thread onur.aktas
Solved

The problem is that SessionBean implements 2 interfaces. Local and Remote. 
Since Remote interfaces has no methods inside  while Local one has all methods 
that SessionBean implements.

Removing Remote interface has solved the issue, however it looks like a bug or 
any unacceptable design pattern that previous release does not show any 
warnings neither new release does..

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198527#4198527

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198527
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB injection in JBoss 5 application clients?

2008-12-28 Thread skajotde

I think JBoss try resolve speces issues, like here 
https://jira.jboss.org/jira/browse/JBAS-5796.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198521#4198521

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198521
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: How to inject spring-bean with @Resource annotation

2008-12-28 Thread alesj
This is not the right forum, here we deal with jboss+spring-int specific 
questions - see sticky:
 - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=106598

But this looks like a valid question for ejb forum.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198524#4198524

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198524
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Migration problem to JBoss 5 GA

2008-12-28 Thread onur.aktas
Hi.. Thank you for your reply. This EJB work with JBoss 4.2.3 GA and does not 
work with JBoss 5.0 GA


  | package com.test.model.ejb.system;
  | 
  | import com.test.model.entity.system.Usr;
  | import javax.ejb.Stateless;
  | 
  | @Stateless(name = "UsrEJB")
  | public class UsrEJBBean implements UsrEJB, UsrEJBLocal {
  | @PersistenceContext(name = "testPU")
  | EntityManager em;
  | 
  | public UsrEJBBean() {
  | }
  | 
  | public Usr persist(Usr usrEntity) {
  | em.persist(usrEntity);
  | return usrEntity;
  | }
  | }

It does not give any error, just warnings but it does not bind EJB to JNDI Tree 
like JBoss 4.2.3 GA.

Related Console logs when i deploy: 

19:59:20,145 INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 19:59:20,145 INFO  [UpdateTimestampsCache] starting update timestamps cache 
at region: 
persistence.unit:unitName=test.ear/testEjb.jar#testPU.org.hibernate.cache.UpdateTimestampsCache
  | 19:59:20,145 INFO  [StandardQueryCache] starting query cache at region: 
persistence.unit:unitName=test.ear/testEjb.jar#testPU.org.hibernate.cache.StandardQueryCache
  | 
  | 19:59:20,285 INFO  [SessionSpecContainer] Starting 
jboss.j2ee:ear=test.ear,jar=testEjb.jar,name=UsrEJB,service=EJB3
  | 19:59:20,286 INFO  [EJBContainer] STARTED EJB: 
com.test.model.ejb.system.UsrEJBBean ejbName: UsrEJB
  | 19:59:20,286 INFO  [JndiSessionRegistrarBase] Binding the following Entries 
in Global JNDI:
  | 
  | 
  | 19:59:20,339 WARN  [WebServiceDeployerEJB] Ingore ejb deployment with null 
classname: 
org.jboss.metadata.ejb.jboss.jbosssessionbeanmetad...@97955a49{usrejb}
  | 19:59:20,768 INFO  [TomcatDeployment] deploy, ctxPath=/, 
vfsUrl=test.ear/testWeb.war
  | 19:59:21,381 INFO  [JBossSerializationProvider] Using JBoss Serialization 
for JavaServer Faces.
  | 19:59:21,398 INFO  [JBossSerializationProvider] Using JBoss Serialization 
for JavaServer Faces.

Jndi Tree:

Other components with java:comp namespace
  | 
  | java:comp namespace of the component 
jboss.j2ee:ear=test.ear,jar=testEjb.jar,name=UsrEJB,service=EJB3 :
  | 
  |   +- EJBContext (class: javax.ejb.EJBContext)
  |   +- TransactionSynchronizationRegistry[link -> 
java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)
  |   +- UserTransaction (class: org.jboss.ejb3.tx.UserTransactionImpl)
  |   +- env (class: org.jnp.interfaces.NamingContext)
  |   |   +- testPU (class: org.jboss.jpa.tx.TransactionScopedEntityManager)
  |   +- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef)
  | 
  | 
  | java: Namespace
  | 
  |   +- securityManagement (class: 
org.jboss.security.integration.JNDIBasedSecurityManagement)
  |   +- comp (class: javax.namingMain.Context)
  |   +- testds (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
  |   +- XAConnectionFactory (class: 
org.jboss.jms.client.JBossConnectionFactory)
  |   +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
  |   +- TransactionPropagationContextImporter (class: 
com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
  |   +- policyRegistration (class: 
org.jboss.security.plugins.JBossPolicyRegistration)
  |   +- ClusteredConnectionFactory (class: 
org.jboss.jms.client.JBossConnectionFactory)
  |   +- Mail (class: javax.mail.Session)
  |   +- TransactionPropagationContextExporter (class: 
com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
  |   +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
  |   +- jaas (class: javax.naming.Context)
  |   |   +- HsqlDbRealm (class: 
org.jboss.security.plugins.SecurityDomainContext)
  |   |   +- profileservice (class: 
org.jboss.security.plugins.SecurityDomainContext)
  |   +- ClusteredXAConnectionFactory (class: 
org.jboss.jms.client.JBossConnectionFactory)
  |   +- TransactionSynchronizationRegistry (class: 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple)
  |   +- SecurityProxyFactory (class: 
org.jboss.security.SubjectSecurityProxyFactory)
  |   +- ConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
  |   +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
  |   +- TransactionManager (class: 
com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)
  |   +- timedCacheFactory (class: javax.naming.Context)
  | Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy 
cannot be cast to javax.naming.NamingEnumeration
  | 
  | 
  | Global JNDI Namespace
  | 
  |   +- UserTransactionSessionFactory (proxy: $Proxy104 implements interface 
org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
  |   +- UUIDKeyGeneratorFactory (class: 
org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
  |   +- HiLoKeyGeneratorFactory (class: 
org.jboss.ejb.plugins.

[jboss-user] [JBossWS] - Re: WSDL is correctly modified to use the configured https p

2008-12-28 Thread dejanmr
Issue can be resolved using instructions on this 
page:http://jbossws.jboss.org/mediawiki/index.php?title=Secure_transport

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198517#4198517

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198517
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   >