[jboss-user] [JBoss Messaging] - Re: Queues Grouping in JBoss Messaging 1.4

2009-06-24 Thread unwavering
Mr. ataylor,
The decision of moving to JBoss Messaging 2 is not mine.  According to my 
knowledge, it's still in Beta release.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239605
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - EAR packaging

2009-06-24 Thread amanmanocha
Hi,

Please help me understand the packaging of an ear. Here is one scenario :

Lets say there are two modules(ModuleA and ModuleB) in the system, both modules 
have their own set of session beans and entity beans.
Then there is another module (say a Facade) which makes use of session beans 
from both modules.

 
|---ModuleA
Client-Facade---
|---ModuleB


The Facade is exposed as RMI endpoint the clients.
If I package the entire application in one jar then every thing works fine but 
if I try to make separate jars for the two modules, I encounter a lot of 
problems.

Please help me understand how packaging of an ear is done when there are 
multiple persistence units.
Do I have to keep the session beans and entity beans in separate jar files?

Thanks in advance,
Aman

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239606
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to create persistent queues on the fly

2009-06-24 Thread jbmuser
jbmuser wrote : Hi Jeff,
  | Thank you for the quick response. 
  | I created a queue from JConsole using the operation createQueue of MBean 
org.jboss.messaging:module=JMS,type=Server and restarted the server. The 
queue disappeared after the server restart.
  | My understanding is that, if the queue is really durable and the issue is 
only with JNDI binding, then I should see the queue from JConsole even after 
server restart. Please advise. 
  | 
  | Thanks in advance.
  | Bijith Kumar

jmesnil wrote : How does the problem occur? Do you have an exception when 
looking up the queue in JNDI?
  | 
  | There is a bug in the creation of JMS queue using the management API.
  | The underlying core queue is durable and messages will survive server 
restart but when the server is restarted, the JMS queue is not bound to JNDI 
and can not be looked up.
  | 
  | We will fix the bug. In the meantime, a possible workaround for you is to 
always recreate the queue when the server is restarted using the management 
API. The 1st time, it will create the queue, the other times, the queue won't 
be created (it already exists) but the queue will be bound to JNDI again.
  | 
  | Tell us if this workaround works for you.
  | 
  | 
  | 
  | 


Hi Jeff,
Just created a persistent queue successfully using management API. The issue is 
that, even though the queues survive server restart (i.e. they ARE persistent) 
but wouldn't show up in JConsole after restart. I am able to obtain the 
reference of the queue and consume the pending messages even though the queue 
is not visible in JConsole. It seems the queues become sort of 'invisible' 
after restart. Btw, I noticed that BETA3 has changed some interfaces in 
management API. Below given is the new code snippet in case it helps anyone.

private static final String JMX_URL = 
service:jmx:rmi:///jndi/rmi://localhost:3000/jmxrmi;
  | JMXConnector connector = JMXConnectorFactory.connect(new 
JMXServiceURL(JMX_URL), new HashMap());
  | 
  |  MBeanServerConnection mbsc = 
connector.getMBeanServerConnection();
  | 
  |  ObjectName name=new 
ObjectName(org.jboss.messaging:module=JMS,type=Server);
  |  JMSServerControl control = 
(JMSServerControl)MBeanServerInvocationHandler.newProxyInstance(mbsc,name,JMSServerControl.class,false);
  |  control.createQueue(TestQ, TestQ); 

Bijith Kumar

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239607
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - sub process deploy by console

2009-06-24 Thread lpiccoli
hi all,

i have a sub process/inner process definition that are currently being deployed 
by the console app and using the 'binding=late' attribute. Everything is 
working ok.

However trying to deploy using the console app, (inner process  first, then sub 
process definition) without the 'binding=late' attribute, the inner 
definition is not found.

Is the problem due to console application using different context objects for 
the deployment? 

Or is there a simply solution to deploying a sub process using the console?

thanks

-lp

 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239610
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - can't deploy my JBoss Seam Portlet and JBoss JSF Portlet

2009-06-24 Thread ekusnady
Hello all,


i still can't deploy my JBoss Seam Portlet and JBoss JSF Portlet from Eclipse.
for the JBoss Portlet Bridge, i tried 3 diffrent version.
JBoss Portlet Bridge 1.0.0 B4, JBoss Portlet Bridge 1.0.0.B6 and JBoss Portlet 
Bridge 1.0.0.C4

Could anyone please tell me what i have to do?

This is the error i got from deploying JBoss Seam Portlet:
08:26:29,821 ERROR [MainDeployer] Could not start deployment: 
file:/D:/EnRiCo/Programmierung/Portlet/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_Portal_2.7_Server/deploy/testSeamPortlet.war/
org.jboss.deployment.DeploymentException: URL 
file:/D:/EnRiCo/Programmierung/Portlet/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_Portal_2.7_Server/deploy/testSeamPortlet.war/
 deployment failed
at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:386)
at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy201.start(Unknown Source)
at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.GeneratedMethodAccessor109.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at 
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at 
org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
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:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy202.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 

