[jboss-user] [JCA/JBoss] - Re: connectionMap.remove in WrapperDatasourceService never c

2008-11-06 Thread ladam
Glad that I could help.

Vicky: I've attached a diff-patch to the Issue.

Ludwig

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

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


[jboss-user] [JCA/JBoss] - Re: connectionMap.remove in WrapperDatasourceService never c

2008-11-06 Thread vickyk
Thanks Ludwig, I will spend some time in looking at the patch over the weekend 
probably.

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

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


[jboss-user] [JNDI/Naming/Network] - trying to render a xdp form with LiveCycleForms: javax.namin

2008-11-06 Thread Barthuin
Hello everybody

I'm trying to do a basic form with Livecycle Forms but I have some errors and 
doubts. I have done a servlet when I try to generate that pdf form but, when it 
runs renderForm() method, it shows this error

13:01:58,525 INFO [STDOUT] Error al realizar el 'Render': 
javax.naming.NameNotFoundException: com not bound
13:01:58,525 ERROR [STDERR] 
com.adobe.formServer.interfaces.RenderFormException: 
javax.naming.NameNotFoundException: com not bound
13:01:58,525 ERROR [STDERR] at 
com.adobe.formServer.client.EJBClient.renderForm(EJBClient.java:357)
13:01:58,525 ERROR [STDERR] at 
net.flexlive.randori.pdfConstructor.generatePdf(pdfConstructor.java:102)
13:01:58,525 ERROR [STDERR] at 
net.flexlive.randori.pdfConstructor.doGet(pdfConstructor.java:36)
13:01:58,525 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
13:01:58,525 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
13:01:58,525 ERROR [STDERR] at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
13:01:58,525 ERROR [STDERR] at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
13:01:58,525 ERROR [STDERR] at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
13:01:58,525 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
13:01:58,525 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: com 
not bound
13:01:58,525 ERROR [STDERR] ... 23 more

I was looking for a solution but I haven't idea about what can be the problem 
of this. I¨'m using JBOSS 4.2.3 and Eclipse 3.3.2 and my servlet code is 
this:


 String sNom = solicitud_final.xdp;
String sRoot = http://localhost:8080/AdobeForms/web;;

//Construyo el path de la aplicacion, para que el form server sepa volver
String appPath = request.getServletPath();
//appPath = appPath.substring(0, appPath.lastIndexOf(/));
String sURL = request.getScheme() + / +
request.getServerName() + : +
request.getServerPort() +
request.getContextPath() +
appPath;

//Configuro las opciones
 String m_sOptions = RenderAtClient=trueCacheEnabled=false;

//Cojo el XML para la preCarga del formulario
 byte[] mData = null;
 //String sRutaXML = mRootForms + / + mXMLData;
 //mData = readFile(sRutaXML);

//Instancio el FormServer mediante la API
 EJBClient ejbClient = new EJBClient();

Hashtable env = new Hashtable();
 env.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
 env.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces);
 env.put(Context.PROVIDER_URL, 172.26.121.76:1099);
 InitialContext context = null;

try {
context = new InitialContext(env);
} catch (Exception e) {
System.out.println(Error al iniciar el contexto:  + e.getMessage());
return;
} 

 ejbClient.setInitialContext(context);

IFormServer ifs = (IFormServer)ejbClient;
 //LLamo al metodo que conastruye el formulario
 IOutputContext mIOC = ifs.renderForm(
sNom,
PDFForm,
null,//mData,
m_sOptions,
request.getHeader(User-Agent),
sURL,
null,
sRoot,
null);

//Construyo la salida y la muestro por pantalla
  ServletOutputStream oOutput = response.getOutputStream();
  response.setContentType(mIOC.getContentType());
  byte[] cContent = mIOC.getOutputContent();
  

[jboss-user] [JNDI/Naming/Network] - Re: trying to render a xdp form with LiveCycleForms: javax.n

2008-11-06 Thread Barthuin
Barthuin wrote : Hello everybody
  | 
  | I'm trying to do a basic form with Livecycle Forms but I have some errors 
and doubts. I have done a servlet when I try to generate that pdf form but, 
when it runs renderForm() method, it shows this error
  | 
  | 13:01:58,525 INFO [STDOUT] Error al realizar el 'Render': 
javax.naming.NameNotFoundException: com not bound
  | 13:01:58,525 ERROR [STDERR] 
com.adobe.formServer.interfaces.RenderFormException: 
javax.naming.NameNotFoundException: com not bound
  | 13:01:58,525 ERROR [STDERR] at 
com.adobe.formServer.client.EJBClient.renderForm(EJBClient.java:357)
  | 13:01:58,525 ERROR [STDERR] at 
net.flexlive.randori.pdfConstructor.generatePdf(pdfConstructor.java:102)
  | 13:01:58,525 ERROR [STDERR] at 
net.flexlive.randori.pdfConstructor.doGet(pdfConstructor.java:36)
  | 13:01:58,525 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
  | 13:01:58,525 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | 13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
  | 13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | 13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | 13:01:58,525 ERROR [STDERR] at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | 13:01:58,525 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
  | 13:01:58,525 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: 
com not bound
  | 13:01:58,525 ERROR [STDERR] ... 23 more
  | 
  | I was looking for a solution but I haven't idea about what can be the 
problem of this. I¨'m using JBOSS 4.2.3 and Eclipse 3.3.2 and my servlet 
code is this:
  | 
  | 
  |  String sNom = solicitud_final.xdp;
  | String sRoot = http://localhost:8080/AdobeForms/web;;
  | 
  | //Construyo el path de la aplicacion, para que el form server sepa volver
  | String appPath = request.getServletPath();
  | //appPath = appPath.substring(0, appPath.lastIndexOf(/));
  | String sURL = request.getScheme() + / +
  | request.getServerName() + : +
  | request.getServerPort() +
  | request.getContextPath() +
  | appPath;
  | 
  | //Configuro las opciones
  |  String m_sOptions = RenderAtClient=trueCacheEnabled=false;
  | 
  | //Cojo el XML para la preCarga del formulario
  |  byte[] mData = null;
  |  //String sRutaXML = mRootForms + / + mXMLData;
  |  //mData = readFile(sRutaXML);
  | 
  | //Instancio el FormServer mediante la API
  |  EJBClient ejbClient = new EJBClient();
  | 
  | Hashtable env = new Hashtable();
  |  env.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  |  env.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces);
  |  env.put(Context.PROVIDER_URL, 172.26.121.76:1099);
  |  InitialContext context = null;
  | 
  | try {
  | context = new InitialContext(env);
  | } catch (Exception e) {
  | System.out.println(Error al iniciar el contexto:  + e.getMessage());
  | return;
  | } 
  | 
  |  ejbClient.setInitialContext(context);
  | 
  | IFormServer ifs = (IFormServer)ejbClient;
  |  //LLamo al metodo que conastruye el formulario
  |  IOutputContext mIOC = ifs.renderForm(
  | sNom,
  | 

[jboss-user] [EJB 3.0] - Re: ClassCastException after JNDI lookup

2008-11-06 Thread luckybird
Hi,
can you please post the list of jars you've added? I've looked into the 
MANIFEST of jbossall-cient.jar, but there's no CLASSPATH at all (only some 
vendor specific information). And I think that I've the same problem. I'm using 
JBoss 4.2.3 GA.

Here's my console output:

  | Exception in thread main java.lang.ClassCastException: $Proxy1
  | at 
org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:129)
  | at $Proxy0.lookup(Unknown Source)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at de.my.class.MyFailingClass.main(MyFailingClass.java:22)
  | 

TIA,
Ralf

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

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


[jboss-user] [EJB 3.0] - Re: ClassCastException after JNDI lookup

2008-11-06 Thread ALRubinger
jbossall-client.jar did not become a MANIFEST-only classpath structure until AS 
5.0.0.CR2.

S,
ALR

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

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


[jboss-user] [JNDI/Naming/Network] - javax.naming.NameNotFoundException: com not bound

2008-11-06 Thread Barthuin
Hello everybody

I'm trying to do a basic form with Livecycle Forms but I have some errors and 
doubts. I have done a servlet when I try to generate that pdf form but, when it 
runs renderForm() method, it shows this error

