[jboss-user] [Clustering/JBoss] - Re: Is clustering possible for JBoss.org community edition?

2008-05-08 Thread comunere
Thank you Brian,

I had a such confusion. Now it seems clear... I hope ;-). Thank you.
John M.

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

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


[jboss-user] [JBoss jBPM] - Re: Invoking webservice from action

2008-05-08 Thread jagr
Ok. That it's correct, but how can I call this webservice client if my 
websercive client it's on another project out of jbpm project.
Should I import entire webserviceclient project into jbpm project?
I'm using eclipse 3.0.3,  jbpm 3.2.2 and webservice client it's generated with 
axis2 and it's project standalone.
Maybe there are easy way to create webservice client into jbpm project?

I'm confused

Thanks

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

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


[jboss-user] [JBoss Messaging] - getting messages by the order they were sent

2008-05-08 Thread subrata_jboss
Hi ,
 Can any body please help me in my problem...

  I am running producer to send 1 message in the queue and consumer is not 
running , so the data get saved in to the mysql data base i configured.and
i stopped the producer.

Now again i start producing data and in the mean time i started consumer again, 
what i observed that my consumer is getting recent data produced
, not the data which is persisted (i.e not following the order)

so if i want to get the data of some particular time interval when my consumer
was not active, and starting the consumer now i am getting the recent data
which creating problem for me.

Any advice will be greatly appreciated.
(Where as in Apache ActiveMQ does that)

  

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

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


[jboss-user] [JBoss Portal] - Re: 2.6.4 bundle : resp.signOut() raise an exception

2008-05-08 Thread [EMAIL PROTECTED]
To sign out the best way is to pass where to redirect the user:

resp.signOut("http://www.jboss.org";);
or
resp.signOut("/foo/bar");

That said now if you do resp.signOut(); it will redirect to the default portal.

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

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


[jboss-user] [JCA/JBoss] - No Managed connection available within configured blocking t

2008-05-08 Thread ckpatil
I am using jboss 3.2.6, hibernate 2.0. Everything was working properly. Before 
3 days I stated using my application on a huge DB. it is 50GB DB on sql server. 
After running the application for 8 hours continuously, I got No Managed 
connection available exception. I restarted jboss and again after 9 to 10 hours 
same thing happens. Here is the log.

2008-05-07 21:03:14,576 ERROR errors - Error occured...
com.iri.common.exception.JFRunTimeException
at com.iri.common.dao.JFBaseDAO.getConnection(JFBaseDAO.java:64)
at 
com.iri.common.dao.SQLServerIRIConfigureService.getValueForField(SQLServerIRIConfigureService.java:26)
at org.apache.jsp.jobdetails_jsp._jspService(jobdetails_jsp.java:114)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Unknown 
Source)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(Unknown 
Source)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Unknown Source)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.jboss.util.NestedSQLException: No ManagedConnections available 
within configured blocking timeout ( 3 [ms] ); - nested throwable: 
(javax.resource.ResourceException: No ManagedConnections available within 
configured blocking timeout ( 3 [ms] ))
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Unknown Source)
at com.iri.common.dao.JFBaseDAO.getConnection(JFBaseDAO.java:62)
... 39 more
Caused by: javax.resource.ResourceException: No ManagedConnections available 
within configured blocking timeout ( 3 [ms] )
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(Unknown
 Source)
at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(Unknown
 Source)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConn

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Cluster and context parameters

2008-05-08 Thread gejzir
Hi All,

I have a JSF/facelets web application which works well in single server mode. 
Now I try to set up clustering, and I'm running into a problem. 

We have a PrettyUrlPhaseListener, which reads the URL mappings from the context 
parameters placed in the web.xml file.


org.ajax4jsf.VIEW_HANDLERS
com.sun.facelets.FaceletViewHandler


 
com.sun.faces.sandbox.urlPatterns 
 
...
URL mappings
...



Deploying the war file under the "default" config in jboss 4.2.2 works fine, 
the phase listener reads the parameters from the web.xml using:

FacesContext context;
...
String patternInitParam = 
context.getExternalContext().getInitParameter(URL_PATTERNS_INIT_PARAM); 

The same war file deployed under the "all" configuration on the same jboss 
4.2.2 application server sees no context parameters. Even the 
context.getExternalContext().getInitParameterMap() returns null.

What am I missing here? Is it a clustering config issue or a tomcat config 
issue?
Where do I have to set up context-parameters for web applications if not in the 
war packaged web.xml file?


Thanks in advance:
Gejzir

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

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


[jboss-user] [JBoss Portal] - Re: Page layout: 3columns layout error

2008-05-08 Thread [EMAIL PROTECTED]
jamesl, i think you mixed multiple versions of the portal.

I guess you talked about the file located in:
jboss-portal.sar/conf/theme/portal-layout.tld which has the correct path to the 
ThemeTagHandler 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Default ports?

2008-05-08 Thread vestlink
Hi.

Hope this is the right place to ask the questions

I'm trying to install JBoss application Server 4.2.2.GA in a very restricted 
network. In fact all ports are closed by default.

In order for Jboss to work i need to know all the ports used by JBoss so they 
can be opened.

My questions are

Do the ports get assigned dynamically?
Is there a fixed range of port (not taking into account if the ports are change 
manually)?

Hope you can enlighten a JBoss newbie.

Yours,


Nicolai

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: No ClassLoaders found for: com.mchange.v2.c3p0.jboss.C3P

2008-05-08 Thread ckpatil
With JMX jars I am getting a different error. Well, I tried again by taking a 
fresh Jboss install and then added just c3p0 jar file in lib and also added 
c3p0-service.xml file in deploy folder. Now, when I start jboss it throws below 
exception. But this exception doesn't block/stop any thing, the pool gets 
created and my application runs fine. I couldn't figure out how to disabling 
this exception. again this is related to JMX only.