[jboss-user] [JBoss Messaging] - Re: How to find total mumber of messages in a queue (i.e. in

2009-06-24 Thread jbmuser
Hi Tim,
Just added a request in JIRA. 
https://jira.jboss.org/jira/browse/JBMESSAGING-1666

Bijith Kumar

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239613
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: JBoss 5.1 regression: ArjunaJTA loses stack trace

2009-06-24 Thread jaikiran
Not sure which is the best forum to discuss this, but i guess you can ask this 
in the JBoss Transactions user forum 
http://www.jboss.org/index.html?module=bbop=viewforumf=240. And in that post, 
please also post the 2 different versions of stacktrace that you see - one with 
the additional information and one without it.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239616
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Certificate and form login in one WAR

2009-06-24 Thread jfrederic.cl...@jboss.com
Yep just have 2 security-constraint in the web.xml one with:
transport-guaranteeCONFIDENTIAL/transport-guarantee
the other with something like:

  | auth-constraint
  |   role-namemanager/role-name
  | /auth-constraint
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239624
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Certificate and form login in one WAR

2009-06-24 Thread xmedeko
No, I do not mean transport CONFIDENTIAL, I mean client certificate 
authentication (CLIENT-CERT).

I.e. one servlet can be accesses only by a client with certain certificate 
(CLIENT-CERT) method, and another servlet accessed by user:password (FORM).

The servlet accessed by the CLIENT-CERT method is in fact accessed just by a 
Java Swing application, not by the browser. So I think I may code some 
solution, like that the Java app will send certificate in POST data.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239626
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - jsp portlet

2009-06-24 Thread ariel_red
I develop a jsp portlet in the jboss tools.But when I deploy the portlet in the 
jboss eap 4.3 ,the package of war  is always incomplete。Why is it?

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Install from Annotations

2009-06-24 Thread gurkanerdogdu
Hi;

Is there any class responsible for creating BeanMetaData class from annotated 
bean ? AFAIK, there is a BeanMetaDataBuilder class, but you have to set all of 
its parameters. 

Example : 
@Bean(name=person)
class Person(){}

BeanMetaData metaData =  MetaDataBuilder.parseClass(Person.class);

parseClass, parse all annotations from class and return configured 
BeanMetaData instance.

Thanks;

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239628
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Simple webservice : only one instance for all users

2009-06-24 Thread newman79
Hi all,

I'm a little new with JbossWS, so maybe the answer is trivial ...

My web service seems to be stateless : does it mean that an object of my 
endpoint class is instanciated at each request ?

But I'd like my webservice to keep the same endpoint class instance along all 
webservice lifetime ...

Does anyone know
how can I correctly prevent instanciation of my endpoint class at each request 
and keep the same since start deplyment to undeployment ?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239629
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - configure and start jboss mc

2009-06-24 Thread cuthbe
All can someone point me in the direction of the documents for configuring and 
starting jboss mc

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239631
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: configure and start jboss mc

2009-06-24 Thread jaikiran
This is a good start 
http://www.jboss.org/file-access/default/members/jbossmc/freezone/docs/2.0.x/userGuide/index.html

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239635
___
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: keyboard stop typing

2009-06-24 Thread nka
no, the user must enter 3 number without validation if he wants to add another 
number he must put comma after he can add numbers otherwise he can't
an idea?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: MyEclipse JBoss Tools

2009-06-24 Thread max.ander...@jboss.com
We can't fix issues caused by the closedsourced product named myeclipse. You 
need to talk with them and if they come back with info on what is causing it 
and we can do something about it let us know.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239638
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: Server started notification in JBAS 5.0.1?

2009-06-24 Thread simon_temple
Many thanks Peter

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239639
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: configure and start jboss mc

2009-06-24 Thread gurkanerdogdu
cuthbe wrote : All can someone point me in the direction of the documents for 
configuring and starting jboss mc

There are several classes you can look at
BasicBootstrap,StandaloneBootstrap, AbstractBootstrap

You can use Basic and Standalone using its main methods. 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Certificate and form login in one WAR

2009-06-24 Thread jfrederic.cl...@jboss.com
You can't have a multiple login-config in the web.xml of a webapp.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239641
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: MyEclipse JBoss Tools

2009-06-24 Thread jvincent
max.ander...@jboss.com wrote : We can't fix issues caused by the 
closedsourced product named myeclipse. You need to talk with them and if they 
come back with info on what is causing it and we can do something about it let 
us know.

sorry , i  forget write some import infomation.

i not use myeclipse, only eclipse 3.4.2 + jboss tools and got that excetion.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: MyEclipse JBoss Tools

2009-06-24 Thread jvincent
here is my exception

java.lang.NullPointerException
at 
org.jboss.tools.jst.jsp.outline.ValueHelper.updateFacelets(ValueHelper.java:336)
at org.jboss.tools.jst.jsp.outline.ValueHelper.init(ValueHelper.java:109)
at org.jboss.tools.jst.jsp.outline.ValueHelper.(ValueHelper.java:85)
at 
org.jboss.tools.jst.jsp.outline.JSPPropertySourceAdapter.(JSPPropertySourceAdapter.java:66)
at 
org.jboss.tools.jst.jsp.outline.JSPPropertySheetConfiguration$JSPPropertySourceProvider0.getPropertySource(JSPPropertySheetConfiguration.java:56)
at 
org.eclipse.ui.views.properties.PropertySheetEntry.getPropertySource(PropertySheetEntry.java:470)
at 
org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:752)
at 
org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:974)
at 
org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:490)
at 
org.eclipse.wst.sse.ui.internal.properties.ConfigurablePropertySheetPage.selectionChanged(ConfigurablePropertySheetPage.java:166)
at 
org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:218)
at 
org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156)
at 
org.eclipse.ui.internal.AbstractSelectionService.setActivePart(AbstractSelectionService.java:282)
at 
org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:59)
at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3491)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:610)
at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2832)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
at 
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:318)
at 
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:160)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:207)
at 
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
at 
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
at 
org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:50)
at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
at 
org.eclipse.ui.internal.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:184)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at 
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
at 
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:372)
at 
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at 

[jboss-user] [Microcontainer] - Re: Install from Annotations

2009-06-24 Thread alesj
You are already using it, see your first post. ;-)
 - AnnotationToBeanMetaDataFactory

Then it's up to the annotation plugins how they treat found annotations.
By default BasicBeanMetaDataAnnotationAdapter already has a bunch of them 
pre-configured.
But you can easily add your own, or override/replace existing.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Simple webservice : only one instance for all users

2009-06-24 Thread richard.opa...@jboss.com
newman79 wrote : 
  | Does anyone know
  | how can I correctly prevent instanciation of my endpoint class at each 
request and keep the same since start deplyment to undeployment ?
Upgrade to JBossWS 3.1.2

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239647
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: configure and start jboss mc

2009-06-24 Thread alesj
There are simple demos + bootstrap in MC demos project:
 - http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/

And the app. server's bootstrap has also been stripped out into separate 
project:
 - http://anonsvn.jboss.org/repos/jbossas/projects/bootstrap/trunk/

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Certificate and form login in one WAR

2009-06-24 Thread xmedeko
Hmm, yeah, thanks.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: multiple or with hibernate criteria

2009-06-24 Thread Wolfgang Knauf
Hi,

better ask this in the Hibernate forums: https://forum.hibernate.org/index.php

Best regards

Wolfgang

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Multiple Jboss Instances with different run.conf

2009-06-24 Thread wuschelz
Thanks Peter, just want make sure that there is no more elegant and more easy 
solution.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239654
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error while deploying a Visual JSF on JBoss 5.1.0 GA

2009-06-24 Thread Wolfgang Knauf
Hi,

does your own project contain the JSF implementation JARs (in WEB-INF\lib)? If 
yes: remove them, JBoss bundles the Sun reference implementation.

If you need another version, here is a page which shows how to configure JBoss 
to make this work: http://www.jboss.org/community/wiki/JBoss5AndMyFaces

Best regards

Wolfgang

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: sub process deploy by console

2009-06-24 Thread kukeltje
??? You write some contradictory things... what is an inner process? The 
subprocess should be deployed first, then the main/parent process

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - jsf portlet deploy

2009-06-24 Thread ariel_red
I develop a jsf portlet in jboss tools.But when I deploy it ,I meet the 
following 
error.17:11:47,171 INFO  [TomcatDeployer] deploy, ctxPath=/testPortal1, 
warUrl=.../dep
  | loy/testPortal1.war/
  | 17:11:47,484 ERROR [ContainerBase] Exception starting filter ajax4jsf
  | java.lang.ClassNotFoundException: org.ajax4jsf.Filter
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
  | der.java:1358)
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
  | der.java:1204)
  | at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio
  | nFilterConfig.java:249)
  | at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica
  | tionFilterConfig.java:397)
  | at 
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFi
  | lterConfig.java:108)
  | at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.
  | java:3720)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
  | 358)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
  | .java:752)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
  | 2)
  | at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
  | 
  | at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
  | ava:297)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
  | 64)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:53
  | 00)
  | at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
  | ava:297)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
  | 64)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(Tom
  | catDeployer.java:301)
  | at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeplo
  | yer.java:104)
  | at 
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
  | 
  | at org.jboss.web.WebModule.startModule(WebModule.java:83)
  | at org.jboss.web.WebModule.startService(WebModule.java:61)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
  | upport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
  | eanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.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(ReflectedDispatch
  | er.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
  | ler.java:978)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor9.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(ReflectedDispatch
  | er.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy201.start(Unknown Source)
  | at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:46
  | 6)
  | at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
  | at 

[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-24 Thread kennardconsulting
Perhaps I should open a JIRA for this?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239663
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EAR packaging

2009-06-24 Thread amanmanocha
Can the facade directly use the entities defined in the entities?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239665
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: MyEclipse JBoss Tools

2009-06-24 Thread max.ander...@jboss.com
okey, then please report it in jira with steps to reproduce.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: JBAOP-734 - what is the workaround?

2009-06-24 Thread NewWay
Eclipse TPTP - yes.

I don't use AOP directly I get it as part of JBOSS 4.2.3.GA - migrating to 5 
will get me a newer AOP version?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239676
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Install from Annotations

2009-06-24 Thread gurkanerdogdu
alesj wrote : You are already using it, see your first post. ;-)
  |  - AnnotationToBeanMetaDataFactory
  | 