13:01:58,525 INFO [STDOUT] Error al realizar el 'Render': 
javax.naming.NameNotFoundException: com not bound
13:01:58,525 ERROR [STDERR] 
com.adobe.formServer.interfaces.RenderFormException: 
javax.naming.NameNotFoundException: com not bound
13:01:58,525 ERROR [STDERR] at 
com.adobe.formServer.client.EJBClient.renderForm(EJBClient.java:357)
13:01:58,525 ERROR [STDERR] at 
net.flexlive.randori.pdfConstructor.generatePdf(pdfConstructor.java:102)
13:01:58,525 ERROR [STDERR] at 
net.flexlive.randori.pdfConstructor.doGet(pdfConstructor.java:36)
13:01:58,525 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
13:01:58,525 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
13:01:58,525 ERROR [STDERR] at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
13:01:58,525 ERROR [STDERR] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
13:01:58,525 ERROR [STDERR] at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
13:01:58,525 ERROR [STDERR] at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
13:01:58,525 ERROR [STDERR] at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
13:01:58,525 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
13:01:58,525 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: com 
not bound
13:01:58,525 ERROR [STDERR] ... 23 more

I was looking for a solution but I haven't idea about what can be the problem 
of this. I¨'m using JBOSS 4.2.3 and Eclipse 3.3.2 and my servlet code is 
this:


String sNom = solicitud_final.xdp;
String sRoot = http://localhost:8080/AdobeForms/web;;

//Construyo el path de la aplicacion, para que el form server sepa volver
String appPath = request.getServletPath();
//appPath = appPath.substring(0, appPath.lastIndexOf(/));
String sURL = request.getScheme() + / +
request.getServerName() + : +
request.getServerPort() +
request.getContextPath() +
appPath;

//Configuro las opciones
String m_sOptions = RenderAtClient=trueCacheEnabled=false;

//Cojo el XML para la preCarga del formulario
byte[] mData = null;
//String sRutaXML = mRootForms + / + mXMLData;
//mData = readFile(sRutaXML);

//Instancio el FormServer mediante la API
EJBClient ejbClient = new EJBClient();

Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
env.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces);
env.put(Context.PROVIDER_URL, 172.26.121.76:1099);
InitialContext context = null;

try {
context = new InitialContext(env);
} catch (Exception e) {
System.out.println(Error al iniciar el contexto:  + e.getMessage());
return;
}

ejbClient.setInitialContext(context);

IFormServer ifs = (IFormServer)ejbClient;
//LLamo al metodo que conastruye el formulario
IOutputContext mIOC = ifs.renderForm(
sNom,
PDFForm,
null,//mData,
m_sOptions,
request.getHeader(User-Agent),
sURL,
null,
sRoot,
null);

//Construyo la salida y la muestro por pantalla
ServletOutputStream oOutput = response.getOutputStream();
response.setContentType(mIOC.getContentType());
byte[] cContent = mIOC.getOutputContent();
oOutput.write(cContent);
oOutput.flush();
oOutput.close();

I discovered where do 

[jboss-user] [JBoss jBPM] - Re: BPEL Problem with Fault Handler

2008-11-06 Thread sw_bpel
how you solved this problem? i get the same error, i think.

greetings Stefan

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

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


[jboss-user] [JBoss Tools (users)] - Content Assist with 3.0 Beta1

2008-11-06 Thread afuerstenau
Hi everybody,

I installed Version 2.1.2 and the content assist for all existing *.jsf files 
worked perfectly well. I didn't have to change any project configuration.

I installed Version 3.0 Beta1 yesterday and the content assist didn't work 
anymore. I added the following nature to the .project file:
org.jboss.tools.jsf.jsfnature
But it didn't work. I also tried to add JSF Capabilities to my project but the 
wizard complained about the fact that the project is already assigned to my 
local application server.

So, does anybody knowwhat I have to do to make the content assist work under 
3.0 Beta1?

I use the actual eclipse ganymed release.

Thanks in advance
Alex

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - JConsole / jmxremote connection problems

2008-11-06 Thread [EMAIL PROTECTED]
I have followed the setup steps identified in 
http://www.jboss.org/community/docs/DOC-12499 that primarily indicates adding 
the following details to the run.conf (or alternatively run.sh)


  | # Enable the jconsole agent remotely on port 12345
  | JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.port=12345
  | JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false
  | JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false
  | 

The JBoss is 4.2.2.GA running on a Linux box (Centos I believe) and I'm 
connecting using a remote Windows machine using JDK 1.6 JConsole.

But when I try to connect I receive the dialog Connection Failed: Retry? The 
connection to IP address did not succeed.  Would you like to try again?.

I can confirm that Telnet to the port works, plus on the Unix machine I've run 
tcpdump and confirmed JConsole is in fact talking to it, but then abandons 
part-way through.  It's almost as thought there is some authentication going 
on, or perhaps firewall issues - but from what I understand this box is 'open' 
for all connections.

Does anyone have any pointers?

In addition, by experimentation I added other system properties based on 
searches in other forums, so right now I have these settings being output...

(addition of jboss.platform.mbeanserver and javax.management.builder.initial)


  | =
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /usr/local/jboss
  | 
  |   JAVA: /usr/lib/java/bin/java
  | 
  |   JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 
-XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true 
-Djboss.platform.mbeanserver 
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
 -Dcom.sun.management.jmxremote.port=12345 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false
  | 
  |   CLASSPATH: /usr/local/jboss/bin/run.jar
  | 
  | =
  | 

If anyone can decifer the tcpdump, then please feel free ;-)


  | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
  | listening on eth0, link-type EN10MB (Ethernet), capture size 2048 bytes
  | 08:44:08.671640 IP 192.168.0.0.16565  hidden_ip.12345: S 
3360578768:3360578768(0) win 65535 mss 1380,nop,nop,sackOK
  | 0x:  4500 0030 5bfe 4000 7e06 6ae6 c0a8   [EMAIL PROTECTED]
  | 0x0010:  ac1a c920 40b5 3039 c84e 5cd0    [EMAIL PROTECTED]
  | 0x0020:  7002  b77e  0204 0564 0101 0402  p~.d
  | 08:44:08.671677 IP hidden_ip.12345  192.168.0.0.16565: S 