2008-05-08 21:10:53,095 INFO  com.mchange.v2.c3p0.C3P0Registry - jdk1.5 
management interfaces unavailable... JMX support disabled.
java.lang.ClassNotFoundException: No ClassLoaders found for: 
java.lang.management.ManagementFactory
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(Unknown Source)
at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(Unknown 
Source)
at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.mchange.v2.c3p0.C3P0Registry.(C3P0Registry.java:132)
at 
com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.(PoolBackedDataSourceBase.java:228)
at 
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.(AbstractPoolBackedDataSource.java:62)
at 
com.mchange.v2.c3p0.ComboPooledDataSource.(ComboPooledDataSource.java:109)
at 
com.mchange.v2.c3p0.ComboPooledDataSource.(ComboPooledDataSource.java:105)
at 
com.mchange.v2.c3p0.jboss.C3P0PooledDataSource.(C3P0PooledDataSource.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at org.jboss.mx.server.MBeanServerImpl.instantiate(Unknown Source)
at org.jboss.mx.server.MBeanServerImpl.instantiate(Unknown Source)
at org.jboss.mx.server.MBeanServerImpl.createMBean(Unknown Source)
at org.jboss.system.ServiceCreator.install(Unknown Source)
at org.jboss.system.ServiceConfigurator.internalInstall(Unknown Source)
at org.jboss.system.ServiceConfigurator.install(Unknown Source)
at org.jboss.system.ServiceController.install(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(Unknown Source)
at org.jboss.mx.server.Invocation.dispatch(Unknown Source)
at org.jboss.mx.server.Invocation.dispatch(Unknown Source)
at org.jboss.mx.server.Invocation.invoke(Unknown Source)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Unknown Source)
at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
at org.jboss.mx.util.MBeanProxyExt.invoke(Unknown Source)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(Unknown Source)
at org.jboss.deployment.MainDeployer.deploy(Unknown Source)
at org.jboss.deployment.MainDeployer.deploy(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(Unknown Source)
at org.jboss.mx.server.Invocation.dispatch(Unknown Source)
at org.jboss.mx.server.Invocation.dispatch(Unknown Source)
at org.jboss.mx.server.Invocation.invoke(Unknown Source)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Unknown Source)
at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
at org.jboss.mx.util.MBeanProxyExt.invoke(Unknown Source)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(Unknown 
Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(Unknown 
Source)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(Unknown
 Source)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Unknown 
Source)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(Unknown 
Source)
a

[jboss-user] [Clustering/JBoss] - Re: jboss 4.0.2 + cluster is not working

2008-05-08 Thread xps2nini2000
The problem is with vista.Mod_jk i snot working with vista.When i tried it on 
windows 2000 .Its saying mod-jk initialized.But http://localhost/jmx-console is 
 saying same thing httpdocs/jmx-console not found.Please help me out.


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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: How to access JBOSS by providing IP address

2008-05-08 Thread priyarao234
Hi Aneesh thankQ I'm having one more doubt regarding JMS.. i.e 
i'm using JBOSSMQ as JMS Provider and in my publisher program i'm using 
PERSISTENT like below but while running the consumer program the same 
message is at first time and that is fine.. and i'm closing the consumer 
program and then again i' running the consumer program but the same message is 
again consumed. But actually ones the message is consumed after that it has to 
be expired so please provide the solution...and how the publisher program knows 
that the message was consumed or not ? plz fell free to giv reply..
publisher.publish(msg,

javax.jms.DeliveryMode.PERSISTENT,

javax.jms.Message.DEFAULT_PRIORITY, 0);

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

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


[jboss-user] [JBoss Portal] - Re: Page layout: 3columns layout error

2008-05-08 Thread jamesl
I had the following error when trying out the myLayout example:

anonymous wrote : 13:30:31,464 ERROR [STDERR] 
org.apache.jasper.JasperException: /layouts/twoColumns.jsp(7,3) Unable to load 
tag handler class "org.jboss.portal.core.theme.tag.ThemeTagHandler" for tag 
"p:theme"
  | 
After some digging I saw that the path in the portal-layout.xml file was 
incorrect.
It should have been

org.jboss.portal.theme.tag.ThemeTagHandler

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

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


[jboss-user] [JBoss Portal] - Re: Unable to load tag handler class : org.jboss.portal.core

2008-05-08 Thread jamesl
Did you solve this issue?

I have the same problem and I am trying to work out which JAR the class is in.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Apache and JBoss Critical Issue

2008-05-08 Thread milangothe
Hi,

Help will be greatly appriciated.

We have apache and Jboss with mod_jk in Linux Machine configured.
And we are connecting our application with MSSQL Server 2000 SP4 in Windows 
2003 Server. And we are facing some error with these configuration they are 
"Connection reset" and Broken Pipe""

And i've also include some of the error code:


Broken pipe - ERROR
---
2008-05-06 08:54:40,893 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] 
Servlet.service() for servlet jsp threw exception
com.inet.tds.SQLException: java.net.SocketException: Broken pipe
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at com.inet.tds.j.a(Unknown Source)
at com.inet.tds.a.a(Unknown Source)
at com.inet.tds.b.try(Unknown Source)
at com.inet.tds.b.executeQuery(Unknown Source)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:211)
--
Connection resrt - ERROR
---
2008-05-06 09:32:03,635 INFO [STDOUT] com.inet.tds.SQLException: 
java.net.SocketException: Connection reset
2008-05-06 09:32:03,635 INFO [STDOUT] java.net.SocketException: Connection reset
2008-05-06 09:32:03,636 INFO [STDOUT] at 
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
2008-05-06 09:32:03,636 INFO [STDOUT] at 
java.net.SocketOutputStream.write(SocketOutputStream.java:136)
2008-05-06 09:32:03,636 INFO [STDOUT] at com.inet.tds.j.a(Unknown Source)
2008-05-06 09:32:03,636 INFO [STDOUT] at com.inet.tds.a.a(Unknown Source)
2008-05-06 09:32:03,636 INFO [STDOUT] at com.inet.tds.b.try(Unknown Source)
2008-05-06 09:32:03,636 INFO [STDOUT] at com.inet.tds.b.execute(Unknown Source)
2008-05-06 09:32:03,636 INFO [STDOUT] at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.execute(WrappedPreparedStatement.java:183)


--
the above error code may help to find the solutions. 

I have my application using Apache 2.0.52 and JBoss4.0.3SP1 version configured 
in Enterprise Linux 4ES and database server MS-SQL Server 2000 in Windows 2003 
Server.

And Apache and Jboss is integrated with mod_jk as a AJP13 connector. And 've 
configured JBoss in a default mode. How can we check whether the JBoss is 
running in the hibernet mode?

And i'm using Merlia driver for Database.I'd also like to tell you that it is 
working fine locally with the same configuration. And is it possible to send me 
some kind of detail procedures to test everything all the services.

Thanks
Milan Gothe 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149639
___
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 create message factory for SOAP & Assembling t

2008-05-08 Thread Levi.Lelis
I managed to solve this by using the newest version of jUDDI - 2.0rc5 - and by 
deleting the saaj.jar that comes along with jUDDI.war.

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

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


[jboss-user] [Clustering/JBoss] - Clustering with UDP or TCP - What is best?

2008-05-08 Thread dmurphy
Hi - we have started trying to understand the best (most reliable, most 
performant) networking configuration for clustering with JBOSS AS..

It appears (from the standard, shipped service xml) that JBOSS recommends UDP 
multicast as the best way to support session replication and distributed 
caching with tree cache.

But you also provide a sample (commented) TCP based configuration. Could you 
JBOSS guys elaborate a little on when moving to the TCP config would be 
recommended? What are the reasons one might move the stack to TCP? I am 
assuming that JGroups deals internally with the non guaranteed nature of UDP 
packet receipt.


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

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


[jboss-user] [Remoting] - Create Data Source on Remote JBoss instance

2008-05-08 Thread srikanth_vals
Hi,
   I would like to create a JDBC datasource on a remote JBoss instance. 
Does JBoss provide any API to do it?

-Sri

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

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


[jboss-user] [JBossWS] - Setting context-path in xml for ejb endpoint

2008-05-08 Thread lent
Hi,

I would like to set the context-path for the web service in xml file 
(jboss.xml?) rather than with WebContext annotation, for an ejb endpoint.  I 
believe I read in some other post that this may be supported starting some 
version and I'm trying to figure out from which JBossWS version this is 
supported and which xml file you put this config info in.

Regards,
Len

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

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


[jboss-user] [JBoss Messaging] - Re: Improve performance on sending messages to a queue

2008-05-08 Thread paradisonoir
anonymous wrote : I wonder if doing the sending inside a Worker could enhance 
performance

What do you mean by that? 

Does your worker send your messages to another node or application first, or 
you directly return your message to the Jboss? 



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

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


[jboss-user] [JBoss Messaging] - Add setters/getters to the JMX MBean interface to MDB?

2008-05-08 Thread SteveStair
JMX is exposing an interface to my MDB, under jboss.j2ee. It looks like this
jboss.j2ee
  | * ear=DVS3App-M3.ear,jar=Core-M3.jar,name=MailMessageBean,service=EJB3

This MBean exposes start() and stop() operations in the JMX console. My 
question is, is there any way to add a setter/getter to that MBean.

I know I can get similar functionality by making a separate MBean with 
setters/getters and then have my MDB get the info from this MBean, but I 
thought since JBoss is already making an MBean, I might be able to piggyback on 
it, thus keeping config and management of my MDB in one place.

If I can't add getters/setters to the generated MBean, is there any way to add 
the same management capabilities to my own MBean?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149619
___
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: Demand Size increases

2008-05-08 Thread paradisonoir
Thanks for your feedback, I hope that I can clarify them better.