I am totally lost my way in APIs, SPIs, Plugins :)

Thanks;

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239677
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error while deploying a Visual JSF on JBoss 5.1.0 GA

2009-06-24 Thread CeylonSoft
Hi Wolfgang,

I removed the JSF libraries from the WEB-INF\lib folder. Now I am getting the 
following exception:

Description: An unhandled exception occurred during the execution of the web 
application. Please review the following stack trace for more information 
regarding the error. 

Exception Details: java.lang.IllegalArgumentException 
  Cant create Lifecycle for id: com.sun.faces.lifecycle.PARTIAL.

Possible Source of Error: 
   Class Name: com.sun.faces.lifecycle.LifecycleFactoryImpl 
   File Name: LifecycleFactoryImpl.java 
   Method Name: getLifecycle 
   Line Number: 136 


Thanks,
Allen

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239688
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Migrating from Jboss MQ to Jboss Messaging:In Memory Queue

2009-06-24 Thread rahul_mishra02
Hi,

While using Jboss MQ ,my application used to specify a set of in memory queue 
as follows


  |   mbean code=org.jboss.mq.server.jmx.Queue
  |  name=jboss.mq.destination:service=Queue,name=nonpersistentQueue
  | depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  | attribute name=InMemorytrue/attribute
  |   /mbean
  | 

I am unable to figure out how to achieve an 'in memory' functionality using 
Jboss Messaging since the attribute is no longer supported.

Any pointers in this regard will be highly appreciated.

Thanks

P.S  
I can use a null persistence manager but that would change the behavior for all 
my queues, its just this one queue which should be in memory, the others should 
use the configured persistence manager


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239690
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: node.getChild() returning inconsistent results

2009-06-24 Thread galder.zamarr...@jboss.com
getChild() takes the fqn of the child, it's a relative method. Root already 
provides the first /, so the name of the child is without that first /: 
content/timestamp

If u used Cache rather than Node, you'd do the following using the absolute 
path:
cache.getNode(/content/timestamp);

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239695
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: BerkeleyDB Deadlock Exception from JBoss Cache Loader: B

2009-06-24 Thread galder.zamarr...@jboss.com
First of all, to generate thread dumps and see where threads holding write 
locks might be stuck, see generating thread dumps wiki: 
http://www.jboss.org/community/wiki/StackTrace

I must say that 100ms for lock timeout is pretty small. Something around 10-20 
seconds is more usual. Rather than increasing the lock timeout to insane 
numbers, use thread dumps to figure out what's holding up the progress or if 
there're any deadlocks...etc There're even tools like TDA or Samurai that can 
help analyze them.

WRT Caused by: java.lang.IllegalStateException: Cache not in STARTED state! 
message, that looks strange, did you check whether stop/destroy was called at 
some point?

Finally, when you say that your cache usage is very write heavy, do you mean 
that you call attach() loads of times? Or that once you've attached a Pojo to 
the cache, you modify it via its set methods very often?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239697
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: JBAOP-734 - what is the workaround?

2009-06-24 Thread jpviragine
You can keep using JBoss AS 4.2.3.

Just upgrade the version of JBoss AOP of your JBoss AS 4.2.3.
 
In JBoss AOP distribution, there is an ant script that upgrades  JBoss AOP of 
JBoss AS 4.2.3.



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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: spi.NotBoundException

2009-06-24 Thread kwesy
I find solution using the following in the conf/boostrap/deployers.xml

bean name=topContextComparator
  |  constructor 
factoryClass=org.jboss.system.deployers.LegacyDeploymentContextComparator 
factoryMethod=getInstance/
  |  property name=suffixOrder class=java.util.Map  
  |  map keyClass=java.lang.String valueClass=java.lang.Integer  
  |  entry  
  |key.sar/key  
  |value700/value  
  |  /entry  
  |  /map  
  |  /property
  |/bean


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239705
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Migrating from Jboss MQ to Jboss Messaging:In Memory Que

2009-06-24 Thread gaohoward
hi I don't think you can do this with jbm 1.4. 


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239708
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Migrating from Jboss MQ to Jboss Messaging:In Memory Que

2009-06-24 Thread rahul_mishra02
Oh 

I am using JBM 1.4.0 SP3 with Jboss AS 4.2.2..

Can someone confirm though..that this cannot be done?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239711
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-24 Thread gaohoward
Sure, thanks.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239714
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Problem when using Classes in a jar inside an ear outside a

2009-06-24 Thread pixelpate
Hello,

I have the following problem:

I have created a XMBean for JBoss. 
These MBean and other classes (come I later to speak still on it) I have packed 
into a sar file.
I have built the sar file according to conventions and then have packed it into 
an ear file.

The ear and sar were deployed on the JBoss server.
The MBean service is offered properly in the JMX-console.

Now I would like to launch the application (my Bean method startJCoServer ()) 
from the JMX-Console 
in order to start an application which should listen on a certain port.
The start process works as long as as I refer classes which are packed in the 
sar file.
But as soon as classes from jars are needed which are packed in the ear and 
outside the sar- file, I get a java.lang. NoClassDefFoundError.

My purposes:
1) The above service should launch a so-called JCo server (SAP Provider). 
This appplication accepts inquiries from SAP modules that arrivess at a special 
port.

2) I would like to launch this server already by the start of the JBoss server 
by the MBean and I want to stop and start the JCo Server from  the JMX-console 
at any time.

My questions:
A) What do I make wrong? 
B) Does not go thus at all?
C) Additional question, provided that the above problem is solvable:
Can one access a Session Bean that is packed in the ear and want be used by the 
JCo Server application created from classes inside the sar file?

My attempt:
I have extended in the SAR the MANIFEST file around suitable Classspath entries 
(entry jars from ear), but this has also not helped.

I am using JBoss 4.3

Greetings from Cologne

Peter Boxberg

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239721
___
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: Problems with one-to-many relationship mapping

2009-06-24 Thread nka
what kind of error you have,are you workin' with hibernate?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: multiple or with hibernate criteria

2009-06-24 Thread rizqureshi2
sorry, my bad :-)
I have already posted my plight on hibernate.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239723
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error while deploying a Visual JSF on JBoss 5.1.0 GA

2009-06-24 Thread Wolfgang Knauf
Hmm could you post the content of your WEB-INF\lib?

Best regards

Wolfgang

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239724
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: XML Escaping resourceURLs

2009-06-24 Thread chris.lap...@jboss.com
Seems like it might be a bug. Open a JIRA task for it and reference this forum 
post in it. If you could also attach a portlet (with associated code) that 
exhibits the issue and attach it to the JIRA task, that would also be helpful.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239725
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Migrating from Jboss MQ to Jboss Messaging:In Memory Que

2009-06-24 Thread ataylor
Howard is correct, this functionality does not exist in JBM. What semantics are 
you trying to achieve? as long as the messages you send are non persistent 
there should be no difference.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239726
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - java.lang.ClassCastException: org.jboss.resource.adapter.jdb

2009-06-24 Thread sanket.akre


Joined: Jul 16, 2008
Messages: 9


[Post New]posted Today 11:55:45 AM
Quote Edit [Up]
Hi,
I am using Connection pooling in Jboss 4.0 GA. In my application we are using 
Oracle object like ARRAY,TAB type etc for transactions.
My problem is that I have getting following error:
java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrappedConnection

Can you tell me how to resolve this issue?