2992145961:2992145961(0) ack 3360578769 win 5840 mss 1460,nop,nop,sackOK
  | 0x:  4500 0030  4000 4006 04e5 ac1a c920  [EMAIL 
PROTECTED]@...
  | 0x0010:  c0a8  3039 40b5 b258 8629 c84e 5cd1  [EMAIL 
PROTECTED]).N\.
  | 0x0020:  7012 16d0 67cb  0204 05b4 0101 0402  p...g...
  | 08:44:08.679632 IP 192.168.0.0.16565  hidden_ip.12345: . ack 1 win 65535
  | 0x:  4500 0028 5bff 4000 7e06 6aed c0a8   E..([EMAIL 
PROTECTED]
  | 0x0010:  ac1a c920 40b5 3039 c84e 5cd1 b258 862a  [EMAIL PROTECTED]
  | 0x0020:  5010  ab5f       P_
  | 08:44:08.681141 IP 192.168.0.0.16565  hidden_ip.12345: P 1:101(100) ack 
1 win 65535
  | 0x:  4500 008c 5c00 4000 7e06 6a88 c0a8   [EMAIL PROTECTED]
  | 0x0010:  ac1a c920 40b5 3039 c84e 5cd1 b258 862a  [EMAIL PROTECTED]
  | 0x0020:  5018  4ae6  8062 0103 0100 3900  P...Jb9.
  | 0x0030:   2000 0004 0100 8000 0005  2f00  ../.
  | 0x0040:  0033  3200 000a 0700 c000 0016   .3..2...
  | 0x0050:  1300 0009 0600 4000 0015  1200 0003  [EMAIL PROTECTED]
  | 0x0060:  0200 8000 0008  1400 0011 4912 ae43  I..C
  | 0x0070:  9bfe 97dd 8f15 bc47 e8c6 2def dac1 215e  ...G..-...!^
  | 0x0080:  b144 3ce1 c881 dbbf 3b13 832e.D.;...
  | 08:44:08.681183 IP hidden_ip.12345  192.168.0.0.16565: . ack 101 win 5840
  | 0x:  4500 0028 3eb8 4000 4006 c634 ac1a c920  E..([EMAIL 
PROTECTED]@..4
  | 0x0010:  c0a8  3039 40b5 b258 862a c84e 5d35  [EMAIL PROTECTED]
  | 0x0020:  5010 16d0 942b   P+..
  | 08:44:08.681246 IP hidden_ip.12345  192.168.0.0.16565: F 1:1(0) ack 101 
win 5840
  | 0x:  4500 0028 3eb9 4000 4006 c633 ac1a c920  E..([EMAIL 
PROTECTED]@..3
  | 0x0010:  c0a8  3039 40b5 b258 862a c84e 5d35  [EMAIL PROTECTED]
  | 0x0020:  5011 16d0 942a   P*..
  | 08:44:08.687626 IP 192.168.0.0.16565  hidden_ip.12345: . ack 2 win 65535
  | 0x:  4500 

[jboss-user] [JBoss jBPM] - Re: Error in jbpm 3.2.3?

2008-11-06 Thread johnhurtchan
I have the exact same problem as this person. I'm running the jbpm suite 3.2.3 
out of the box. On the websale app. Same error. Just prior to the 1st fork. Get 
that version error in 2 cases. (1) when the websale app Exits the Evaluate Web 
Order Task just prior to a fork. Get that error on webpage (2) Also when the 
reminder timer kicks off, get same message  but in the console log.

I'm running j2se 1.5.0_16. I didnt compile anything, running default suite 
server and default websale app. Help!

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

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


[jboss-user] [JBoss Tools (users)] - Re: Jboss Tools 3.0.0 Beta 1 - do not compile java class whe

2008-11-06 Thread [EMAIL PROTECTED]
don't put your portlet in the action src directory.
Put it in model

Yes, the folders have bad names and that is also why it is changed in Seam 2.1 
;)

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

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


[jboss-user] [JBoss jBPM] - Re: Errors in named queries: help-me.

2008-11-06 Thread Harry Lime
Just to complete this post for further reference.

I had this same problem and it was down to using an old version of the 
hibernate jar.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187222
___
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-11-06 Thread rossputin
Hi,

I am just in the process of rolling out a new version of one of our processes, 
to test the blocking versus no blocking update impact, and indeed to see 
whether this will fix our problem.

In the Eclipse properties tab for a given task, I assume I should have both 
blocking and signalling checked for each task in the process ?

If signalling is checked but not blocking, is it possible that clicking on a 
transition in the web application could move the process on before a task is 
complete ?

Thanks,

Ross


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

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


[jboss-user] [EJB 3.0] - Re: ClassCastException after JNDI lookup

2008-11-06 Thread jaikiran
As Andrew mentioned, its only starting JBoss-5 CR2 the jbossall-client.jar is a 
manifest only jar. So for JBoss-4.2.3 GA, all you have to do is place the 
%JBOSS_HOME%/client/jbossall-client.jar in the client 
(de.my.class.MyFailingClass) classpath. Have you done that?

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

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


[jboss-user] [Jboss portal] [portlet] displaytag example

2008-11-06 Thread Halil Ağın
Hello List;

I am trying to implement a displaytag portlet example. meanly, i want to use
display:table tag in my portlet application. but i could not succeed.
I search the net, i see some examples, i implemented those examples, but
they do not work. Can you help me?

In addition, i want to ask one more thing. When i inclide %@ taglib uri=
http://java.sun.com/portlet; prefix=portlet % directive in my jsp page.
eclipse says that it cannot resolve the
http://java.sun.com/portletdecleration. do i have to include a jar lib
in my loib folder or this issue
will be resolved when i deploy the portlet app. ?


Regards,


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


[jboss-user] [JBoss Messaging] - Re: Comparison to ActiveMQ

2008-11-06 Thread ataylor
anonymous wrote : If there's not already in JIRA, shall I go ahead and create 
one for this? 

feel free, but like I say we can't make promises what gets added to releases.

anonymous wrote : Details, please. A management API so that all subsequent 
calls to createQueue/createTopic result in actual queue/topic creation? Or a 
management API that allows us to create destinations if the lookup fails? 
What's the API? 

If you're talking about JBM 1.4 then take a look at the user doc, it describes 
all the operations available on the JBM mbeans, i.e. queue/topics etc. ( 
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.1.Beta1/html/index.html
 ) . If you're talking about JBM 2.0 this is still in development. As theres 
only an alpha release the best thing to do is to check the code out and take a 
look at the org.jboss.messaging.core.management packages.

anonymous wrote : Does this apply to topics as well (and can both destination 
types be bound to the same address)?

In JBM 2.0 JMS is only a thin client abstraction. At a core level there is only 
queues. A topic would be an address with multiple queue where each queue has a 
single consumer. so yes, it can be applied to topics as well.



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

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


[jboss-user] [JBoss Messaging] - Re: java.rmi.MarshalException: Failed to communicate. Probl

2008-11-06 Thread ataylor
It looks like a client isn't closing its connections properly, hence the server 
times the client out

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

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


[jboss-user] [EJB 3.0] - Re: ClassCastException after JNDI lookup

2008-11-06 Thread luckybird
Ah, thanks, this helped. I forgot to do this in the Eclipse project settings.

Greetings,
Ralf.

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

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


[jboss-user] [JBoss Messaging] - Re: MBean issue

2008-11-06 Thread ataylor
which JBM version are you using JBM 1.4.?

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

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


[jboss-user] [JBoss jBPM] - jBPM in different class loaders

2008-11-06 Thread Trumml
I want to use jBPM for web modules - each web module is running in a separate 
WAR with separate class loaders.
This would mean that I have a jPVM per class loader and per web module.

Could this cause any problems, because the same process instance would run in 
different jPVMs. E.g. what happens if I try to execute the same task from 
different jPVMs?

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

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


[jboss-user] [JBoss jBPM] - jBPM in different class loaders

2008-11-06 Thread Trumml
I want to use jBPM for web modules - each web module is running in a separate 
WAR with separate class loaders.
This would mean that I have a jPVM per class loader and per web module.

Could this cause any problems, because the same process instance would run in 
different jPVMs. E.g. what happens if I try to execute the same task from 
different jPVMs?

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

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


[jboss-user] [JBossWS] - Diff. between @WebService(name=... and @WebService(endpointI

2008-11-06 Thread pxstein
Diff. between @WebService(name=... and @WebService(endpointInterface=...  ?

In several tutorials I found different ways of defining a WebService with
annotated Java classes. In some samples web services are annotated like:

@javax.jws.WebService(endpointInterface=aaa)

while others declare them as:

@WebService(name = bbb, targetNamespace = http://..;)

What is the difference?

Are these declarations Framework specific (Axis vs. JAX-WS) ?
Or are these declarations valid for ALL kind of web services?

Peter

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

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


[jboss-user] [JBoss Tools (users)] - Re: Jboss Tools 3.0.0 Beta 1 - do not compile java class whe

2008-11-06 Thread newz
Yes, it works.
Thanks for your great help !

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

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


[jboss-user] [EJB/JBoss] - Brief Explanation of a few things.

2008-11-06 Thread DoubleDenim
Hi There,

I have been spending quite a while developing an application using Jboss 4.x 
and I'm almost ready to go into production with it. 

It is a stateless session bean whos methods are invoked by a DWR application 
(servlet).

When i've been testing it on my local I've noticed if i try to make a bunch of 
requests at one time through multiple tabs within firefox the performance of 
the application slows dramatically. I noticed that the JSESSIONID is the same 
for each tab. 

My Question: Could I potentially contribute this performance hit to the fact 
that my client is using the same instance of my stateless session bean? 

When looking at the logging i have put in through the console window I noticed 
that the methods seem to be called one at a time rather than concurrently.



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

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


[jboss-user] [JBoss Cache: Core Edition] - Traversing and filtering of Tree Structured objects and thre

2008-11-06 Thread chetanparekh
We are catching objects of tree structured class in cache. Following is the 
signature of class

Class :  MyClass
An object of MyClass can have any number of children of the same type and 
children can have any number of their children as well. This can continue upto 
N level.

Methods
public MyClass addChild (MyClass child) 
public Collection getChildren (ArralyList filter)
This method take ArrayList as an input and return ArrayList of children - 
baring those which exist in ArrayList filter. Method uses Iterator to traverse 
through ArrayList during filtration. 

We fetch these objects from cache, traverse through them and read all node 
values. We are accessing these objects in read-only mode; there will not be any 
write operation on these objects.

Problem:
Total concurrent users of the application are around 20K and multiple thread 
are going to call getChildren(ArralyList filter). Parameter value for filter 
will very from user to user. Now suppose first thread calls getChildren 
(ArrayList filter) method and it reaches half the way. First thread loose the 
control and second thread get the control and calls getChildren (ArrayList 
filter) by passing different value for parameter filter.

Will this operation thread safe?

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Cache

2008-11-06 Thread DoubleDenim
Hey there,

I'm using the caching mechanism in jboss with persistent entities.

If you have not already done so, it might be worth migrating your application 
to use ejb3's persistence. There are tools out there that will assist you with 
converting an existing db schema to ejb3/hibernate pojos. From here it is a 
matter of a few annotations and xml tags to utilize the L2 cache to stop your 
application making excessive duplicate sql queries.



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

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


[jboss-user] [JBoss Messaging] - Re: NullPointerException in org.jboss.jms.server.endpoint.Se

2008-11-06 Thread ataylor
The first thing i would do is upgrade to the latest 1.4 version to see if it 
fixes the problem.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Multiple Jboss Proccesses

2008-11-06 Thread project17
Hi idweiss ,

We are having the same issue, with exactly the same configuration. 
So finally :

- Are the entries processes or threads ?
- Are they consuming or sharing the memory ?
- Is there a command to chack what's the real memory consumption ?

Thanks.

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

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


[jboss-user] [Clustering/JBoss] - HA Jboss

2008-11-06 Thread regi15
Hi all
I wish make a server with 1 node active and another passive to create a 
faul-tolerance architecture without loadbalancer.
I'm not expert about jboss, so after installation of jboss i read the Cluster 
guide and i understand that i should use JMS and HA-JNDI (I'm using 
jboss-4.0.5).
Follow a cluster guide i do this step:
1) copy from ./docs/examples/jca/jms-ds.xml to my deploy directory and i 
modifify this line like:
   java.naming.provider.url=node1:1100,node2:1100
2) copy from ./docs/examples/jms/standalone/cluster-service.xml to my deploy 
dir and i leave this like example
3) remove the file hsqldb-ds.xml
4) substitute the file hsqldb-jdbc2-service.xml with mysq-jdbc2-service.xml 
5) insert the db stuff (login, host, etc the db is on ) into 
mysq-jdbc2-service.xml 

i did all this operation on the 2 node, i restart the jboss but don't work 
(neither the bind on 1100 port).
I'm sure that i miss something but i don't know, if someone can help me suggest 
some how to or link i'll appreciate too much.
tnx 

Regi

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

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


[jboss-user] [JBoss Messaging] - Re: NullPointerException in org.jboss.jms.server.endpoint.Se

2008-11-06 Thread timfox
Also make sure you use the correct version of jboss remoting on both the client 
and server side as specified in the installation instructions.

Wrong remoting is the biggest cause of errors like this.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Quartz in enterprise application

2008-11-06 Thread sunnyDev
 I have an EAR app with an EJB module and a web module, job MyAppQuartzJob and 
trigger classes are defined in ear/lib dir, EJB and web modules put ear/lib 
into their class path. 
Quartz is started up in servlet container as listener configured in web.xml
  

listener-classorg.quartz.ee.servlet.QuartzInitializerListener/listener-class
  

EJB bean (message driven bean), gets the Quartz scheduler and schedul the 
MyAppQuartzJob job with:
 
Scheduler sched = 
SchedulerRepository.getInstance().lookup(myAppQuartzSchedulerName);
...
job = new JobDetail(jobName, null, MyAppQuartzJob.class);
sched.addJob(job, true);
...
sched.scheduleJob(trigger);

I run the application several times and it worked. My question is can I run 
into some problems? For example, quartz user thread problem? I'm not sure 
whether jobs are run in EJB context or web servelet context. 

Tanks a lot in advance!

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

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


[jboss-user] [JBoss Messaging] - Re: MBean issue

2008-11-06 Thread sentcs
Ya we are using JBoss messaging 1.4 only.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Running Jboss As Windows Service

2008-11-06 Thread raghav8t2
Hi,

 I need to run the jboss server as a windows service. To achieve that i 
used Native JBoss. I am able to run it as a windows service using that but i 
can access jboss only on localhost.  I need to run jboss on a specific 
ipadress. It can be done by few changes in the service.bat file.


This is the snippet of service.bat file:

:cmdStart
REM Executed on service start
call run.bat run.log
goto cmdEnd

ipaddress has to be added in the service.bat file in the above code in the 
line: call run.bat run.log

Similarly should i have to add the ipaddress even during shutdown in the code:

:cmdStop
REM Executed on service stop
call shutdown -S shutdown.log
goto cmdEnd


I dont exactly remember how to add that ip address. 

waiting for reply from someone.!

Thanks in advance...

Regards,
Raghav.


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Question re Hot deployment of JSPs

2008-11-06 Thread jaikiran
[EMAIL PROTECTED] wrote : If I hot deploy a JSP by dropping it into the right 
location in an exploded war, does this cause the Unified Class Loader 
associated with the war to be dropped and recreated? 

I guess you mean, if you change an existent jsp or add a new jsp to a exploded 
war, does it redeploy the war. If that's what your question meant, then no - 
hot deploying jsps will not re-deploy the application. 

Let us know if you meant something else :-) 

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

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


[jboss-user] [Beginners Corner] - JBoss Server hangs before [TransactionManagerService] star

2008-11-06 Thread pxstein
When I try to start JBoss AS (EAP) with run.bat then everything seems to be 
fine at first until it should start TransactionManagerService. The boot 
process stops and hangs forever.
The boot sequence look until this moment:

...
12:36:46,946 INFO  [Server] Root Deployment Filename: jboss-service.xml
12:36:47,212 INFO  [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
12:36:47,212 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
10.0-b23,Sun Microsystems Inc.
12:36:47,212 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
12:36:47,602 INFO  [Server] Core system initialized
12:36:50,196 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
12:36:50,212 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
now waiting forever


When I start (after killing the first EAP JBoss server start process) another, 
separate JBoss AS installation v4.2.3 on the same (WinXP) system everything is 
fine.

So it must be something with the configuration of the first JBoss AS (EAP) 
server. Especially with the TransactionManagerService.

What can it be?

Peter


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS on MAC OS X leopard

2008-11-06 Thread jaikiran
anonymous wrote : [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] 

Going by this build date, it looks like you are using the JDK1.6 version of 
JBoss-4.2.3 GA. However you are using it with a JDK 1.5:
anonymous wrote : 
  | 13:43:02,179 INFO [ServerInfo] Java version: 1.5.0_16,Apple Inc.
  | 13:43:02,180 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_16-133,Apple Inc. 

To fix this, you have 2 options mentioned here 
http://www.jboss.com/index.html?module=bbop=viewtopict=143822

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Help on join query

2008-11-06 Thread icordoba
In my system I have the following classes:

File
Category
User
Role
Permission

Files belong to one or more categories
Users can have one or more roles
A permission can refer to a file or a category of files (never both)
A permission can refer to a user or role (and so affecting all users in that 
role) (never both user and role)
Permission has 3 booleans, read, write, edit

I need a HQL query to get all files accessible by a user. It should return all 
files that have a read permission for that user or any of the roles assigned to 
the user and all files belonging to a category that has a read permission to 
that user or any of the roles assigned to the user.

I am pretty new to Hibernate/JBoss and I've been examining example queries but 
can't find anyone similar to this one... any directions/help?

thanks,
Ignacio

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

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


[jboss-user] [Clustering/JBoss] - cluster invocation failed under heavy load and rejoin one no

2008-11-06 Thread targit
hi,

following szenario produces under heavy load exceptions: 

Using JDK6, JBoss AS 4.2.3GA

Start 2 instances with:

./run.sh -c all -b10.3.60.60 -DBind.address=10.3.60.60

and

./run.sh -c all -b10.3.60.57 -Dbind.address=10.3.60.57

after starting. Cluster will be formed !

Then start stress client with following code:

try {

  Properties p = new Properties();   
  p.put(Context.INITIAL_CONTEXT_FACTORY,   
org.jnp.interfaces.NamingContextFactory);   
  p.put(Context.URL_PKG_PREFIXES, 
jboss.naming:org.jnp.interfaces);
  p.put(Context.PROVIDER_URL, 
10.3.60.57:1100,10.3.60.60:1100);
  
  InitialContext ctx = new InitialContext(p);
  while (true) {
try {
HelloWorldEJBRemote ejb = 
(HelloWorldEJBRemote) ctx.lookup(HelloWorldEJB);

System.out.println(ejb.helloWorld(hello));
} catch (Exception ex) {
ex.printStackTrace();
}

  }

} catch (Exception ex) {
ex.printStackTrace();
}


then all will be ok. Shutdown one server. Test client is running and produce no 
exceptions. I start the stopped server to rejoin the cluster. but test-client 
produce following exceptions:

java.lang.RuntimeException: cluster invocation failed, last exception was: 
at 
org.jboss.aspects.remoting.ClusterChooserInterceptor.invoke(ClusterChooserInterceptor.java:166)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor.invoke(ClusteredIsLocalInterceptor.java:55)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.stateless.StatelessClusteredProxy.invoke(StatelessClusteredProxy.java:112)
at $Proxy1.helloWorld(Unknown Source)
at Main.main(Main.java:26)
Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to 
server. Problem establishing socket connection for InvokerLocator 
[socket://10.3.60.60:3873/]
at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:579)
at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.remoting.ClusterChooserInterceptor.invoke(ClusterChooserInterceptor.java:77)
... 10 more
Caused by: java.net.BindException: Address already in use: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:518)
at 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:192)
at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:827)
at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:569)
at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.remoting.ClusterChooserInterceptor.invoke(ClusterChooserInterceptor.java:77)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
  

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running Jboss As Windows Service