anonymous wrote : It's not clear how you measure your object. 
Well, that was one of my main questions how I can that. During my 
investigations, I became interested in knowing how Jboss folder-mainly the 
built-in database- changes its size as I add number of demands. Therefore, I 
measured the size of our Jboss folder before and after of each test case. For 
example, after sending 300 JMS object messages from a demand generator, we saw 
that our Jboss folder 2129k.b change of size. Then by assuming equation 
(2129/300 = 7.10k.b), each demand could be 7.10k.b. 
I am not sure if this assumption can be correct or not as it is part of my 
question.

 anonymous wrote : 
  | Messages/sec... size of those objects? what are those?

I explained the size of those objects, but for the number of messages, we have 
two nodes of generators and workers. Generators generates demands (JMS object 
messages) and workers process them and return their results. In this test case, 
our generator initiates and sends out 300 demands. 


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

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


[jboss-user] [Messaging, JMS & JBossMQ] - configure the pool instance for an mdb separately

2008-05-08 Thread eefth79
how to configure the mdb pool instance for a specific mdb? The 
standardjboss.xml provides a configuration for all the queues, by setting the 
max size in the invoker proxy binding. I just want to configure separately each 
mdb. Does anybody know? Thanks in advance

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149610
___
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: Demand Size increases

2008-05-08 Thread [EMAIL PROTECTED]
It's not clear how you measure your object.


It's not clear also what are those numbers.


Messages/sec... size of those objects? what are those?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Measure size of a JMS object message

2008-05-08 Thread paradisonoir
Hi,
Is there any way that we can measure the size of each jms object messages in 
Jboss Application server?

Thanks,

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

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


[jboss-user] [JBoss Portal] - Do applications run under portal must be portlets?

2008-05-08 Thread paulctam
Hello,

   My company is investigating on using JBoss Portal. We have many legacy 
applications written as regular webapps and we also need to integrate with 3rd 
party web applications such as crystal report. My question is can I deploy a 
regular webapp under Portal without being wrapped around as a portlet? I know 
we can use portlet bridge but I heard that the apps won't always run smoothly.

Thanks,
PT

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

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


[jboss-user] [Security & JAAS/JBoss] - SSL Ciphers

2008-05-08 Thread simvtran
OS: Linux
Test1: JBoss-4.0.2 with jdk 1.4
Test2: JBoss-4.3.0-eap with jdk 1.5

I tested both setup and SSL ciphers for 256-bit was not seen by the security 
scan. I currently have the following SSL ciphers in the server.xml file:

ciphers="SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_DSS_WITH_AES_128_CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA"

When the server is scanned, the 128-bit is picked up. However, when I change it 
to use 256-bit, the scan doesn't see the 256-bit. What do I need to use the 
256-bit ciphers? Are there any other ciphers I am missing, beside the anonymous 
ciphers?

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

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


[jboss-user] [JBoss jBPM] - Re: fork (concurrency) help

2008-05-08 Thread shettytejesh
After posting my question and going through the jbpm doc, I did understood the 
GOP execution strategy and realized I will have to use async='true'.

Thanks for the help.






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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149589
___
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: Demand Size increases

2008-05-08 Thread paradisonoir
In order to add more information about my question, I should add that our 
environment configuration is :