Regards,
Sanket Akre


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239727
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Migrating from Jboss MQ to Jboss Messaging:In Memory Que

2009-06-24 Thread timfox
ataylor wrote : Howard is correct, this functionality does not exist in JBM.

To be more precise, this functionality does not exist in JBM 1.x, but it does 
exist in JBM 2.x

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239728
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Cross Page wiring in JBoss

2009-06-24 Thread chris.lap...@jboss.com
If you create a JIRA issue for this, please reference this forum post in the 
appropriate field of the JIRA issue as well.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Portlet development in Seam/JSF only ?

2009-06-24 Thread chris.lap...@jboss.com
The simple answer is: it won't. Portal works with portlets. Any web application 
cannot be deployed within it and expected to work. I work on the Portal itself, 
not on portlets so I don't have much experience on whether X framework would 
work well in a portal context or not, unfortunately. Basically, without a 
bridge, chances to get your app to work in Portal (or any portal for that 
matter) are close to none without some work. How much work is required depends 
on the web framework you are using. Sometimes, the only option is web scrapping.

Which web framework are you using?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239731
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: JBOSS Portal/OpenSocial Container (Shindig) Integration.

2009-06-24 Thread chris.lap...@jboss.com
The code is open source... You're welcome to contribute improvements... ;)

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239732
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: configure and start jboss mc