2008-11-06 Thread [EMAIL PROTECTED]
Look at here: http://www.jboss.org/community/docs/DOC-11932

Option 1 is the one which will be made available by default in JBoss AS 5.0 GA

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

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


[jboss-user] [JBoss Messaging] - Re: MBean issue

2008-11-06 Thread sentcs
anonymous wrote : sorry for inconvenience.
  | 
  | we are using JBoss Messaging 1.4.0.SP3 server.
  | 
  | And here i pasted the other details about JBoss.


  JBOSS_HOME: /opt/jboss-4.2.3.GA
  | 
  |   JAVA: /opt/jdk1.6.0_07/bin/java
  | 
  |   JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 
-Djava.net.preferIPv4Stack=true
  | 
  |   CLASSPATH: /opt/jboss-4.2.3.GA/bin/run.jar:/opt/jdk1.6.0_07/lib/tools.jar

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

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


[jboss-user] [JBoss jBPM] - Re: Where can i find tutorial on seam + jbpm?

2008-11-06 Thread coralfe
Sample chapter. I'm still battling, but better than seam docs:-

www.manning.com/dallen/SeamIACH14_bonus.doc 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Content Assist with 3.0 Beta1

2008-11-06 Thread akazakov
Can you show your jsp/xhtml where content assist used to work?
Are there any errors in eclipse log?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running Jboss As Windows Service

2008-11-06 Thread jaikiran
jaikiran wrote : going by the JIRA comments (readme), it looks like only the 
32 bit version is by default packaged with the JBoss-AS 
  | 

The readme part in the JIRA actually confused me:

anonymous wrote : With a note on the header of README-service.txt:
  | -
  | README-service.txt, service.bat and jbosssvc.exe are part of the
  | 'JBoss Native Win32' distribution. They are included here to allow
  | JBossAS run as a Service in Windows environments.
  | 
  | The version used is 'JBoss Native 2.0.6 Win32'

However, it looks like care has been taken to make the service work on even 64 
bit systems :-) A comment from the same JIRA:

anonymous wrote : 
  | 4. Allow paralell native installations and use the one corresponding to the 
JVM used and host CPU. If we are on the 64-bit system detect if the JVM is 64 
or 32 bit (reported from java -version) and construct the path to the native 
according to that.  This allows a single native binary for windows that has 
multiple CPU builds.

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

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


[jboss-user] [EJB 3.0] - Re: Ejb3 join queries

2008-11-06 Thread jaikiran
Please provide more details including the version of JBoss and Java and the 
entire exception stacktrace. Also show us a snippet of your code where you are 
dealing with this query.

While posting the logs or xml content or code, remember to wrap it in a code 
block using the Code button in the message editor window and please hit the 
Preview button to make sure your post is correctly formatted

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

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


[jboss-user] [EJB 3.0] - Ejb3 join queries

2008-11-06 Thread mravikrish
hello,
i want to fetch data from 3 entites using joins,
 exception-- unexpected token 
could u give me example for joining more than 2 entites  


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running Jboss As Windows Service

2008-11-06 Thread [EMAIL PROTECTED]
Mladen told me it should work on both 32 and 64 bit windows platforms.

You can try it, too, on x64 and tell me if there is any problem :-)

I thought it would be very useful to bundle this by default to avoid all the 
hassle of reverting to service wrappers and the like.

If someone wants the full jboss native distro to get the apr connectors and 
stuff you can simply unzip it over.

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

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


[jboss-user] [JBoss Messaging] - Re: NullPointerException in org.jboss.jms.server.endpoint.Se

2008-11-06 Thread bob_walker99
Sorry, In my rush to post I got that wrong: I am using JBM 1.4.0.SP3 and 
remoting 2.2.2.SP4 - I understand those are the latest / correct versions 
aren't they?


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running Jboss As Windows Service

2008-11-06 Thread jaikiran
[EMAIL PROTECTED] wrote : 
  | 
  | You can try it, too, on x64 and tell me if there is any problem :-)
  | 

Sure.

[EMAIL PROTECTED] wrote : 
  | I thought it would be very useful to bundle this by default to avoid all 
the hassle of reverting to service wrappers and the like.
  | 

Definitely useful :-)


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

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


[jboss-user] [JBoss Messaging] - Re: NullPointerException in org.jboss.jms.server.endpoint.Se

2008-11-06 Thread bob_walker99
(to clarify, I have those version on both client and server)

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JConsole / jmxremote connection problems

2008-11-06 Thread jaikiran
What happens if you remove these:

-Djboss.platform.mbeanserver 
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl

Does it connect? You won't see the JBoss MBeans, but atleast if the connection 
works, then it narrows down the problem.
 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running Jboss As Windows Service

2008-11-06 Thread jaikiran
[EMAIL PROTECTED] wrote : FYI, I've included the windows Service Runner 
binary (jbossvc.exe) from jboss native in the bin directory, by default now:
  | 
  | https://jira.jboss.org/jira/browse/JBAS-5234 

As far as i remember, the JBoss Native has hardware specific (32 bit and 64 
bit) downloads. And going by the JIRA comments (readme), it looks like only the 
32 bit version is by default packaged with the JBoss-AS (which is platform 
independent). 
So if the AS has to be installed on a 64 bit Windows, the user will have to 
separately download the JBoss Native 64 bit, as is being done currently, isn't 
it?


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

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


[jboss-user] [JBoss Cache: Core Edition] - CacheLoader and Periodic Writes

2008-11-06 Thread lovelyliatroim
Hi Guys,
 I have a scenario where I would want every hour to write whats in the 
cache to disk via berkeley DB cache loader. I dont want every write going to 
the disk every time but just in one batch job every hour. Is that currently 
possible to do in 2.x version?? 

I see that the  ignoreModifications should stop a write going to the cache 
loader so my question is how to tell the cache to write to to disk when the 
hour is up and keep everything in memory at the same time?

Is it possible??


Thanks,
LL


  

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

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


[jboss-user] [JBossWS] - replacement of REPLACE_WITH_ACTUAL_URL when using annotation

2008-11-06 Thread will.tatam
In the past we used the wstools to create our wsdl and then replaced 
REPLACE_WITH_ACTUAL_URL with http://REPLACE_WITH_ACTUAL_URL if the server we 
were going to deploy to was directly accessible.
For servers that were behind a firewall we replace with the actual url we wish 
to use for the soap:address location=/

We are now using the @WebService annotation. For the directly accessible 
servers we can use the @WebContext(transportGuarantee=CONFIDENTIAL) but we 
still need a way to solve the second issue. I have tried setting the 
virtualHosts param but this appears to have no impact on the wsdl

ideas ?

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

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


[jboss-user] [JBoss Tools (users)] - Re: need help on import tld file

2008-11-06 Thread akazakov
Where is your tld placed? Browse TLD dialog looks only in jars and tlds in 
class path (including web-inf).
Just drag your TLD file and drop it to the Palette if you have it outside class 
path.

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

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


[jboss-user] [JBoss jBPM] - How to save only the state in JBPM

2008-11-06 Thread spatik
I have an user enrollment controlled by JBPM hopping from one node to another. 
Now, every node has got as state which Iam persisting when Iam hitting 
workflow. 

now, the user can do a partial enrollment and log out of the system and come 
back and continue from the same page he logged out last time. Now, if i happen 
to change any of the nodes' state which was saved previously, how do I make 
sure, that I save only the state from the context and does not signal myself to 
the next node.

Like, I want to save only the delta state of a page.
How do I do it?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running Jboss As Windows Service

2008-11-06 Thread raghav8t2
This is the continuation of my previous post..
I would like to run jboss on 0.0.0.0 instead of some specific ip address.

Thanks..

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running Jboss As Windows Service

2008-11-06 Thread jaikiran
You can do this:

:cmdStart
  | REM Executed on service start
  | call run.bat -b 0.0.0.0 run.log
  | goto cmdEnd 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running Jboss As Windows Service

2008-11-06 Thread [EMAIL PROTECTED]
FYI, I've included the windows Service Runner binary (jbossvc.exe) from jboss 
native in the bin directory, by default now:

https://jira.jboss.org/jira/browse/JBAS-5234 

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

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


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

2008-11-06 Thread alesj
ratheesh.nair wrote : 
  | I am wondering whether this fix is released, I ran into similar problem 
with RichFaces 3.2.2, Jboss Portal 2.7.0 GA and Spring 2.5 version (pls dont 
ask y not Seam :) ).
I didn't work on this any further since I don't know how to reproduce it.
Like I posted previously, if someone can post that failing debug info,
I'll have another look.

Perhaps try it out on the AS_trunk,
as it has all the latest MC code.

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

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


[jboss-user] [JBoss Messaging] - NullPointerException in org.jboss.jms.server.endpoint.Server

2008-11-06 Thread bob_walker99
I'm using JBoss AS 4.2.2/JBM 1.4.0 on Linux SLES 9 x86_64 with Java 1.6.0_06. I 
have a single queue that a remote command line client pumps messages at, and a 
Jetty instance that has a Thread that implements MessageListener.

I'm seeing this in my server log, which coincides with the last point my 
MessageListener has onMessage called for the last time. My ExceptionListener 
never gets called, and my consumer is removed from the Queue.


  | 2008-11-05 20:12:16,381 ERROR [org.jboss.messaging.util.ExceptionUtil] 
ConnectionEndpoint[wcy1-jk2s66nf-1-18ofs1nf-rplxnw-f20a] close 
[9r12-1f2pe6nf-1-18ofs1nf-rplxnw-f20a]
  |   java.lang.NullPointerException
  |   at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.localClose(ServerSessionEndpoint.java:1192)
  |   at 
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.close(ServerConnectionEndpoint.java:385)
  |   at 
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.closeConsumersForClientVMID(SimpleConnectionManager.java:377)
  |   at 
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.handleClientFailure(SimpleConnectionManager.java:173)
  |   at 
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.handleConnectionException(SimpleConnectionManager.java:200)
  |   at 
org.jboss.remoting.ConnectionNotifier.connectionLost(ConnectionNotifier.java:50)
  |   at org.jboss.remoting.Lease.notifyClientLost(Lease.java:211)
  |   at org.jboss.remoting.Lease.access$500(Lease.java:39)
  |   at org.jboss.remoting.Lease$LeaseTimerTask.run(Lease.java:249)
  |   at java.util.TimerThread.mainLoop(Timer.java:512)
  |   at java.util.TimerThread.run(Timer.java:462)
  |   2008-11-05 20:12:16,491 ERROR 
[org.jboss.jms.server.connectionmanager.SimpleConnectionManager] Failed to 
close connection
  |   org.jboss.jms.exception.MessagingJMSException: A failure has occurred 
during processing of the request. Please consult the server logs for more 
details. ConnectionEndpoint[wcy1-jk2s66nf-1-18ofs1nf-rplxnw-f20a] close 
[9r12-1f2pe6nf-1-18ofs1nf-rplxnw-f20a]
  |   at 
org.jboss.messaging.util.ExceptionUtil.handleJMSInvocation(ExceptionUtil.java:72)
  |   at 
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.close(ServerConnectionEndpoint.java:432)
  |   at 
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.closeConsumersForClientVMID(SimpleConnectionManager.java:377)
  |   at 
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.handleClientFailure(SimpleConnectionManager.java:173)
  |   at 
org.jboss.jms.server.connectionmanager.SimpleConnectionManager.handleConnectionException(SimpleConnectionManager.java:200)
  |   at 
org.jboss.remoting.ConnectionNotifier.connectionLost(ConnectionNotifier.java:50)
  |   at org.jboss.remoting.Lease.notifyClientLost(Lease.java:211)
  |   at org.jboss.remoting.Lease.access$500(Lease.java:39)
  |   at org.jboss.remoting.Lease$LeaseTimerTask.run(Lease.java:249)
  |   at java.util.TimerThread.mainLoop(Timer.java:512)
  |   at java.util.TimerThread.run(Timer.java:462)
  | 

I'm also seeing this a lot:


  | A problem has been detected with the connection to remote client 
a0ac-y95htn-fn6xm53g-1-fn6xm6n0-4, jmsClientID=null. It is possible the client 
has exited without closing its connection(s) or the network has failed. All 
connection resources corresponding to that client process will now be removed.
  | 

I'm tracing all my connection  and session creation and disposal , and for the 
life of me I can't find anywhere where I'm not cleaning up my connections when 
I should be.  The sending client is over a remote VPN, so it's possible that is 
the cause of a network failure, but I'm led to believe this is a reliable link 
that other traffic uses without issue. 

I guess I have 2 questions: 
1) what is the cause of the NPE, and can I do anything to resolve it?
and 
2) Is there a way to pass a meaningful string to JBM to identify my clients 
more usefully so that I can track down where the connection was made from and 
what I might be doing wrongly? I tried calling setClientID on the connection 
when I create it, but I never see the value I set in the JBM logs.

Alternatively is there a function of the AS MBean interface that will allow me 
to see current connections / client resources in use?

Many thanks, 

Bob

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

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


[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-06 Thread karltraunmueller
Using JUnit instead of TestNG doesn't make a difference.

JDK: same behavior with JDK 1.6.0_10 and 1.5.0_15.

Karl

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: SingleScheduleProvider and daylight savings?

2008-11-06 Thread peacesim
I think it is because you have a date in the field and in 24hr periods from 12 
on that date is 1am today.

It looks like you can do something like this...

 attribute name=DateFormathh:mm a/attribute
  | attribute name=InitialStartDate9:21 am/attribute

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

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


[jboss-user] [Beginners Corner] - jms

2008-11-06 Thread senderj
Tried to code mdb using jboss. Program run successful. However, I can't 
remember whether I leave some messages in the queue or not, next time when I 
start jboss, this log appears at the beginning of a stacktrace:

18:20:53,429 WARN  [ServiceController] Problem starting service 
jboss.mq.destination:service=Queue,name=DLQ
org.jboss.mq.SpyJMSException: Could not restore messages to destination : 
QUEUE.DLQ; - nested throwable: (java.sql.SQLException: Serialization failure: 
org.jboss.mq.SpyObjectMessage) .

It then appear every 10 sec. Now my mdb program doesn't work. I don't know how 
to clean it up. Please help.

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

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


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

2008-11-06 Thread ratheesh.nair

Hi,

I am wondering whether this fix is released, I ran into similar problem with 
RichFaces 3.2.2, Jboss Portal 2.7.0 GA and Spring 2.5 version (pls dont ask y 
not Seam :) ).

context:component-scan.../ tags are not processed and I had to change the 
entire annotations in my beans to context XML files.
It was unfortunate that I found this talk only after spending lot of time on 
this.

thanks for keeping this in the forum :)

thanks
Ratheesh.R.Nair

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

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


[jboss-user] [Microcontainer] - What's the relation between DeploymentUnit and component?

2008-11-06 Thread wolfc
Adrian,

When I call deploymentUnit.addComponent(test); I get back a deployment unit 
which signifies component test.

What can I do with this component? How does it differ from a regular deployment 
unit?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Question re Hot deployment of JSPs

2008-11-06 Thread [EMAIL PROTECTED]
If I hot deploy a JSP by dropping it into the right location in an exploded 
war, does this cause the Unified Class Loader associated with the war to be 
dropped and recreated? 

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

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


[jboss-user] [JBoss Messaging] - Re: MBean issue

2008-11-06 Thread ataylor
I meant which minor version 1.4.0GA, 1.4.1GA etc, its so i can check the stack 
trace against the correct svn tag.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Need help in installation and configuration Jboss as ver 4.0

2008-11-06 Thread sreedhar.en
hello friends,
I downloaded Jboss as v 4.05 ga.I dont how to install and configure.
please guide me .
 
regards
sri

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

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


[jboss-user] [JBoss Portal] - Why CMS goes to default page instead of specified page ?

2008-11-06 Thread alessio.papi
Hi,

my portal page contains three different CMS windows like this :

 
  | window
  |   window-nameLocalApplicationPortletWindow/window-name 
  | content
  |content-typecms/content-type
  |content-uri/mycompany/local-application.html/content-uri
  | /content
  | /window
  | 

The html file local-application.html refers to another html file and CMS 
renders the link with an URL like this :


  | 
http://localhost/portal/Home/default/LocalApplicationPortletWindow?action=2uri=/mycompany/local-application-test.html
  | 

The URL is correct and I can access to the local-application-test.html file 
without any problems. But if I remove the uri parameter the CMS displays the 
default page of the portlet (provided by indepage portlet parameter) instead of 
the page provideb by content-uri, is this a correct behaviuor or is 
a bug (JBP 2.6.6) ?
I can't change the indexpage parameter to avoid this behaviuor because I have 
multple CMS with different default page. Anyone has a solution ? 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS on MAC OS X leopard

2008-11-06 Thread taysay
@jaikiran
  Thanks so very much for ur reply. though I couldnt see the page the url 
returned some infomation asking me to redirect if the system doesnt 
automatically do so. I had to but it took forever trying to get there.

I got see another reply from you regarding a Jboss issue running on XP the one 
on the topic  jboss-4.2.3.GA startup problem where u made mention of the jdk 
version issue, actually I tried to upgrade my jdk from 1.5 to 1.6 on my mac but 
all I got was 1.5.0_16, B'cos I want to work on JBOSS seam, I wonder if this 
runs well on java 5. I am running on a mac os x 10.5.4 (leopard). Ur help will 
be very much appreciated 

wishing u well in all ur endeavoz

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

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


[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-06 Thread alesj
The problem and fix are both quite simple. ;-)

Problem:
BeanMetaDataDeployer has 2 constructors.
The metadata provided in that xml is not enough to make exact/deterministic 
decision about which constructor to chose.
In Carlo's case, he is just lucky that ConstructorInfo is ordered the way it is 
== matching the right one.

Solution:
simply add class=org.jboss.kernel.Kernel to constructor's parameter

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

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


[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-06 Thread wolfc
https://jira.jboss.org/jira/browse/JBMICROCONT-380

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

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


[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-06 Thread karltraunmueller
Cool, thanks a lot

Karl

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

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


[jboss-user] [Beginners Corner] - Re: jms

2008-11-06 Thread jaikiran
senderj wrote :  I don't know how to clean it up. 

By default, the data is stored in files under %JBOSS_HOME%/server/ 
serverName/data folder. So deleting the contents of that folder might help.

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

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


[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-06 Thread jaikiran
I tried this on a sample project with EJB3.1 embedded and ran into the same 
error:

---
  | Test set: jaikiran.ejb3_1.client.EJBClientTestCase
  | 
---
  | Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.328 sec 
 FAILURE!
  | testLookup(jaikiran.ejb3_1.client.EJBClientTestCase)  Time elapsed: 3.157 
sec   ERROR!
  | java.lang.IllegalStateException: Incompletely deployed:
  | 
  | *** DEPLOYMENTS IN ERROR: Name - Error
  | BeanMetaDataDeployer - java.lang.IllegalArgumentException: Wrong 
arguments. new for target java.lang.reflect.Constructor 
expected=[org.jboss.dependency.spi.Controller] actual=[org.jboss.kernel.Kernel]
  | 
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:290)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:186)
  | at 
org.jboss.ejb3.embedded.JBossEJBContainer.deploy(JBossEJBContainer.java:127)
  | at 
org.jboss.ejb3.embedded.JBossEJBContainer.deploy(JBossEJBContainer.java:120)
  | at 
org.jboss.ejb3.embedded.JBossEJBContainer.init(JBossEJBContainer.java:73)
  | at 
org.jboss.ejb3.embedded.JBossEJBContainerProvider.createEJBContainer(JBossEJBContainerProvider.java:56)
  | at javax.ejb.EJBContainer.createEJBContainer(EJBContainer.java:99)
  | at 
jaikiran.ejb3_1.client.EJBClientTestCase.testLookup(EJBClientTestCase.java:37)
  | 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.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
  | at 
org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
  | at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
  | at 
org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
  | at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
  | at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
  | at 
org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
  | at 
org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
  | at 
org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
  | at 
org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
  | at 
org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
  | at 
org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
  | at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
  | at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
  | at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
  | at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
  | 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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
  | at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
  | 
  |  

Based on what i saw from Ales' comment in the JIRA 
https://jira.jboss.org/jira/browse/JBMICROCONT-176, i changed the 
embedded-bootstrap-beans.xml in the jboss-ejb3-embedded-1.0.0-SNAPSHOT.jar to 
use this:

 !-- POJO Deployment --
  |bean name=BeanDeployer 
class=org.jboss.deployers.vfs.deployer.kernel.BeanDeployer/
  |bean name=KernelDeploymentDeployer 
class=org.jboss.deployers.vfs.deployer.kernel.KernelDeploymentDeployer/
  |bean name=BeanMetaDataDeployer 
class=org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer
  |   constructorparameterinject 
bean=jboss.kernel:service=KernelController//parameter/constructor
  |/bean

Earlier it was using 

constructorparameterinject 
bean=jboss.kernel:service=Kernel//parameter/constructor

After this change, the test case passed. 

P.S: I don't have much idea about the Kernel, so i am not sure if i did this 
right :-)

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

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

[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-06 Thread wolfc
At least MC should say that we entered a non-deterministic situation and throw 
an exception.

I think it would be better to have an UndeterminedConstructorInfo which does 
some extra work at the end.

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

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


[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-06 Thread jaikiran
Update:  I hadn't refreshed the page, so when i replied, i did not see Ales or 
Carlo comments.



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Running JBoss on AIX on port 80

2008-11-06 Thread mroosendaal
Hi,

we want to run JBoss (version ) on AIX on port 80 and NOT on port 8080. The 
JBoss server is not run under 'root' so binding to port 80 is not possible.

We know Weblogic has the enableSetUid/SetGid method. Weblogic starts as root, 
binds to port 80 and moves to a regular account. Does JBoss has such an option? 

Or is there another preferred way to do this?

JBoss 3.2.6
AIX 5.3-2

Thanks,
Maarten

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

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


[jboss-user] [Beginners Corner] - Howto install custom classloader

2008-11-06 Thread Deady
Hi,

I want to write MBean deployer for dar archives, dar archive is simple jar 
archive with dbclasses.properties in its META-INF dir. In the properties file 
I'll describe db connection parameters and packages, which can be loaded from 
db.

Next I want to create my classloader to fetch classes from db if they match db 
packages, so access to UCL for new instance of the class for the first time 
would call my classloader. How can I do this (I mean only classloader stuff)?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: SingleScheduleProvider and daylight savings?

2008-11-06 Thread jaikiran
Looks like this is the same issue that we had discussed some time back at 
http://www.jboss.com/index.html?module=bbop=viewtopict=105536

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS on MAC OS X leopard

2008-11-06 Thread jaikiran
anonymous wrote :  I tried to upgrade my jdk from 1.5 to 1.6 on my mac but all 
I got was 1.5.0_16

I haven't used a Mac system so i dont know whether a JDK 1.6 is available for 
Mac OS.

anonymous wrote : I want to work on JBOSS seam, I wonder if this runs well on 
java 5.

Yes, JBoss Seam works fine on Java 5.

So, i guess, the best way to get your setup working is to retain the current 
Java 5 that you have and download a new JDK 1.5 version of JBoss-4.2.3 GA from 
here 
http://downloads.sourceforge.net/jboss/jboss-4.2.3.GA.zip?modtime=1216412104big_mirror=1

Let us know, if you still run into issues after following these steps.


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Need help in installation and configuration Jboss as ver

2008-11-06 Thread jaikiran
Question - Why JBoss-4.0.5 GA? :-) The latest stable version is JBoss-4.2.3 GA.
The first step to do after downloading JBoss is to set the JAVA_HOME to point 
to a valid JDK installation. Then from the %JBOSS_HOME%/bin folder run the 
appropriate script (run.bat for windows or run.sh for Unix)

 

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

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


[jboss-user] [JBoss Portal] - Re: run ./run.sh , notice:java.net.UnknownhostException:www.w

2008-11-06 Thread PeterJ
Please provide:

* the version of JBossAS you are using
* The version of JDK you are using
* the full stack trace
* a description of what changes you made ( such as apps deployed)

You can supply the first three items by posting the console output, starting 
from the command line you entered.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: it is very slow to start up jboss

2008-11-06 Thread PeterJ
If you look at the JBossAS5 forum, you will see that this has already been 
discussed and startup should be faster once GA is reached.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Usage of snapshots

2008-11-06 Thread PeterJ
anonymous wrote : The log file just stops being written to, until jboss 
restarts. 

This sounds like either a JVM crash, or the OS is forcibly terminating the 
process (e.g., kill -9 on Linux or End Process in Task Manager on Windows). For 
the former, a process dump file might be present. For the later, you might have 
to dig through OS config settings to see if there is something, such as a 
scheduled task, that is killing the process.

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

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


[jboss-user] [Performance Tuning] - Re: Improving speed app with concurrent transactions/hits

2008-11-06 Thread PeterJ
You might want to consider hiring someone to do this for you, it can get fairly 
complicated if you have never done this before.

Also, I do have another resource that has more details about tuning, but that 
resource is not free. I can provide the URL if you like.

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

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


[jboss-user] [JBoss Tools (users)] - Re: need help on import tld file

2008-11-06 Thread skyon
the TLD file is packaged into a jar, in the /META-INF/ folder, and the jar is 
in the classpath. 

I also tried to put the TLD file directly into /lib path of my project and add 
it to the build path, but the import dialog is not able to discover it. 

BTW I am using eclipse 3.4.1 and Jboss tools 3.0.0 Beta 1

I had the same issue in eclipse 3.3 and tools 2.1.0GA

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

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


[jboss-user] [JBoss Portal] - Re: portlet header not drawn completely when you drag and dr

2008-11-06 Thread [EMAIL PROTECTED]
Vallia,

Thanks for the report. This indeed seems to be in issue on IE7.

Clicking on potlet window decorator does not seem to work all the time. I have 
created a jira: https://jira.jboss.org/jira/browse/JBPORTAL-2226

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

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


[jboss-user] [JNDI/Naming/Network] - Re: trying to render a xdp form with LiveCycleForms: javax.n

2008-11-06 Thread PeterJ
You need to first ensure that you are using the correct JNDI name. You can do 
this via JNDIView - http://www.jboss.org/community/docs/DOC-9583

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

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


[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NameNotFoundException: com not bound

2008-11-06 Thread PeterJ
Continued at http://www.jboss.com/index.html?module=bbop=viewtopict=145156

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JConsole / jmxremote connection problems

2008-11-06 Thread [EMAIL PROTECTED]
I have removed the jboss specific options that you suggested, there was no 
obvious difference...

I have now moved the configuration details from the .conf file to the run.sh 
file


  | JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.port=12345
  | JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false
  | JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false
  | 

but that made no difference too.

The error remains Connection Failed: Retry? The connection to : did not 
succeed. Would you like to try again?

Thanks,
Rob.


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JConsole / jmxremote connection problems

2008-11-06 Thread PeterJ
You also need to add:

JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote
  | 

The comment for this line is sort of misleading - you need this setting to 
allow the JMX connection, wether locally or remotely. The three remote settings 
(that you listed) are in addition to this.

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

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


[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-06 Thread karltraunmueller
Carlo,

Could you please apply the workaround (constructor injection definition in  
jboss-ejb3-embedded-1.0.0-SNAPSHOT.jar/embedded-bootstrap-beans.xml)
and place an updated EJB3 embedded snapshot build in the JBoss maven repository?

many thanks,
Karl

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

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


[jboss-user] [JBoss Tools (users)] - Re: need help on import tld file

2008-11-06 Thread akazakov
Can you report it to the jira? And attache sample project to help us to 
reproduce it.

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

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


[jboss-user] [Clustering/JBoss] - Failover on Lookup via HTTP

2008-11-06 Thread faxe13
Hi all,

We have set up a JBoss cluster with 2 nodes and use RMI to communicate between 
the EJB client and the server. Now I managed to change all the communication 
between server and client to HTTP. Most of the things work fine except the HA 
JNDI Lookup.

With RMI I get a Proxy Object (HARMIClient) when doing lookups from the Server 
that is aware of all the cluster members and does automatically failover if one 
of the nodes is not reachable.

If I am using HTTP for lookups (via the NamingFactoryServlet) I of course get 
another proxy object from the server (HttpInvokerProxy) but it is not aware of 
all the cluster members and does not perform any failover although I do a 
HAJNDI lookup (http://x:8080/invoker/HAJNDIFactory).

Now my question: Is there a possibility to get a cluster aware HTTPInvokerProxy 
just like the HARMIClient with built in failover support or do i have to 
implement the failover for HTTP lookups myself? My implementetion could never 
be as good as the JBoss implementation because I could only provide a list of 
servers but never update the list of target servers just like the HARMIClient 
does if the cluster changes over time.

Thanks, Gert

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Multiple Jboss Proccesses

2008-11-06 Thread PeterJ
The entries are threads and they are sharing memory.

For real memory consumption, about the best way I know how is to note the 
difference in memory usage as reported by top with the app running and not 
running. For a full discussion, see 
http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running JBoss on AIX on port 80

2008-11-06 Thread PeterJ
See http://www.jboss.org/community/docs/DOC-10686

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

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


[jboss-user] [EJB 3.0] - Re: Help need to solve the jms not bound error

2008-11-06 Thread houston_dragon
Jaikiran:

Thanks for your reply. 

Could you tell me how to configure the queue as you suggested? I am new to 
JBoss and learning it through that tutorial. That tutorial does not say 
anything about it. And I could not found a good example how to configure the 
jms.


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

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


[jboss-user] [JBoss jBPM] - Re: couldn't find process definition 'helloworld'

2008-11-06 Thread salaboy21
That' s because you are using the JbpmContext.newProcessInstance(String) method 
and JbpmContext is a wrapper for HibernateSession.
You must create the process instance with the 
ProcessInstance.createProcessInstance() method.

Hope it helps

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

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


  1   2   >