Jboss Application Server (4.2.2.GA  
(build:SVNTag=JBoss_4_2_2_GA date=200710221140)
  | JVM Version: 1.5.0_06-b05 (Sun Microsystems Inc.)
  |   | Using Jboss messaging and JMS with the Jboss built-in database.
  | 
  | As I want to send a demand, I set the persistency like below in my code.
  |   | producer.setDeliveryMode(DeliveryMode.PERSISTENT);
  | 
  | But what our demand is just JMS object messages which is specific to our 
computing domain. You can consider it as a simple JMS object message. We do not 
use any sort of Hibernate, but we do use Serialization in some parts. I am 
using the built-in Hypersonic database in Jboss without any modification in the 
database level. 

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

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


[jboss-user] [JBoss jBPM] - Re: fork (concurrency) help

2008-05-08 Thread estaub
Adding async="true" to the node on each leg will make it execute independently. 
 I don't know how/if this works if you are not persisting; someone else may 
know.  If you are persisting, you'll need to use a database with good isolation 
and transaction characteristics - in particular, not HSQL.

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

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


[jboss-user] [JBoss jBPM] - Re: jpdl and sca tuscany integration - any?

2008-05-08 Thread kukeltje
- jpdl is not targeted at component assembly, it is targeted at BPM. 
- sca is incubator
- it is number x in the line of apache esb/soa/ projects

why not use jboss ESB with jpdl in it?

anonymous wrote : Albeit - I am not the only one seeking this 
How do you know?

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

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


[jboss-user] [JBoss jBPM] - Re: fork (concurrency) help

2008-05-08 Thread kukeltje
jbpm does *not* make multiple threads for each of the legs of the forks.  

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

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


[jboss-user] [JBoss jBPM] - Re: Please view Sexy_dance

2008-05-08 Thread kukeltje
hell? how do I get there??? Is that near dublin?

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

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


[jboss-user] [JBoss jBPM] - Re: Is it possible???

2008-05-08 Thread kukeltje
if you do not want to put it as an action on the transition basic jbpm 
functionality then make a jsf backing bean out of it and do not use the 
jbpm transition button

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

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


[jboss-user] [JBoss jBPM] - Re: advice needed, simultaneously active tasks where there i

2008-05-08 Thread kukeltje
if you signal a token instead of ending a task (and have that signal the token) 
you get unfinished tasks but tasks not related to a token anymore so 
unexpected behaviour (like you have now)

just my 0.01 eurocents 

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

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


[jboss-user] [JBoss jBPM] - Re: how to function jbpm in network????

2008-05-08 Thread kukeltje
the url is the hostname and port of the appserver your app is running on, 
combined with the context the app is deployed on. Standard java stuff

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

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


[jboss-user] [JBoss jBPM] - Re: integration with JBoss Rules engine?

2008-05-08 Thread kukeltje
good advice umquat. People should learn to think out of the box while 
implementing processes

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

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


[jboss-user] [JBoss jBPM] - Re: Where and how to define new users?

2008-05-08 Thread kukeltje
anonymous wrote : But still I'm confused. I cannot understand the relation 
between swimlanes, actors, the users and the groups I can define in the 
jbpm-console. 

In addition to salaboys' comments, I'd suggest to just experiment a little and 
learn while making mistakes. Or read some tutorial or buy a book on jbpm (or 
even generic concepts like swimlane, actor, group etc)

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

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


[jboss-user] [JBoss jBPM] - Re: Invoking webservice from action

2008-05-08 Thread kukeltje
Salaboy is correct. That would have been my answer to.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configuring JBoss to follow soft links

2008-05-08 Thread VinitAdhopia
Hello,

I have some soft links within my web app, but JBoss refuses to follow them, 
givinig 404 errors.  I've double and triple checked that the paths are correct 
and that the jboss user has permissions to access the soft links.  How can I 
configure JBoss AS to allow soft links?

Thanks in advance for your help.

Vinit Adhopia

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuring separate log file for application

2008-05-08 Thread PeterJ
Does this help: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133780

P.S. It would help if you posted only the changes to the jboss-job4j.xml, 
instead of the whole things..

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

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


[jboss-user] [JBoss Portal] - Re: SHARING THE SESSION BETWEEN THE PORTLETS DEPLOYED AS SEP

2008-05-08 Thread rammyramkumar
Thanks again , my situation is i wanted all the portlets in separate war files 
to know the currently logged in user and his associated roles. iam 
authenticating against LDAP and also getting details from LDAP. 

so how i can make all the portlets to get this details? Does individual 
Portlets should handle this? 

so when multiple user logs will this be a show stopper ? 

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

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


[jboss-user] [JBoss jBPM] - Re: New application brewing, need some advice

2008-05-08 Thread johncarl81
heheheh, thanks for the clarification.

I think we are going to build out a couple of Services... that could be 
integrated into an ESB in future cases.  We're a pretty small shop right now so 
I don't think it makes a lot of sense.

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

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


[jboss-user] [JBoss Portal] - Re: SHARING THE SESSION BETWEEN THE PORTLETS DEPLOYED AS SEP

2008-05-08 Thread [EMAIL PROTECTED]
There is no work-around to share session data between separate web apps. This 
is more a limitation of how web applications work than portlets.
You could:
* bundle the portlets in the same web application
* try to avoid sharing data altogether
* use inter-portlet communication with portlet 1.0 (proprietary to portal 
providers)
* use public shared render parameters and/or events with portlet 2.0. This is 
not yet available in JBoss Portal but will be in 2.7. Portlet 2.0 is 
implemented in JBoss Portlet Container 2.0, currently in beta but this is not a 
complete portal solution.

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

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


[jboss-user] [JBoss Portal] - Re: SHARING THE SESSION BETWEEN THE PORTLETS DEPLOYED AS SEP

2008-05-08 Thread rammyramkumar
thanks for the immediate reply to the post. do u think is there any work around 
for this scenario? Does any tweak in the configuration help me in this regards?

thanks again.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: accessing Jboss from intranet

2008-05-08 Thread majhong
No, no events in the event log under internet explorer, applications, security 
or system.

I hadn't thought of checking that. Thanks.

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

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


[jboss-user] [JBoss Portal] - Re: Making a Portlet Remotable using Portlet Container 2.0

2008-05-08 Thread finnessyj
Thanks for the help, Chris. Looking forward to seeing WSRP abstracted in the 
future.

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

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


[jboss-user] [JBoss jBPM] - Re: Error deploying jpbm-console 3.2

2008-05-08 Thread pvile
also remember to change your dialect in the hibernate.cfg.xml.  It happens if 
the datasource is correct, but you forgot to update the dialect

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

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


[jboss-user] [JBoss Portal] - Re: Making a Portlet Remotable using Portlet Container 2.0

2008-05-08 Thread [EMAIL PROTECTED]
Beta release of?
The extraction of WSRP is on our internal roadmap but I cannot offer any 
timeline at this point.

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

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


[jboss-user] [JBoss Portal] - Re: SHARING THE SESSION BETWEEN THE PORTLETS DEPLOYED AS SEP

2008-05-08 Thread [EMAIL PROTECTED]
Yes. The specification is quite clear about this: sharing session data only 
works between portlets deployed in the same web application (war file).

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

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


[jboss-user] [JCA/JBoss] - Quartz-ra + JobstoreCMT + XA

2008-05-08 Thread pkles
Hi,

I´ve been struggling for one entire week trying to figure out how to make 
the quartz resource adapter to work with jobstoreCMT and XA datasources. 
Finally I assume I ended seting all the thing up in the correct way cause I can 
see the jobs related data in the quartz DB and also because the calls made from 
quartz are being correctly delivered to the 
org.jboss.resource.adapter.quartz.inflow.QuartzJob class. 

The problem arises when the following code executes on this class:


  | ...
  | MessageEndpointFactory endpointFactory = 
(MessageEndpointFactory)jobExecutionContext.getJobDetail().getJobDataMap().get("endpointFactory");
  |  endpoint = endpointFactory.createEndpoint(null);
  | ...
  | 

Here I am getting a NPE when createEndpoint(null) is called over the endpoint 
object, as this object is null.  (Line: 53)

The endpoint is being putted in the jobDataMap by the 
QuartzResourceAdapter.java class when the endpoint is activated.

Clue: The import javax.resource.spi.endpoint.MessageEndpointFactory is not 
Serializable itself, but maybe the underlying class that implements this 
interface, also implements the serializable one so that´s is why Im not 
getting an exception for being not serializable...

Am I doing something wrong or this resource adapter does not work with 
JobStoreCMT and XA datasources obtained from the Application server?

Thanks.






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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149540

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Hot deploy configuration..

2008-05-08 Thread RayN
Hi all,
I already look in google but i din't find the answer for my problem...
In my company we use jboss as server aplication, but every time we need to 
change some .java (from EJB 2.0)...we need to recompile de .jar and restart 
jboss to make the changes...This has been a waste of time...can we hot deploy 
the jar archives withou restart jboss?

Thanks,

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

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


[jboss-user] [JBoss Portal] - Re: Making a Portlet Remotable using Portlet Container 2.0

2008-05-08 Thread finnessyj
Any idea when there would be a Beta release available?

Thanks.

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

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


[jboss-user] [JBoss Portal] - SHARING THE SESSION BETWEEN THE PORTLETS DEPLOYED AS SEPARAT

2008-05-08 Thread rammyramkumar
i have this situation where i need to share the session between the two 
portlets which are deployed as two different war files. 

i tried putting the values in the APPLICATION_SCOPE but it is returning null 
when i try to retrieve the data from session in the other portlet.

Any ideas regarding this ?

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

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


[jboss-user] [JBoss Portal] - Re: Making a Portlet Remotable using Portlet Container 2.0

2008-05-08 Thread [EMAIL PROTECTED]
No, it's not possible at this point. WSRP is scheduled to be extracted from 
Portal in a future release to allow for such a use case.

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

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


[jboss-user] [Clustering/JBoss] - Re: jboss 4.2.2 with jgroups 2.5

2008-05-08 Thread [EMAIL PROTECTED]
We haven't done any testing with anything beyond 2.4.1.SPx, but it should work. 
 But you'll need to test.  If you want to upgrade, suggest going with JGroups 
2.6.2.

You may get some WARN messages in the logs about deprecated configuration 
parameters; the messages tell you what the parameters are; you can just remove 
them from your configs.

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

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


[jboss-user] [Clustering/JBoss] - Re: JBossTreeCache issues

2008-05-08 Thread [EMAIL PROTECTED]
Check the logs of the server that's providing the state to see if it shows 
anything.  If not, try turning on TRACE logging for org.jboss.cache and 
org.jgroups.protocols.UDP to get more detail on what's going on.

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

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


[jboss-user] [Clustering/JBoss] - Re: Is clustering possible for JBoss.org community edition?

2008-05-08 Thread [EMAIL PROTECTED]
http://www.jboss.org/jbossas/docs/

There is no such term as JBoss (community edition). :)  The term JBoss AS 
refers to the jboss.org application server project, which I assume is what you 
mean.  Red Hat also sells subscriptions for the JBoss Enterprise Application 
Platform (aka EAP), which has the same clustering features as the jboss.org 
project.

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

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


[jboss-user] [EJB 3.0] - Re: MappingException: Repeated column in mapping for entity

2008-05-08 Thread neilson
Hello folks,
In fact, you should not define an extra class attribute for the discriminator 
column. Probably this is the cause of your error.
So, your class might look like this:

@Entity @Table(name="products")
  | @Inheritance(strategy=InheritanceType.SINGLE_TABLE)
  | @DiscriminatorColumn(name="type_product")
  | public class Product implements Serializable {
  |  private String field1;
  |  private String field2;
  | ...
  |  //No typeProduct attribute here
  | 
  | }

And then, in your Product based class(es) (EletronicProduct for instance), you 
would have:

@Entity @DiscriminatorValue("E")
  | public class ElectroProduct extends Product {
  | 
  |   private String field1;
  | ...
  | }

I was having a similar error but using the "Joined-Subclass" approach.
After reading your posts I found out that I really had a repeated column, but 
It was not that obvious because it was coming by inheritance. So, in this case, 
you shouldn't create "Id" attributes for your based classes because they 
already inherit one from the base class. That's when I was getting the 
"Repeated column in mapping for entity".
FYI,  my classes look like these (doing in the "Joined-Subclass" way):

@Entity @Table(name="products")
  | @Inheritance(strategy=InheritanceType.JOINED)
  | public abstract class Product implements Serializable {
  | protected Integer id;
  | protected String name;
  | ...
  | }

@Entity @Table(name="products_category1")
  | @PrimaryKeyJoinColumn(name="idCat1", referencedColumnName="id")
  | public class ProductsCategory1 extends Products implements Serializable {
  | @Id @GeneratedValue(strategy=GenerationType.IDENTITY)
  | private Long idCat1;
  | @Column(name="field1")
  | private double field1;
  | ...
  | }
  | 
@Entity @Table(name="products_category2")
  | @PrimaryKeyJoinColumn(name="idCat2", referencedColumnName="id")
  | public class ProductsCategory2 extends Products implements Serializable {
  | @Id @GeneratedValue(strategy=GenerationType.IDENTITY)
  | private Long idCat2;
  | @Column(name="field1")
  | private double field1;
  | ...
  | }


So. as inheritance concept says, ProductCategory1 and ProductCategory1 will 
inherit "id" attribute and thus,
the lines
 @Id @GeneratedValue(strategy=GenerationType.IDENTITY)
  | private Long idCat1;

and

@Id @GeneratedValue(strategy=GenerationType.IDENTITY)
  | private Long idCat2;
 
will cause this problem to occur.


I hope I have helped

Neilson

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

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


[jboss-user] [JBossWS] - Re: Cannot Rename web.xml

2008-05-08 Thread bsisson
Additional information, if I attempt to do a full publish again it is during 
this second full publish that I get the "Endpoint already registered" exception 
for my web service.

13:23:08,646 INFO  [TomcatDeployer] undeploy, ctxPath=/PSDynamicWebProject, 
warUrl=.../deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/
13:23:08,661 INFO  [EJBContainer] STOPPED EJB: 
org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
13:23:08,677 WARN  [JmxKernelAbstraction] 
jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
 is not registered
13:23:08,677 INFO  [EJBContainer] STOPPED EJB: 
org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
13:23:08,677 WARN  [JmxKernelAbstraction] 
jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
 is not registered
13:23:08,677 INFO  [PersistenceUnitDeployment] Stopping persistence unit 
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject
13:23:08,677 INFO  [SessionFactoryImpl] closing
13:23:08,677 INFO  [SessionFactoryObjectFactory] Unbinding factory from JNDI 
name: 
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject
13:23:08,677 INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
13:23:08,677 INFO  [SessionFactoryObjectFactory] Unbound factory from JNDI 
name: 
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject
13:23:08,677 WARN  [JmxKernelAbstraction] 
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 
is not registered
13:23:08,692 INFO  [EARDeployer] Undeploying J2EE application, destroy step: 
file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/
13:23:08,692 INFO  [EARDeployer] Undeployed J2EE application: 
file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/
13:23:08,692 INFO  [EARDeployer] Init J2EE application: 
file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/
13:23:09,239 WARN  [MainDeployer] Found non-jar deployer for jboss-seam.jar: 
MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
13:23:11,020 WARN  [DeploymentInfo] Only the root deployment can set the loader 
repository, ignoring config=LoaderRepositoryConfig(repositoryName: 
seam.jboss.org:loader=PSDynamicWebProject, repositoryClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, 
repositoryConfig: java2ParentDelegation=false)
13:23:11,755 ERROR [MainDeployer] Could not create deployment: 
file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/
java.lang.IllegalStateException: Endpoint already registered: 
jboss.ws:context=PSDynamicWebProject,endpoint=TestWs
at 
org.jboss.wsf.framework.management.DefaultEndpointRegistry.register(DefaultEndpointRegistry.java:89)
at 
org.jboss.wsf.framework.management.ManagedEndpointRegistry.register(ManagedEndpointRegistry.java:59)
at 
org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect.create(EndpointRegistryDeploymentAspect.java:46)
at 
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
at 
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
at 
org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:79)
at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
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 $Proxy54.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
a

[jboss-user] [JBossWS] - Cannot Rename web.xml

2008-05-08 Thread bsisson
I created a web service using annotations and am deploying it to a JBoss Server 
in Eclipse.  I have JBoss Tools deployed into Eclipse.  I am running Eclipse 
3.3 and JBoss 4.2.2GA.  With my web service running I make a change to a class 
file (not the web service but a class in the same directory).  I am then 
prompted to continue, stop or restart.  I select continue and then I go to my 
JBoss Server view and right click on my web service module and select full 
deploy.  I get the following error:   Cannot rename web.xml.  I'm curious how 
to prevent the error and in addition how to make live updates that will be 
propogated to JBoss without having to restart everytimg?

13:17:15,545 INFO  [TomcatDeployer] undeploy, ctxPath=/PSDynamicWebProject, 
warUrl=.../deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/
13:17:15,670 INFO  [EJBContainer] STOPPED EJB: 
org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
13:17:15,670 WARN  [JmxKernelAbstraction] 
jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
 is not registered
13:17:15,670 INFO  [EJBContainer] STOPPED EJB: 
org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
13:17:15,670 WARN  [JmxKernelAbstraction] 
jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
 is not registered
13:17:15,670 INFO  [PersistenceUnitDeployment] Stopping persistence unit 
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject
13:17:15,686 INFO  [SessionFactoryImpl] closing
13:17:15,686 INFO  [SessionFactoryObjectFactory] Unbinding factory from JNDI 
name: 
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject
13:17:15,701 INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
13:17:15,701 INFO  [SessionFactoryObjectFactory] Unbound factory from JNDI 
name: 
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject
13:17:15,701 WARN  [JmxKernelAbstraction] 
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 
is not registered
13:17:15,717 ERROR [MainDeployer] Deployer destroy failed for: 
file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/
org.jboss.wsf.spi.deployment.WSFDeploymentException: 
javax.xml.ws.WebServiceException: Cannot rename web.xml: 
C:\Eclipse\Servers\jboss-4.2.2.GA\jboss-4.2.2.GA\server\all\deploy\PSDynamicWebProject-ear.ear\PSDynamicWebProject.war\WEB-INF\web.xml.org
at 
org.jboss.wsf.spi.deployment.WSFDeploymentException.rethrow(WSFDeploymentException.java:54)
at 
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.failsafeDestroy(DeploymentAspectManagerImpl.java:190)
at 
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.undeploy(DeploymentAspectManagerImpl.java:162)
at 
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.undeploy(ArchiveDeployerHook.java:111)
at 
org.jboss.wsf.container.jboss42.DeployerInterceptor.destroy(DeployerInterceptor.java:112)
at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.destroy(SubDeployerInterceptorSupport.java:204)
at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:103)
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 $Proxy54.destroy(Unknown Source)
at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:704)
at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:696)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:639)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:632)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:615)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.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

[jboss-user] [Security & JAAS/JBoss] - SHARING SESSION BETWEEN THE PORTLETS. PROBLEM WITH APPLICATI

2008-05-08 Thread rammyramkumar
hi 

i have this scenario , i have different portlets deployed as a separate war 
files and i like to share datas which i intend to keep it in the session. i 
want to share the data between the portlets. 

i tried APPLICATION_SCOPE , i.e i get the session from the request object in 
Portlet 1 and set values in the APPLICATION_SCOPE there and i try to get it the 
Portlet 2 from the session(which again i get it from the request object).

But iam getting the null in the portlet 2. 

what am i do for this to happen.

Any ideas?





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

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


[jboss-user] [JBossWS] - Re: Annotation to specify WS url

2008-05-08 Thread rcarmichael
Well I like answering my own questions.. indeed, there is an annotation for 
this:
org.jboss.wsf.spi.annotation.WebContext

Thanks!

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

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


[jboss-user] [JBossWS] - Annotation to specify WS url

2008-05-08 Thread rcarmichael
So far I have been able to use web services in JBoss without having to modify 
my web.xml (or any xml files really) at all thanks to great annotations. 
However, I recently started adding version numbers to my wars/ears/jars and 
this has caused a number of problems. One of them is that JBoss uses Ear + Jar 
filename as the URL. So if I had A-0.3.2.ear containing EJB B-0.8.6.jar 
containing C.java which is a @WebService, the URL for the WSDL will be :

http://localhost:8080/A-0.3.2-B-0.8.6/C?WSDL

This is extremely inconvenient. Is there a way for me to specify in the 
annotations what the URL for the web service should be?

Thanks,
- Ryan

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

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


[jboss-user] [JBoss jBPM] - Re: Generating forms problem

2008-05-08 Thread coolex
Ok, thank you very much. It is now working.

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

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


[jboss-user] [JBoss Portal] - Re: Implementing portlet-specific help

2008-05-08 Thread dvanwest
How about having your doHelp() method call your doView() method with an extra 
attribute, then have the doView() pop a help window or overlay?  Or forget the 
help mode and just embed a help icon in your view mode.  

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

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


[jboss-user] [JBoss Portal] - Making a Portlet Remotable using Portlet Container 2.0

2008-05-08 Thread finnessyj
Is it possible to make a portlet running with Portlet Container 2.0 remotable 
without running the full install of JBoss portal? Can I just deploy the 
portal-wsrp.sar?

Thanks for any response.

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

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


[jboss-user] [JNDI/Naming/Network] - connect to defaultds

2008-05-08 Thread AJanz
hi 

i am trying to connect to the defaultds. but i got the error "DefaultDS not 
bound"

when  i use the jndiview from web-console i see that it is there

i use the following code, what am i doing wrong?


  |   Hashtable env;
  |   env = new Hashtable();
  |   env.put("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
  |   
env.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jn.interfaces");
  |   env.put("java.naming.provider.url","jnp://localhost:1099");
  |   Context  initContext = new InitialContext(env);
  |   DataSource ds = (DataSource)initContext.lookup(dataSourceName);
  | 

server runs in a seperate window.

my code is executed with eclipse

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configuring separate log file for application

2008-05-08 Thread jplenhart
Hi,

We have scoured the internet and forums here and found a number of posts 
regarding our problem - however we have failed to reache resolution around 
something on the face seems relatively simplistic.  We would like to log our 
application loggers to a different file.

Couple of observations:

1)  The file is created on the server
2) I only see what appears to be transaction monitoring logging (Arjuna)

One Note about the File below:
1) The category is right below the appender entry

Any help would be much appreciated -- thank you.


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://jakarta.apache.org/log4j/"; 
debug="false">
  | 
  |
  |
  |
  | 
  |
  |
  |   
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |  
  |  
  | 
  |  
  |   
  |
  | 
  |
  | 
  |
  |
  |
  | 
  |
  |   
  |   
  |   
  | 
  |   
  |  
  |  
  |   
  |
  |   
  |
  |
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  |
  |
  |  
  |  
  |  
  | 
  |  
  |  
  | 
  |  
  | 
  |  
  | 
  | 
  | 
  | 
  |  
  |   
  | 
  |
  |
  | 
  | 
  | 
  |
  |
  |
  |
  | 
  |
  |
  |   
  |
  | 
  |
  |
  |   
  |
  |
  |
  |
  |   
  |
  |
  |
  |
  |   
  |
  | 
  |
  | 
  |
  |
  |   
  |
  | 
  |
  |
  |
  |
  |   
  |
  |
  |
  | 
  |
  | 
  |
  |   
  |
  | 
  |
  |
  |
  |
  |
  |
  | 
  |
  |   
  |   
  |   
  |
  | 
  | 
  | 
  | 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Critical JBoss Isssue

2008-05-08 Thread milangothe
Hi George,

Thanks for the reply.

I have my application using Apache 2.0.52 and JBoss4.0.3SP1 version configured 
in Enterprise Linux 4ES and database server MS-SQL Server 2000 in Windows 2003 
Server.

And Apache and Jboss is integrated with mod_jk as a AJP13 connector. And 've 
configured JBoss in a default mode. How can we check whether the JBoss is 
running in the hibernet mode?

And i'm using Merlia driver for Database.I'd also like to tell you that it is 
working fine locally with the same configuration. And is it possible to send me 
some kind of detail procedures to test everything all the services.

Thanks
Milan Gothe





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

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


[jboss-user] [JBoss Messaging] - Re: Unable to deserialize objects inside onmessage() method:

2008-05-08 Thread [EMAIL PROTECTED]
Do you have a testcase?

Also.. shouldn't you be using a MDB inside the container?

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

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


[jboss-user] [JBoss jBPM] - Re: Generating forms problem

2008-05-08 Thread salaboy21
i Think there is no naming convention for this.. you also look at the file 
forms.xml where the name of the Form and the Form Name.. it look something like 
this:


  | 
  |   
  | 
  | 

Look for no spaces in this names and also look for the capital letters


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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Controlling access web apps

2008-05-08 Thread elvisd
You mean that for every web application i should configure an host?


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

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


[jboss-user] [Beginners Corner] - Re: JBOSS portal 2.6.4 didn't start

2008-05-08 Thread PeterJ
Do this. Open a command prompt, cd to the jboss_home/bin directory, and the 
enter: run

Post the results.

You might also have to edit run.bat to comment out the "echo off" command.

Also, see http://wiki.jboss.org/wiki/en/FindstrCommandNotFound


BTW, you might also have better luck with JDK 5, there are issues with JDK 6, 
especially if you plan on using WSRP.



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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: accessing Jboss from intranet

2008-05-08 Thread george001
Do you have a message in the Event Log in windows when you attempt that 
connection?

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

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


[jboss-user] [JBoss jBPM] - Re: Invoking webservice from action

2008-05-08 Thread salaboy21
I think this is a very easy task.. 
you only need to use/call your generated clients inside the action code...

for example: 

  | public class MyActionHandler implements ActionHandler{
  |  public void execute(){
  |   WebServiceCliente.webServiceMethod();
  |  }
  | }
  | 

Sounds to me that i don't understand your question.. let me know..

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

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


[jboss-user] [JBoss jBPM] - Re: Generating forms problem

2008-05-08 Thread coolex
Well, I tried it but I have still the same problem. I just created two 
different fields with labels and created a new button. Then I clicked on "OK". 
At the end I deployed my process and that's all. I tried the new process (new 
ID in the console) but still don't see the form.
Maybe there is something like a naming convention?



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

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


[jboss-user] [JBoss jBPM] - Invoking webservice from action

2008-05-08 Thread jagr
How can I configure jbpm to action invoke a webservice?

I want to action in my process, invoke a webservice thats it's on other 
machine. I've only a wsdl.

I've worked with webservices with axis2 and I 've created clients, but in jbpm 
I don't know how can I do this.

Somebody can tell me a tutorial or example?

Thanks

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

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


[jboss-user] [JBoss jBPM] - Could not instantiate the Process Instance

2008-05-08 Thread dilsent
Hi,

I am using Seam-2.0.2.CR1 with jBPM .I am running into an isssue,would

apreciate if anyone could help me on that.

I am trying to create a process from a JSF page.

Code:


http://www.w3.org/1999/xhtml";
xmlns:s="http://jboss.com/products/seam/taglib";
xmlns:ui="http://java.sun.com/jsf/facelets";
xmlns:f="http://java.sun.com/jsf/core";
xmlns:h="http://java.sun.com/jsf/html";
xmlns:a4j="http://richfaces.org/a4j";
xmlns:rich="http://richfaces.org/rich";>








MAIN PORTION OF STACK










Timer







The "State" button invokes the createProcess method in my stateful bean



import javax.ejb.Remove;
import javax.ejb.Stateful;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Destroy;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Out;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.bpm.CreateProcess;
import org.jboss.seam.log.Log;
import org.jbpm.graph.exe.ProcessInstance;
import com.allconnect.viper.interfaces.local.SalesProcessFlowLocal;

/

@Stateful
@Scope( ScopeType.SESSION )
@Name( "salesProcessFlow" )
public class SalesProcessFlow implements SalesProcessFlowLocal
{
private String processtokens = "start";

@In(value="processInstance", required=false, 
scope=ScopeType.BUSINESS_PROCESS)
@Out(value="processInstance", required = false )
private ProcessInstance processInstance;

@Logger
private static Log logger;



/**
 * Default Constructor.
 */
SalesProcessFlow()
{

}

/**
 * Method is used to retrieve token information.
 * [EMAIL PROTECTED]
 */

@CreateProcess( definition = "SalesFlow" )
public void createProcess()
{

}
   
/**
 * [EMAIL PROTECTED]
 */
@org.jboss.seam.annotations.bpm.ResumeProcess(definition="SalesFlow" )
public void next()
{
logger.debug( "Got into Next Function" );
logger.debug( "processInstance is " + processInstance );
processInstance.signal( "Next" );
}

/**
 * [EMAIL PROTECTED]
 */
public void prev()
{
// Do nothing right now.
}

 
public String getProcessTokens()
{
return processtokens;
}

public void setProcessTokens( final String processtokens )
{
this.processtokens = processtokens;
}

/**
 * Basic Destroy.
 */
@Remove
@Destroy
public void destroy()
{
}

}

The the process definition file is within the deployed EAR. 

The "Next" button invokes the next method,which returns an error message.I have 
include the stack trace for re
ference.
I am not sure why the processInstance is not created..

Error trace

2008-05-07 12:40:53,945 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.postRemov
eVariable.salesProcessFlow
2008-05-07 12:40:53,945 DEBUG [org.jboss.seam.ejb.RemoveInterceptor] Stateful 
component was removed:
 salesProcessFlow
2008-05-07 12:40:53,945 ERROR [org.jboss.seam.jsf.SeamPhaseListener] uncaught 
exception
javax.el.ELException: javax.ejb.EJBTransactionRolledbackException: task/process 
id may not be null
at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:333)
at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
at 
org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
at 
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:173)
at org.jboss.seam.navigation.Pages.callAction(Pages.java:643)
at org.jboss.seam.navigation.Pages.preRender(Pages.java:296)
at 
org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:560)
at 
org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:471)
at 
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:144)
at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:114)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290
)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.seam.servlet.SeamFilter$FilterChai

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Equivalent of Web status with Jetty

2008-05-08 Thread george001
Hello,

Does anyone know how to configure the web status to use the equivalent web 
status if such exist when Jetty is the web container as opposed to Tomcat??

Thanks,
George

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

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


[jboss-user] [JBoss jBPM] - Re: Generating forms problem

2008-05-08 Thread salaboy21
Generally this kind of problem because you use spaces in the name of the form.. 
or in the description... try to remove all spaces ...

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

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


[jboss-user] [JBoss jBPM] - jpdl and sca tuscany integration - any?

2008-05-08 Thread Radu3000
Hello,

In my poc I have implemented a soa reference set of apps in two ways:
1 - using sca tuscany.
2 - using jpdl runtime library.

Both products use dependency injection - however for different scopes.  SCA 
emphasis is on service component assembly where jpdl is on the process.  
However jpdl does a bit of component assembly as well - not at the sca level. 

Here is a suggestion - why not leverage sca tuscany assembly model for 
referencing sca components under actions?  Ideally a process definition xml can 
import .composite file and concentrate purely on bpm - that is what it can do 
best, right?

Albeit - I am not the only one seeking this  

Regards,
Radu.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149486
___
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 create message factory for SOAP & Assembling t

2008-05-08 Thread Levi.Lelis
How did you solve this? I am having the same problem... Any suggestion?

Regards,
Levi

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

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


[jboss-user] [JBoss jBPM] - Generating forms problem

2008-05-08 Thread coolex
Hello!

I created my own process that I can start in the jbpm-console without any 
problem. For the start node task I created a form like it is described here:
http://wiki.jboss.org/wiki/JbpmGettingStarted
After deploying I restarted the process and on the point where I want to see 
the formular I only see an empty screen and not like in the tutorial a simple 
form. I retried to do the form many times but couldn't find out where the 
problem is.

Hope you can help me.

Thank you.

Alex

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB not

2008-05-08 Thread scooter4j
I had correctly set up the queue correctly using the JNDIName attribute - and 
after starting JBoss the queue showed up in the Administration console as 
expected so I'm confident my queue was set up correctly.

The link below indicates that this (MDB deployer not "seeing" the destination 
queue) is a recognized bug in JBoss when using EJB3: 
http://jira.jboss.org/jira/browse/EJBTHREE-541?page=all

Not sure if this means that I'm encountering the same root problem as was 
encountered for that bug report (since I'm not using annotations).

I will grant you, though, that it is strange that the MDB sample worked 
correctly, not creating a special Queue/JNDI name for its MDB perhaps the 
problem is that the JNDI name I specified starts with jms instead of queue 
(i.e. jms/OrderQueue instead of queue/OrderQueue)?? 

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

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


[jboss-user] [JBoss jBPM] - Re: Where and how to define new users?

2008-05-08 Thread salaboy21
I think the best to look at this concept is the following:

User or actor: is one user on your identity provider

Group: is a named collection of users

Swimlane: is a process role, you define a swimlane to say that one set of task 
must be done by the same user from a collection of users... 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configure JAAS security for default app with Jetty

2008-05-08 Thread george001
I solved my own problem. Here is for all that may face the same situation:
The solution is that your webapp jboss-web.xml file should map the protected 
context as:


  | 
  | 
  | http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd";>
  | 
  | 
  |   /
  |   
  |   java:/jaas/default
  | 
  | 
  | 

and the login-config.xml should match that:


  | 
  |   
  | 
  |   props/users.properties
  |   props/roles.properties
  | 
  |   
  | 
  | 
  | 

do a restart and then everything should work.
Regards,
George

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

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


[jboss-user] [JBoss jBPM] - Re: integration with JBoss Rules engine?

2008-05-08 Thread umquat
"mpopova" wrote : Great, thanks a lot for the answer.
  | I just want to clarify one thing: so, basically, you are saying that it is 
possible to modify the workflow process definition at run time, yes?
  | 
  | Indeed, this is exactly what I am looking for - to be able, at any point in 
the execution of one process instance , to modify the rest of the workflow 
process instance based on the input from , for example, a rule engine.
  | 
  | A good example of this functionality is an Out-Of-Office rule - at each 
approval step (process node), before sending a notification for approval to the 
approver, check whether he is out of office, and if so - replace this approver 
with a new one and possibly modify the rest of the approval chain as well.
  | 
  | Thanks
  | Marina

I'm learning jBPM but I'm interested in drools as well. This question got me 
thinking: Why would you want to modify a workflow definition at runtime?

The out-of-office rule seems overkill to me. Why not assign a given task to a 
group of users, so that anyone could "pick" this task up and execute, instead 
of going through hoops to check if one given user is in the office or not?

Maybe a better approach would be to define a bigger, more robust workflow?



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

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


[jboss-user] [JBoss jBPM] - Re: Where and how to define new users?

2008-05-08 Thread coolex
Ok, I found out where I can define new users. 
But still I'm confused. I cannot understand the relation between swimlanes, 
actors, the users and the groups I can define in the jbpm-console.
E.g. the "Fix web order data" task in the websale example is assigned to a 
buyer but I can see the task (with the form) as a normal user in the console 
though there is no user or group in the jbpm-console that is called buyer!

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

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


[jboss-user] [JBoss jBPM] - Re: Where and how to define new users?

2008-05-08 Thread salaboy21
I have no deep understandment of this topic in particular.. but i recommend you 
to look at 3 things:
1) Database Schema: 3 tables: JBPM_ID_GROUP, JBPM_ID_USER, JBPM_ID_MEMBERSHIP. 
If you insert data in this three tables, you must be able to define your user, 
groups and the relationships between them.. 
2) Look at web.xml inside jbpm-console.war/WEB-INF/ (you could explode the war 
and modify this archive)
3) Look at access.properties inside jbpm-console.war/WEB-INF/ , in this file 
you  can find, what role or user can do some specific thing inside the web 
jbpm-console...

Let me know if you find some useful document about this..

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

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


[jboss-user] [JBossWS] - Re: Endpoint already registered

2008-05-08 Thread bsisson
I would like to provide additional information for this issue.  Our whole team 
has looked at this issue and cannot find a work around or the cause of the 
issue but we have figured out the sequence that triggers the issue.

1) We created a web service using annotations (@WebService(name = "TestWs") and 
it runs fine.
2) We created a class (People) that is annotated for xml marshalling 
(@XmlRootElement).  
3) In the web service a database is queried and the data is stored in the 
People class.  
4) Using javax.xml.bind the class is marshalled into a xml string.  
5) At this point, in debut mode, there are occasions (depending upon the class 
fields) the marshaller will either work fine or the it wil fail.  If it works 
fine the xml string is returned to the Web Service Explorer (built into 
Eclipse) and if it fails the error message string is returned to the Web 
Service Explorer.
6) Then we make changes to the People class (add or delete fields) and we get a 
message asking us if we want to continue, stop or restart the server.  If we 
select continue the server runs find but only picks up the old version of the 
People class and not the new changes.  The issues begin when we chose stop or 
restart server.

When the server is restarted there are two key issues:  (1) If I search the 
console I cannot find a reference to my web service after the restart.  The 
first time I start the server I see a reference that the web service was 
deplyed.  (2) When I used the Web Service Explorer to find the web service I 
get an exception:  javax.xml.ws.WebServiceException: Cannot obtain endpoint 
for: jboss.ws:context=/PSDynamicWebProject,endpoint=TestWs

At this point nothing we do in Eclipse can eliminate this exception.  We have 
tried restarting the JBoss server, clicking on the module and doing a full 
publish and nothing works.  The only resolution to get around this at this 
point has been to shutdwon Eclipse completely and restart it.  This works until 
we have to change the class again and we go through the same steps.  

We are in the start-up phase of re-writing our web applicaitons here and are 
evaluating JBoss and JBoss tools.  We would really like to find a reslution to 
this since we are using Eclipse as our IDE and any help would be apprecaited.

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

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


[jboss-user] [Clustering/JBoss] - JBossTreeCache issues

2008-05-08 Thread landoo
Hi,

We are upgrading our jboss servers to version 4.2.2 and having issues related 
to JBossTreeCache. The application was running fine with JBoss 4.0.2.

Here is the error that JBoss throws while starting up:

org.jboss.cache.CacheException: Initial state transfer failed: 
Channel.getState() returned false
at org.jboss.cache.TreeCache.fetchStateOnStartup(TreeCache.java:3363)
at org.jboss.cache.TreeCache.startService(TreeCache.java:1555)
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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)

I've even set the "InitialStateRetrievalTimeout" attribute to 5 but no use.

Any help will be appreciated.

Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: Where and how to define new users?

2008-05-08 Thread coolex
Please, does anybody have an idea?


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

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


[jboss-user] [Messaging, JMS & JBossMQ] - JBOSS Configuration

2008-05-08 Thread Jay.ctrl
Does any one know of a way one can BIND an IP Address to JBOSS which is running 
as a service. i know you can do it from the command line using the run.bat -b 
X.X.X.X. but how is this possible if you are using jboss native and you are 
running it as a windows service or even a linux daemon? 

any help would be much appreciated

 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Namin service ports

2008-05-08 Thread george001
I am using JBoss 4.2.2GA jboss-service.xml:

  |   
  |   1099
  |   
  |   ${jboss.bind.address}
  |   
  |   1098
  | 

I am not sure why you think there is a naming service on these ports, can you 
clarify??
Regards,
George

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

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


[jboss-user] [Beginners Corner] - JBOSS portal 2.6.4 didn't start

2008-05-08 Thread thunderjet
Hi guys i'm just new of jboss and i'm trying to learn something about it but i 
have a basic problem

I have dowloaded joss portal + as rel 2.6.4 and the latest version of java JDK
(rel 1.6.0 update 6)
ia have unzipped jboss portal on C:\ so i have a directory named 
jboss.portal-2.6.4
java environment is installed under c:\program\java

i have setted envirinment variable
JBOSS_HOME --> c:\jboss.portal-2.6.4
JAVA_HOME --> C:\programi\java\jdk1.6.0_06

my OS is XP
my pc is a notebook with Intel Centrino 1.6 Ghz
My ram is 1 Gb

when i click on run.bat under c:\jboss.portal-2.6.4\bin a cmd shell appears for 
less then a second and nothing else happened.

HELP!

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configure JAAS security for default app with Jetty

2008-05-08 Thread george001
Hello,

I am using JBoss 4.2.2 GA with Jetty 6.1 latest sar and I have setup a default 
app but I am having a hard time finding any instructions on how to map that app 
into a jaas secured application policy:


  | 
  |   
  | 
  |   props/users.properties
  |   props/roles.properties
  | 
  |   
  | 
  | 

I tried "default", "/", "*" as the name attribute of the element and restarted 
the server each time and still I am getting:


  | 2008-05-08 09:20:49,603 ERROR 
[org.jboss.security.auth.spi.UsersRolesLoginModule] Failed to load 
users/passwords/role files
  | java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found
  | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
  | 

This is one of those simple and easy to solve -> you have to spend hours on 
searching for information. If anyone knows the name of the class parsing the 
xml and points me to a subversion link :) I will be greatly appreciative if a 
straight answer is not available that is..

Thanks in advance and best!
George

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Controlling access web apps

2008-05-08 Thread erasmomarciano



  | 


You add this code 

in the server.xml  under the tag name host 

ok?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Critical JBoss Isssue

2008-05-08 Thread george001
Hello,

This is not particularly on your topic but I have seen similar messages when 
trying to use the apache http-upload library with IIS 5.0 (I am not entirely 
sure on the version) the IIS server would end signals in a non standard fashion 
(completely disregarding the RFC specs) and this would cause the AJP connector 
to "malfunction" by detecting a not properly ended transmission i.e. do a trace 
on the line to see what is going on if you think your app is perfectly OK.

Another thing that I am not seeing here is what driver are you using for MSSQL, 
I hope it is the MS stuff:
anonymous wrote : 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:211)
 
If you are using hibernate I hope it is configured to use their driver.

Also make sure you can connect to the db with other tools. I had a case in 
which MSSQL server would not work until the latest XP patch was applied 
something to do with the firewall breaking SQL, no official statement on msdn.

And last but not least make sure you servlet will work with another MSSQL DB or 
a local one, switch you stuff to detect where the issue is. Post versions they 
may help other people steer you in the right direction I am not much into MSSQL 
and Java at the moment.

HTH,
George


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

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


[jboss-user] [JBoss Portal] - Re: Unable to locate current JTA transaction?

2008-05-08 Thread freesoul
My environment:
jboss portal 2.6.4 + JBOSS AS 4.2.1
MYSQL 5.0
Struts2 + spring + hibernate

when I request an ajax action ,the exception happens.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss slooooooooow starts on Debian Linux

2008-05-08 Thread george001
I resolved this issue by moving to Jetty as opposed to Tomcat with the APR. I 
did some load tests with JMeter and the performance is on par even better, plus 
the start up is consistently in a matter of seconds 22-30 as opposed to the 
problems with Tomcat. 

Another issue with Tomcat was that during the multiple hot deployments I did 
the PermGen out of memory exception came to live which necessitate the move to 
something that works better like Jetty.

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

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


  1   2   >