2009-06-24 Thread gurkanerdogdu
alesj
And the app. server's bootstrap has also been stripped out into separate 
project:
 - [url wrote : 
http://anonsvn.jboss.org/repos/jbossas/projects/bootstrap/trunk/[/url]

I think, for JBoss AS, basically it reads the bootstrap.xml file from the 
*conf/* location and start the magic from there. It installs each of the 
*bootstrap/*.xml* files.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239737
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - SessionContext not injected when using scoped class loaders

2009-06-24 Thread rubenvdg
Summary: When I configure the ear-deployer with isolated=true to have scoped 
class loading for each EAR, the session context is not injected (through 
@Resource) in my stateless session bean. When I switch isolated class loading 
off, the session context is injected. I package a more recent Hibernate version 
in the EAR. (so, the configuration of isolated does have an effect on the 
hibernate version used.)

More elaborate version:

I use JBoss 4.2.3.GA, running on Sun Java 1.6.0_14, on Linux amd64. The JBoss 
version is the version compiled for JDK5, but running on JDK6, with some 
libraries copied from the client dir to the lib/endorsed dir as mentioned 
in the release notes.

We want to standardize on a specific Hibernate version, independently of the 
Hibernate version that comes with JBoss. For this reason, we build our ear with 
the Hibernate libraries included. We use the following maven dependencies for 
Hibernate.

dependency
  |   groupIdorg.hibernate/groupId
  |   artifactIdhibernate-validator/artifactId
  |   version3.0.0.ga/version
  | /dependency
  | dependency
  |   groupIdorg.hibernate/groupId
  |   artifactIdhibernate-search/artifactId
  |   version3.0.0.GA/version
  |   exclusions
  | exclusion
  |   groupIdorg.hibernate/groupId
  |   artifactIdejb3-persistence/artifactId
  | /exclusion
  |   /exclusions
  | /dependency
  | dependency
  |   groupIdorg.slf4j/groupId
  |   artifactIdslf4j-api/artifactId
  |   version1.5.6/version
  | /dependency
  | dependency
  |   groupIdorg.slf4j/groupId
  |   artifactIdslf4j-log4j12/artifactId
  |   version1.5.6/version
  | /dependency
  | 

We also configured Hibernate to use cglib instead of javassist. (We got 
VerifyErrors because of final methods when we used javassist.) This is 
configured in the file deploy/ejb3.deployer/META-INF/persistence.properties.

hibernate.bytecode.provider=cglib

To make sure that our version of the Hibernate libraries gets loaded, we 
configure the ear-deployer and set the isolated property on true. This, as 
far as I understand it, means that when our application wants to load a class, 
the class loader will first search the EAR for the required class, and if it is 
not found in there, it will search the class in the libraries that come with 
the application server. It also means that classes loaded by EAR1 cannot be 
seen by EAR2. This is the behaviour that we want, independently of the 
Hibernate issue.

The framework code that we use (and have written), is available on ppwcode. The 
implementation of the session bean where I have the problem, is a subclass of 
the following abstract class JpaStatelessCrudDao. This is a generic class that 
implements CRUD operations on any entity (PersistentBean). For the 
implementation of security, we implemented a couple of annotations. These 
annotations are placed on the entity class and define which JAAS roles can 
create, update and delete entities of that type. In a subclass of 
JpaStatelessCrudDao, you need to implement the following abstract method.

protected abstract boolean isCallerInRole(String role);

We use a subclass of JpaStatelessCrudDao that is a stateless session bean. In 
that context, the implementation of isCallerInRole is as follows.

  @Override
  |   protected boolean isCallerInRole(String role) {
  | return getSessionContext().isCallerInRole(role);
  |   }

The session context is injected, and the relevant code is the following.

  public final SessionContext getSessionContext() {
  | return $sessionContext;
  |   }
  | 
  |   public final void setSessionContext(SessionContext sessionContext) {
  | $sessionContext = sessionContext;
  |   }
  | 
  |   @Resource
  |   private SessionContext $sessionContext;

When I run this code on JBoss 4.2.3.GA and call methods on the session bean 
(subclass of JpaStatelessCrudDao), I get a NullPointerException because the 
session context is null.

The stacktrace looks as the following:

javax.ejb.EJBException: java.lang.NullPointerException
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 

[jboss-user] [Microcontainer] - Deployers Ordering

2009-06-24 Thread richard.opa...@jboss.com
I have some troubles with deployers ordering if multiple deployers
provide many inputs. So I'm trying to understand how deployers
ordering works internally.
I'd expect the following test to fail:
---

// copy paste from DeployerFlowUnitTestCase

   public void testTransitionOrdering() throws Exception
   {
  DeployerClient main = createMainDeployer();
  TestFlowDeployer deployer1 = new TestFlowDeployer(A);
  deployer1.setInputs(3);
  deployer1.setOutputs(4);
  addDeployer(main, deployer1);

  TestFlowDeployer deployer2 = new TestFlowDeployer(B);
  deployer2.setInputs(1);
  deployer2.setOutputs(2);
  addDeployer(main, deployer2);

  TestFlowDeployer deployer3 = new TestFlowDeployer(C);
  deployer3.setInputs(2);
  deployer3.setOutputs(3);
  addDeployer(main, deployer3);

  Deployment deployment = createSimpleDeployment(TransitionOrdering);
  main.addDeployment(deployment);
  main.process();

  assertEquals(3, deployer1.getDeployOrder());
  assertEquals(1, deployer2.getDeployOrder());
  assertEquals(2, deployer3.getDeployOrder());
  assertEquals(-1, deployer1.getUndeployOrder());
  assertEquals(-1, deployer2.getUndeployOrder());
  assertEquals(-1, deployer3.getUndeployOrder());

  main.removeDeployment(deployment);
  main.process();

  assertEquals(3, deployer1.getDeployOrder());
  assertEquals(1, deployer2.getDeployOrder());
  assertEquals(2, deployer3.getDeployOrder());
  assertEquals(4, deployer1.getUndeployOrder());
  assertEquals(6, deployer2.getUndeployOrder());
  assertEquals(5, deployer3.getUndeployOrder());

  main.addDeployment(deployment);
  main.process();

  assertEquals(9, deployer1.getDeployOrder());
  assertEquals(7, deployer2.getDeployOrder());
  assertEquals(8, deployer3.getDeployOrder());
  assertEquals(4, deployer1.getUndeployOrder());
  assertEquals(6, deployer2.getUndeployOrder());
  assertEquals(5, deployer3.getUndeployOrder());
   }

---
I'd expect this test to fail because there's no deployer with 1 output?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: java.lang.ClassCastException: org.jboss.resource.adapter

2009-06-24 Thread jaikiran
You haven't posted your code, but i guess you are trying to cast the object 
return from a datasource.getConnection() method to something specific to 
oracle. Instead do this 
http://www.jboss.org/index.html?module=bbop=viewtopict=132443#4139037


P.S: Please do not copy paste the question from some other place. If you are 
running into issues please form your own question with the details while 
posting. Also while posting logs or xml content or code, please remember to 
wrap it in a code block by using the Code button in the message editor window. 
Please use the Preview button to ensure that your post is correctly formatted.



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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239752
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: jsf portlet deploy

2009-06-24 Thread prabhat....@jboss.com
When I tried it, I was successfully able to create it. Which version of JBoss 
Tools and portal are you using? I think it would be better for you to post this 
question in JBoss Tools user forum: 
http://www.jboss.org/index.html?module=bbop=viewforumf=201

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error while deploying a Visual JSF on JBoss 5.1.0 GA

2009-06-24 Thread CeylonSoft
Hi Wolfgang,

Here is the contents of WEB-INF/lib:

 Directory of F:\tmp\calendar\WEB-INF\lib

06/24/2009  08:42 AM  .
06/24/2009  08:42 AM  ..
06/23/2009  09:24 PM52,191 appbase.jar
06/23/2009  09:24 PM   116,021 commons-beanutils.jar
06/23/2009  09:24 PM   165,640 commons-collections.jar
06/23/2009  09:24 PM   106,929 commons-digester.jar
06/23/2009  09:24 PM21,890 commons-fileupload-1.0.jar
06/23/2009  09:24 PM30,914 commons-logging.jar
06/23/2009  09:24 PM   242,452 dataprovider.jar
06/23/2009  09:24 PM30,171 errorhandler.jar
06/23/2009  09:24 PM37,275 json-2.jar
06/23/2009  09:24 PM20,512 jstl.jar
06/23/2009  09:24 PM   173,394 sqlx.jar
06/23/2009  09:24 PM   388,851 standard.jar
06/23/2009  09:24 PM 2,478,333 webui-jsf-suntheme.jar
06/23/2009  09:24 PM 3,529,565 webui-jsf.jar
  14 File(s)  7,394,138 bytes
   2 Dir(s)  1,499,037,237,248 bytes free

F:\tmp\calendar\WEB-INF\lib

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239748
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Deployers Ordering

2009-06-24 Thread richard.opa...@jboss.com
And I'd expect the following test to pass:
---

   public void testWebServicesDeployersOrder() throws Exception
   {
  DeployerClient main = createMainDeployer();

  TestFlowDeployer deployer1 = new TestFlowDeployer(FakeDeployer);
  deployer1.setOutputs(WebServicesMetaData, WebServiceDeployment, 
JBossWebMetaData );
  addDeployer(main, deployer1);

  TestFlowDeployer deployer2 = new 
TestFlowDeployer(WebServicesDeploymentTypeDeployer);
  deployer2.setInputs(WebServicesMetaData, WebServiceDeployment, 
JBossWebMetaData );
  deployer2.setOutputs(DeploymentType, JBossWebMetaData);
  addDeployer(main, deployer2);

  TestFlowDeployer deployer3 = new 
TestFlowDeployer(WebServiceDeployerEJB);
  deployer3.setInputs(JBossWebMetaData, DeploymentType);
  deployer3.setOutputs(JBossWebMetaData);
  addDeployer(main, deployer3);

  TestFlowDeployer deployer4 = new 
TestFlowDeployer(WebServiceDeployerPreJSE);
  deployer4.setInputs(JBossWebMetaData, DeploymentType);
  deployer4.setOutputs(JBossWebMetaData);
  addDeployer(main, deployer4);

  TestFlowDeployer deployer5 = new TestFlowDeployer(AbstractWarDeployer);
  deployer5.setInputs(JBossWebMetaData);
  deployer5.setOutputs(WarDeployment);
  addDeployer(main, deployer5);

  TestFlowDeployer deployer6 = new TestFlowDeployer(ServiceCL);
  deployer6.setInputs(DeploymentType, WarDeployment);
  addDeployer(main, deployer6);

  Deployment deployment = createSimpleDeployment(testWSDeploymentOrder);
  main.addDeployment(deployment);
  main.process();

  System.out.println(D1:  + deployer1.getDeployOrder());
  System.out.println(D2:  + deployer2.getDeployOrder());
  System.out.println(D3:  + deployer3.getDeployOrder());
  System.out.println(D4:  + deployer4.getDeployOrder());
  System.out.println(D5:  + deployer5.getDeployOrder());
  System.out.println(D6:  + deployer6.getDeployOrder());

  assertEquals(1, deployer1.getDeployOrder());
  assertEquals(2, deployer2.getDeployOrder());
  assertEquals(3, deployer3.getDeployOrder());
  assertEquals(4, deployer4.getDeployOrder());
  assertEquals(5, deployer5.getDeployOrder());
  assertEquals(6, deployer6.getDeployOrder());
  assertEquals(-1, deployer1.getUndeployOrder());
  assertEquals(-1, deployer2.getUndeployOrder());
  assertEquals(-1, deployer3.getUndeployOrder());
  assertEquals(-1, deployer4.getUndeployOrder());
  assertEquals(-1, deployer5.getUndeployOrder());
  assertEquals(-1, deployer6.getUndeployOrder());

  main.removeDeployment(deployment);
  main.process();

  assertEquals(1, deployer1.getDeployOrder());
  assertEquals(2, deployer2.getDeployOrder());
  assertEquals(3, deployer3.getDeployOrder());
  assertEquals(4, deployer4.getDeployOrder());
  assertEquals(5, deployer5.getDeployOrder());
  assertEquals(6, deployer6.getDeployOrder());
  assertEquals(12, deployer1.getUndeployOrder());
  assertEquals(11, deployer2.getUndeployOrder());
  assertEquals(10, deployer3.getUndeployOrder());
  assertEquals(9, deployer4.getUndeployOrder());
  assertEquals(8, deployer5.getUndeployOrder());
  assertEquals(7, deployer6.getUndeployOrder());

  main.addDeployment(deployment);
  main.process();

  assertEquals(13, deployer1.getDeployOrder());
  assertEquals(14, deployer2.getDeployOrder());
  assertEquals(15, deployer3.getDeployOrder());
  assertEquals(16, deployer4.getDeployOrder());
  assertEquals(17, deployer5.getDeployOrder());
  assertEquals(18, deployer6.getDeployOrder());
  assertEquals(12, deployer1.getUndeployOrder());
  assertEquals(11, deployer2.getUndeployOrder());
  assertEquals(10, deployer3.getUndeployOrder());
  assertEquals(9, deployer4.getUndeployOrder());
  assertEquals(8, deployer5.getUndeployOrder());
  assertEquals(7, deployer6.getUndeployOrder());
   }


---
The test output is:
---

...
973 DEBUG [DeployersImpl] Fully Deployed testWSDeploymentOrder
D1: 1
D2: 4
D3: 2
D4: 3
D5: 5
D6: 6
...


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239756
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Deployers Ordering

2009-06-24 Thread richard.opa...@jboss.com
Cross reference: JBDEPLOY-201

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239758
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph

2009-06-24 Thread vnm
Hi,
   I am using jbpm-jpdl-suite-3.2.3 and below is my processdefinition in which 
I have configured super state



?xml version=1.0 encoding=UTF-8?
  | 
  | process-definition  xmlns=urn:jbpm.org:jpdl-3.2  name=SuperStateSample
  | 
  | 
  | start-state name=start-state1
  | transition to=node1/transition
  | /start-state
  | 
  | 
  | node name=node1
  | event type=node-enter
  | action name=action1 
class=testFolder.ActionHandler1/action
  | /event
  | transition to=node2/transition
  | /node
  | 
  | node name=node2
  | event type=node-enter
  | action name=action2 
class=testFolder.ActionHandler2/action
  | /event
  | transition to=super-state1/transition
  | /node
  | 
  | super-state name=super-state1
  | node name=node3
  | event type=node-enter
  | action name=action3 
class=testFolder.ActionHandler3/action
  | /event
  | transition to=join1/transition
  | /node
  | node name=node4
  | event type=node-enter
  | action name=action4 
class=testFolder.ActionHandler4/action
  | /event
  | transition to=join1/transition
  | /node
  | decision name=decision1
  | handler class=testFolder.DecisionHandler1/handler
  | transition to=node3/transition
  | transition to=join1 name=to join1/transition
  | /decision
  | decision name=decision2
  | handler class=testFolder.DecisionHandler2/handler
  | transition to=node4/transition
  | transition to=join1 name=to join1/transition
  | /decision
  | fork name=fork1
  | transition to=decision1/transition
  | transition to=decision2 name=to 
decision2/transition
  | /fork
  | join name=join1/join
  | transition to=node5/transition
  | /super-state
  | 
  | node name=node5
  | event type=node-enter
  | action name=action5 
class=testFolder.ActionHandler5/action
  | /event
  | transition to=end-state1/transition
  | /node
  | 
  | 
  | end-state name=end-state1/end-state
  | 
  | 
  | /process-definition




but on singnaling processinstance of this processdefition I am getting follwing 
warning which is because of using superstate in my processdefintion...


  | WARN  [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.def.SuperState 
- this operation breaks ==

And because of this problem nodes which are part of superstate are not called 
on execution of processinstance

Thanks in advance for help

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239762
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection

2009-06-24 Thread marius.bogoevici
Just a heads-up:  if you get the latest sources, you only need the 
jboss-spring-int-vfs jar, and please use:

org.jboss.spring.vfs.context.VFSXmlWebApplicationContext

A complete example is to be found here:

http://anonsvn.jboss.org/repos/jbossas/projects/spring-int/trunk/documentation/samples/web-scanning/

We'll follow by providing a set of downloadable jars shortly.





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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239767
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Re: Parameter of SOAP call is not received

2009-06-24 Thread Olivier Cailloux

Olivier Cailloux a écrit :
I am also looking for a way to enable debugging on the jboss side to 
see exactly what SOAP envelope is received from the clients, how it is 
parsed by jboss, and why it does not send the arg0 element to my code 
in the case of the R client... I tried to add the following to 
jboss-log4j.xml (and restarted the server), with no effect:

category name=org.jboss.axis.transport.http.AxisServlet
   priority value=DEBUG/
   /category
category name=org.jboss.web
   priority value=DEBUG/
   /category

Thank you for any help or pointer. I feel this problem must be very 
simple to solve but I am stuck there since several days.

Olivier




For those wondering: I got the debug informations using the following entry:
category name=org.jboss.ws
  priority value=DEBUG/
  /category


Pay attention to the fact that the console output is by default 
restricted to INFO, so the new ws DEBUG output could not appear on 
STDOUT but rather on the server log file.

Olivier



___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: jbosscache/jgroups replicated cache not working

2009-06-24 Thread joachimm
I should mention that we have another cache with a separate but similar config, 
that has only one writer and several of the readers have inconsistent views of 
the cache.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Is this JBoss or an iBatis issue? Classpath issues...

2009-06-24 Thread adriano...@gmail.com
Sorry to re-open such an old thread but, as my colleague above sad so 
perfectly, I'm also going nuts with this one.

Same problem: Ibatis, configuration files, mysql connector all inside a jar 
file.

When running my app, whenever I try to get a Reader from the 
resource(getResourceAsReader(packageA/packageB/dao.xml)) an IO.Exception is 
thrown (could not find resource at: packageA/packageB/dao.xml).

The xml file is inside the jar and I dont have a clue what I'm missing here.

Can anyone please give me some directions? 

Sir asack, did you solve that? What did you do?

Thanks in advance. Any help would be really darn good.

Thanks and sorry about my lousy english. 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - Re: About the UseParallelOldGC

2009-06-24 Thread PeterJ
Lock contention over common object, such as the free memory list? I really have 
not had time to investigate it.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239776
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Clustering of the Seam-booking example

2009-06-24 Thread pferraro
I was not able to reproduce this error myself.  The session created after login 
is successfully replicated to the other node.  May I ask the full extent of the 
changes you made to the booking example to enable clustering?

Regarding accessing both servers via a single IP, you'll need another server to 
act as a load balancer (e.g. Apache HTTP server w/ mod_proxy+mod_cluster, or 
mod_proxy+mod_proxy_balancer, or mod_jk).  The client will access the IP/port 
of the load balancer which in turn directs the request to one of the servers.  
More info here:
http://httpd.apache.org/docs/2.2/
http://www.jboss.org/mod_cluster
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html
http://tomcat.apache.org/connectors-doc/index.html

Regarding creating redundancy if one node fails, this is achieved through 
proper replication of all of the stateful elements of your application.  You've 
already enabled session replication, by adding  to web.xml.  You will also want 
to replicate any stateful session beans, by adding the @Clustered annotation to 
the bean classes.  If any of your entity beans use hibernate's 2nd-level cache, 
you'll need to configure hibernate to use a distributed 2nd-level cache, as 
described here:
http://www.jboss.org/community/docs/DOC-13200

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239777
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.g

2009-06-24 Thread vnm
From some of previous posts I found out that this msg is generated by 
hibernate bcz of lazy loading... But ppl had ended the topic concluding that 
this warning can be neglected..

But in my case I dont agree with that bcz after this warning appears ,execution 
of my processdefintion is halted apruptly in between.So it might be an error...

Or may be I have nt used superstate properly in my jpdl...So I'm confused all 
the way..

I really need some assistance for the same..

Regards,
vnm

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239778
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-24 Thread smar...@redhat.com
What could the solution be?  Should SessionBasedClusteredSession.writeExternal 
synchronize on the same session facade as RichFaces?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239779
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: gwt-console only a blank page

2009-06-24 Thread jbarrez
Try to check out the latest version - there was an issue with CR1 and the blank 
page (which was fixed in the official distribution but wasnt backported)

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239780
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Is this JBoss or an iBatis issue? Classpath issues...

2009-06-24 Thread jaikiran
anonymous wrote : whenever I try to get a Reader from the 
resource(getResourceAsReader(packageA/packageB/dao.xml)) an IO.Exception is 
thrown (could not find resource at: packageA/packageB/dao.xml). 

Please post your code as well as the exception stacktrace.

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239787
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: node.getChild() returning inconsistent results

2009-06-24 Thread drcallaway
galder.zamarr...@jboss.com wrote : getChild() takes the fqn of the child, 
it's a relative method. Root already provides the first /, so the name of the 
child is without that first /: content/timestamp
  | 
  | If u used Cache rather than Node, you'd do the following using the absolute 
path:
  | cache.getNode(/content/timestamp);

Thanks Galder. That makes sense but I'm having trouble reconciling your 
comments with this code right out of the JBoss Cache Users' Guide:


  |// Let's get a hold of the root node.
  |Node rootNode = cache.getRoot();
  | 
  |// Remember, JBoss Cache stores data in a tree structure.
  |// All nodes in the tree structure are identified by Fqn objects.
  |Fqn peterGriffinFqn = Fqn.fromString(/griffin/peter);
  | 
  |// Create a new Node
  |Node peterGriffin = rootNode.addChild(peterGriffinFqn);
  | 

This code uses an absolute value FQN to retrieve a node directly from the root 
node (not from cache). Perhaps the Users' Guide is incorrect?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239789
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-24 Thread smar...@redhat.com
What I mean, is should SessionBasedClusteredSession.writeExternal + 
SessionBasedClusteredSession.readExternal instead synchronize on getSession(), 
which should be the same StandardSessionFacade as RichFaces is synchronizing on.

I haven't recreated the bug yet.  I could either recreate it or you could try 
the following SessionBasedClusteredSession change (two line change to 
synchronize on common session facade) :

   public void readExternal(ObjectInput in) throws IOException, 
ClassNotFoundException
  |{
  |   synchronized (getSession())  // change 1 of 2
  |   {
  |  // Let superclass read in everything but the attribute map
  |  super.readExternal(in);
  |   
  |  attributes = (Map) in.readObject();  
  |   }
  |}
  | 
  |public void writeExternal(ObjectOutput out) throws IOException
  |{
  |   synchronized (getSession)  // change 2 of 2
  |   {
  |  // Let superclass write out everything but the attribute map
  |  super.writeExternal(out);
  |  
  |  // Don't replicate any excluded attributes
  |  Map excluded = removeExcludedAttributes(attributes);
  | 
  |  out.writeObject(attributes);
  | 
  |  // Restore any excluded attributes
  |  if (excluded != null)
  | attributes.putAll(excluded);
  |   }   
  |
  |}
  | 


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239792
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: SessionContext not injected when using scoped class load

2009-06-24 Thread jaikiran
Looking at the forum threads, you are not the first one to complain about this 
http://www.jboss.org/index.html?module=bbop=viewtopict=151427 So i guess, 
there's definitely some issue here. I have tried to reproduce this locally but 
haven't been successful yet. Could you please look at that other thread and 
provide the similar details i asked for. 

Also, could you try reproducing this against JBossAS-5.1.0?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239793
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Programmatically modifying the PortalNode-Tree?

2009-06-24 Thread TomHombergs
Hi,

we're tasked to integrate an existing cms into JBoss Portal, with the goal that 
the cms takes control over the portal structure. Thus, the cms (or rather the 
integration layer) has to modify the existing PortalNode-structure at runtime. 

The reference manual states
anonymous wrote : 
  | It is not possible to use the API to modify the tree shape because it is not
  | intended to be a management interface.

Now my question: Does such a management interface exist?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239796
___
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.0.x + Java 1.5 + OS X Leopard =

2009-06-24 Thread jaikiran
anonymous wrote : and it appears that I'm the only one with this issue!? 

Not the only one ;) 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4179238. 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239800
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMS over HTTPS:any alternative to jboss 4

2009-06-24 Thread yashendrac
Thanks for the wiki link timfox

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239806
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-24 Thread smar...@redhat.com
There are other code changes that go with the change but the above should be 
enough for you to test.

The super classes also need to change to synchronize on the getSession() 
instead of this.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239809
___
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.0.x + Java 1.5 + OS X Leopard =

2009-06-24 Thread idbill
Ok... I saw a reference to libtcnative being installed...

and found:
$ locate libtcnative
/usr/lib/java/libtcnative-1.0.1.14.dylib
/usr/lib/java/libtcnative-1.0.dylib
/usr/lib/java/libtcnative-1.a
/usr/lib/java/libtcnative-1.dylib
/usr/lib/java/libtcnative-1.la
/usr/lib/java/tcnative-1.5/libtcnative-1.0.1.14.dylib
/usr/lib/java/tcnative-1.5/libtcnative-1.0.dylib
/usr/lib/java/tcnative-1.5/libtcnative-1.a
/usr/lib/java/tcnative-1.5/libtcnative-1.dylib
/usr/lib/java/tcnative-1.5/libtcnative-1.jnilib
/usr/lib/java/tcnative-1.5/libtcnative-1.la
$ sudo mv /usr/lib/java/libtcnative-1.* /tmp

and viola! JBoss now works!

.. even with IPV6 entries in the /etc/hosts file


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239813
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: problem with examples and ant deploy.examples on jbpm-4.

2009-06-24 Thread jwerkmeister
and why do the excluded examples work when you run them with JUNIT then???

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239815
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-24 Thread nbelaevski
smar...@redhat.com wrote : What I mean, is should 
SessionBasedClusteredSession.writeExternal + 
SessionBasedClusteredSession.readExternal instead synchronize on getSession(), 
which should be the same StandardSessionFacade as RichFaces is synchronizing on.
  | 
  | I haven't recreated the bug yet.  I could either recreate it or you could 
try the following SessionBasedClusteredSession change (two line change to 
synchronize on common session facade) :
  | 
  |public void readExternal(ObjectInput in) throws IOException, 
ClassNotFoundException
  |   |{
  |   |   synchronized (getSession())  // change 1 of 2
  |   |   {
  |   |  // Let superclass read in everything but the attribute map
  |   |  super.readExternal(in);
  |   |   
  |   |  attributes = (Map) in.readObject();  
  |   |   }
  |   |}
  |   | 
  |   |public void writeExternal(ObjectOutput out) throws IOException
  |   |{
  |   |   synchronized (getSession)  // change 2 of 2
  |   |   {
  |   |  // Let superclass write out everything but the attribute map
  |   |  super.writeExternal(out);
  |   |  
  |   |  // Don't replicate any excluded attributes
  |   |  Map excluded = removeExcludedAttributes(attributes);
  |   | 
  |   |  out.writeObject(attributes);
  |   | 
  |   |  // Restore any excluded attributes
  |   |  if (excluded != null)
  |   | attributes.putAll(excluded);
  |   |   }   
  |   |
  |   |}
  |   | 
  | 
Yes, if synchronization will occur on StandardSessionFacade visible to the 
application/framework developers, than it should work ok. I haven't built JBoss 
AS before, so not sure whether I'll be able to make these changes and test; in 
any case, I'll try that and report.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239820
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem deploying my ear with admin-console.war

2009-06-24 Thread rwfuller
Still having the issue.  It appears to be a classpath issue where the 
admin-console application might be using the same jars from my application.  
And since we are on different versions, it might be causing the issue.  Is 
there a way to isolate the applications?

Thanks,
Wayne

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - JBOSS 5.1.0 admin and management console is not working remo

2009-06-24 Thread vishnureddy5678
Hello to everyone,
 
I had installed JBOSS 5.1.0 on ubuntu server 8.04. The installation was 
successful. I am able to run on the localhost machine on which JBOSS was 
installed using http://localhost:8080/admin-console and 
http://localhost:8080/jmx-console using username and password admin. 
But when i to run on remote machine entering the url with IP address of the 
localhost followed by port, can't open the page - could not connect to the 
server error. 
I apologize for asking a simple question. But before coming here i have done 
lot of research before. And i am also newbie   to both JBOSS and ubuntu linux. 
I appreciate your possible solution to this query. 

Thanks

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239826
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem deploying my ear with admin-console.war

2009-06-24 Thread PeterJ
This does sound like a classloader issue. Try asking on the Embedded Jopr forum 
(http://www.jboss.org/index.html?module=bbop=viewforumf=294), that's where 
the admin console developer hang out, you'll probably get more help there. 
(Don't repeat this post, just point to it.)

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239827
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-24 Thread smar...@redhat.com
It is easy to build (assuming 4.2.x):

cd jboss_4.2.x_tree
cd build
./build.sh
cd output
cd jboss-4.2.4.GA/bin
./run.sh -c all

I also attached the potential 4.2 code patch (need to get it reviewed still) to 
JBAS-5615.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239828
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBOSS 5.1.0 admin and management console is not working

2009-06-24 Thread PeterJ
https://www.jboss.org/community/wiki/JBoss42FAQ

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239830
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Is this JBoss or an iBatis issue? Classpath issues...

2009-06-24 Thread adriano...@gmail.com
Hey Jaikiran, thanks a lot for your support...

Here is the code..



  | 
  | DaoManager gerenteDB;
  | 
  | private static void carregarBD() {
  | 
  | try {
  | 
  | 
  | 
  | gerenteBD = DaoManagerBuilder.buildDaoManager(Resources
  | .getResourceAsReader(resource), 
properties);
  | } catch (DaoException e) {
  | e.printStackTrace();
  | } catch (IOException e) {
  | e.printStackTrace();
  | }
  | }

And here is the stack trace


  | 14:12:00,280 ERROR [STDERR] java.io.IOException: Could not find resource 
sped/contabil/entidade/dao.xml
  | 14:12:00,280 ERROR [STDERR] at 
com.ibatis.common.resources.Resources.getResourceAsStream(Resources.java:101)
  | 14:12:00,280 ERROR [STDERR] at 
com.ibatis.common.resources.Resources.getResourceAsStream(Resources.java:86)
  | 14:12:00,280 ERROR [STDERR] at 
com.ibatis.common.resources.Resources.getResourceAsReader(Resources.java:150)
  | 14:12:00,280 ERROR [STDERR] at 
sped.contabil.entidade.ConexaoBD.carregarBD(ConexaoBD.java:186)

I found the following link https://jira.jboss.org/jira/browse/JBAS-3086

On that link, it seems that is a workaround is explained but... I didn't quite 
get it.

Is my doubt understandable now? If not, please ask for any detail you'd like 
because, I gotta admit, I have no further ideas for this problem.

Thanks a lot.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239832
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Is this JBoss or an iBatis issue? Classpath issues...

2009-06-24 Thread adriano...@gmail.com
In time,

resource is a String with the content: sped/contabil/entidade/dao.xml


Thanks

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239833
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Deploying WebService from JDeveloper 10.1.3.2 to JBoss 4

2009-06-24 Thread PeterJ
Chairill, please do not append unrelated questions to 2-year-old posts. One a 
new post instead. And when you do, supply more information about your web 
services (you have obviously deployed more than one); class declarations with 
annotations would help.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239834
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - CMS Portlet question

2009-06-24 Thread ndrw_cheung
Hi, all. I'm using JBOSS portal version 2.4, JBOSS AS version 4.0.5GA. In my 
portal I have 2 pages - page A and page B, each containing a different instance 
of the CMS portlet. On page A, the instance of CMS portlet points to the 
content file contentA.html. On page B, the instance of CMS portlet points to 
the content file contentB.html. In contentB.html, it contains a link to another 
content file, namely contentC.html.  (note : all these content*.html files are 
uploaded into CMS through the admin interface).

When a user goes to page B, the content in contentB.html shows up. The user 
then clicks on the link (which points to contentC.html), then the content in 
contentC.html shows up. Now the user goes to page A, contentA.html shows up. 
When the user now goes to page B again, contentC.html is still showing. 

My question is : is there a way (be it configuration or otherwise) so that in 
the above scenario, after the user goes to page A and then back to page B again 
that contentB.html shows up instead of contentC.html?

In other words, I need the CMS portlet instance to forget which content file 
it's showing if the user goes to another page. When the user comes back to that 
page, then it will load the first page that the instance is pointing to.

Thanks in advance for answering.

  -Andrew

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239839
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBOSS 5.1.0 admin and management console is not working

2009-06-24 Thread vishnureddy5678
Thanks, I got it working

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239840
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: inject beans from a remote server with annotations

2009-06-24 Thread SunFire
Quite disappointing. :(

But thanks for the info.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239841
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: both deployment methods fail - WAR and exploded in J5GA

2009-06-24 Thread jbosseval1
jaikiran wrote : This one is incorrect:
  | 
  | web-app version=2.4 
  |   | xmlns=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; 
  |   | 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/web-app_2_4.xsd;
  | 
  | 
  | Try this instead
  | 
  | web-app version=2.4 xmlns=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/web-app_2_4.xsd;
  | 
  | I'm having the same error with jboss 5.1. I tried the above but it didnt 
help
here is my new error:
anonymous wrote : 
  | 2009-06-24 14:15:10,359 ERROR 
[org.jboss.web.tomcat.service.deployers.JBossContextConfig] (main) XML error 
parsing: WEB-INF/context.xml
  | org.jboss.xb.binding.JBossXBException: Failed to parse source: Element 
{http://java.sun.com/xml/ns/j2ee}web-app is not bound as a global element.
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
  | 

Previously the context.xml had
web-app xmlns=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/web-app_2_4.xsd;
  | version=2.4
and the error was anonymous wrote : 
  | 2009-06-23 19:10:47,702 ERROR 
[org.jboss.web.tomcat.service.deployers.JBossContextConfig] (main) XML error 
parsing: WEB-INF/context.xml
  | org.jboss.xb.binding.JBossXBException: Failed to parse source: Element 
web-app is not bound as a global element.
  | 

Questions
1) is this because of a syntax error?
2) is it because I'm using the default server and it is not web-app aware.
3)how do I make jboss start the server named web instead of default

Note: I had to rename web.xml to context.xml in the war folder for jboss
Note2: Tried moving the WAR into web/deploy (the web profile) and ran run.sh 
-c web   got the same error in the log.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239843
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: XML Escaping resourceURLs

2009-06-24 Thread apemberton
Agreed with Chris here. The default value for the javax.portlet.escapeXml 
runtime option should be true. See: 
http://www.andypemberton.com/portal/jsr286-tag-library-and-xml-escaping/

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239845
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-24 Thread smar...@redhat.com
If you have difficulties applying/building the patch, I'll try to recreate/test 
instead.  Let me know either way.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239846
___
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 deploy Visual JSF project on Netbeans 6.5.1 to

2009-06-24 Thread PeterJ
The code is possibly complaining about the lack of a JNDI name (it appears that 
the code is attempting to look up the datasource by name and not finding it).

First, did you create a *-ds.xml file for your datasource and did you deploy it 
first? If you did not, you need to do that first. If you have a *-ds.xml file, 
add another entry to your jboss-web.xml file:

?xml version=1.0 encoding=UTF-8?
  | jboss-web
  |   resource-ref
  | res-ref-namejdbc/TRAVEL_ApacheDerby/res-ref-name
  | jndi-namejava:--the jndi name of your datasource, from 
*-ds.xml--/jndi-name
  |   /resource-ref
  |   security-domain flushOnSessionInvalidation=false/
  |   context-root/SinglePageCrudTable/context-root
  | /jboss-web
  | 
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239848
___
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 deploy Visual JSF project on Netbeans 6.5.1 to

2009-06-24 Thread CeylonSoft
Hi Peter,

Thank you for the inputs. I was wondering if you can pointme in the write 
direction where I might information on creating the -ds.xml file and how I 
should bundle it.

Thanks,
Best Wishes,
Allen

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239853
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >