[JBoss-user] [EJB/JBoss] - RemoteException - different tx context

2004-10-20 Thread StefanKuhn
Hi! 

Can anyone explain this exception? 
(what does ist mean?) 

It is thrown when calling a statefull session bean method (getGegenstandMain), from 
within a JSP file.

Thanks! 

Rgds 
Stefan 

18:54:31,105 ERROR [LogInterceptor] EJBException in method: 
  | public abstract util.Gegenstand bean_session.LogIn.getGegenstandMain(int) throws 
java.rmi.RemoteException:
  | javax.ejb.EJBException: Application Error: tried to enter Stateful bean with 
different tx context, 
  | contextTx: TransactionImpl:XidImpl[FormatId=257, GlobalId=p1510.server.info/121, 
BranchQual=, localId=121],
  | methodTx:  TransactionImpl:XidImpl[FormatId=257, GlobalId=p1510.server.info/122, 
BranchQual=, localId=122]

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - EJB-Table and DB-Table Mapping Problem

2004-10-20 Thread weeclub4
Hi,

I m new to jboss and from documentation and from websites i tried to solve it but 
nothing is working may be there is problem in my implementation.

I m trying to Map my entity bean named 'First' to the table 'New_First' which resides 
on Oracle. Everything works fine for table xyz. I m providing different table name in 
ejb-jar.xml and jbosscmp-jdbc.xml as well.

This is the code of jbosscmp-jdbc.xml
..
java:/ERM
  datasource-mappingOracle8/datasource-mapping
 

 enterprise-beans
  
   ejb-nameFirst/ejb-name
   table-nameNew_First/table-name
   cmp-field
field-nameid/field-name
column-namenew_id/column-name

   /cmp-field
   cmp-field
field-namemaster_name/field-name
column-namenew_master_name/column-name

   /cmp-field
  
 /enterprise-beans
..


And Here is the total code of ejb-jar.xml

ejb-jar
 display-nameejb1EJB/display-name
 enterprise-beans
  
   ejb-nameFirst/ejb-name
   table-nameNew_First/table-name
   firstBean.FirstHome
   firstBean.First
   ejb-classfirstBean.FirstBean/ejb-class
   persistence-typeContainer/persistence-type
   prim-key-classfirstBean.FirstKey/prim-key-class
   False
   cmp-field
field-nameid/field-name
column-namenew_id/column-name
   /cmp-field
   cmp-field
field-namemaster_name/field-name
column-namenew_master_name/column-name
   /cmp-field
  
  
   ejb-nameFirstSess/ejb-name
   firstBean.FirstSessHome
   firstBean.FirstSess
   ejb-classfirstBean.FirstSessBean/ejb-class
   session-typeStateless/session-type
   transaction-typeContainer/transaction-type
  
 /enterprise-beans
/ejb-jar


After completion of jboss server starting it looks for table named 'First'.

PLEASEE HELPP!!

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Getting started with JBoss 4.0 : Jasper Exception on opening

2004-10-20 Thread Cugnonr
I followed your tutorial Getting started for JBoss 4 and everything goes ok until 
the access to the page localhost:8080/bank/main.

I receive a blank page in my browser and this exception from Jasper :

07:23:21,862 ERROR [Engine] ApplicationDispatcher[/bank] Servlet.service() for servlet 
jsp threw exception
org.apache.jasper.JasperException: /logon2.jsp(1,1) L'uri absolue: 
http://java.sun.com/jsp/jstl/core ne peut tre rsolu
hier web.xml ou dans les fichiers jar dploys avec cette application

I have seen two other topics in this forum decribing the same problem without solution:

http://www.jboss.org/index.html?module=bbop=viewtopict=55089
http://jboss.org/index.html?module=bbop=viewtopict=54861 

I have installed the last version of JSTL files jstl.jar and standard.jar
These two files are well deployed and they are in the 
jboss-4.0.0/server/default/tmp/deploy/tmp...JBoss-DukeBank.ear-contents/web-client-exp.war/WEB-INF/lib
 after deployment.

I'm using JDK 1.4 and jboss 4.0.0 + the patch for Tomcat
I have done the same tutorial with JBoss 3.2.x a few weeks ago without problems. 

Could you help us to understand what is the problem?
Thanks!  Rudy CUGNON

Here is the full logging of the server (one part of my environment is in french. This 
is the reason of french messages in the logging) :

07:23:05,639 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-4.0.0/server/default/deploy/JBossDukesBank.ear
07:23:12,859 INFO  [EjbModule] Deploying CustomerBean
07:23:13,200 INFO  [EjbModule] Deploying AccountBean
07:23:13,220 INFO  [EjbModule] Deploying TxBean
07:23:13,240 INFO  [EjbModule] Deploying AccountControllerBean
07:23:13,350 INFO  [EjbModule] Deploying CustomerControllerBean
07:23:13,370 INFO  [EjbModule] Deploying TxControllerBean
07:23:14,381 INFO  [EJBDeployer] Deployed: 
file:/C:/jboss-4.0.0/server/default/tmp/deploy/tmp45748JBossDukesBank.ear-con
jb.jar
07:23:14,592 INFO  [TomcatDeployer] deploy, ctxPath=/bank, 
warUrl=file:/C:/jboss-4.0.0/server/default/tmp/deploy/tmp4574
ank.ear-contents/web-client-exp.war/
07:23:16,925 INFO  [EARDeployer] Started J2EE application: 
file:/C:/jboss-4.0.0/server/default/deploy/JBossDukesBank.ear
07:23:17,346 INFO  [Http11Protocol] Dmarrage de Coyote HTTP/1.1 sur 
http-0.0.0.0-8080
07:23:17,726 INFO  [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
07:23:17,736 INFO  [JkMain] Jk running ID=0 time=0/110  config=null
07:23:17,806 INFO  [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0 
date=200409200418)] Started in 1m:1
07:23:21,862 ERROR [Engine] ApplicationDispatcher[/bank] Servlet.service() for servlet 
jsp threw exception
org.apache.jasper.JasperException: /logon2.jsp(1,1) L'uri absolue: 
http://java.sun.com/jsp/jstl/core ne peut tre rsolu
hier web.xml ou dans les fichiers jar dploys avec cette application
at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:90)
at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339)
at org.apache.jasper.compiler.Parser.addInclude(Parser.java:390)
at org.apache.jasper.compiler.Parser.parse(Parser.java:123)
at 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at 
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:220)
at 

[JBoss-user] [Nukes User] - Re: Design strategy

2004-10-20 Thread cnovara
Here is the way I would make it :
Create a module, which is called by a link in the menu block (in the menu block 
service.xml you can put a pop-up comment)
When you click, your module shows the possible choices (links) in the main area (see 
html module behaviour for example). This is implemented by a method of your module 
(usualy main)
Other methods implement other actions : list companies, register ...

In my opinion, design is not such a problem because of nukes framework guidelines. 
Main issues are :
Directory structure creation for clean coding, building  deploying ;
IDE (Eclipse ?) integration ;
Persistence  database : EJB, CMP, CMR XDoclet ...

My first module was issued in 3 days, next one 3 hours ...


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB-Table and DB-Table Mapping Problem

2004-10-20 Thread robisz
Your jbosscmp-jdbc.xml should look like this:

defaults
  |datasourcejava:/ERM/datasource 
  |datasource-mappingOracle8/datasource-mapping 
  | /defaults
  | 
  | enterprise-beans 
  | entity
  |ejb-nameFirst/ejb-name 
  |table-nameNew_First/table-name 
  |cmp-field 
  |   field-nameid/field-name 
  |   column-namenew_id/column-name 
  |/cmp-field 
  |cmp-field 
  |  field-namemaster_name/field-name 
  |  column-namenew_master_name/column-name 
  |/cmp-field 
  | /entity
  | /enterprise-beans 

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: how to use singleton

2004-10-20 Thread lac_raz
I'm experiencing the same confusion . Did you find an answer for this ? 

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB-Table and DB-Table Mapping Problem

2004-10-20 Thread weeclub4
I copied the given code as it is inside this tag jbosscmp-jdbc
but still the output is same

[JDBCInitCommand] Table 'First' already exists.

Is there anything which i can do ot try out.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Porting a WAR using JAAS to the JBoss 4 Tomcat

2004-10-20 Thread ralf.siedow
When I deploy my -service.xml this is what JBoss writes to the log:

  | 09:25:47,066 WARN  [XMLLoginConfigImpl] Failed to parse config for 
entry:client-login
  | java.security.KeyException: Config name: client-loginalready exists
  | at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadXMLConfig(XMLLoginConfigImpl.java:328)
  | at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:284)
  | at 
org.jboss.security.auth.login.XMLLoginConfig.loadConfig(XMLLoginConfig.java:103)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.security.auth.login.DynamicLoginConfig.startService(DynamicLoginConfig.java:145)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:416)
  | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
  | at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy8.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
  | at 

[JBoss-user] [EJB/JBoss] - Re: EJB-Table and DB-Table Mapping Problem

2004-10-20 Thread robisz
Oops, your ejb-jar seems problematic too.
entity and session elements are missing... 
and you don't need to
add table-name  and column-name elements here. 

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB-Table and DB-Table Mapping Problem

2004-10-20 Thread weeclub4
Sorry about that i think it coz due to interface
Now i m writing it in this

  | 
  | ejb-jar
  |  display-nameejb1EJB/display-name
  |  enterprise-beans
  |   entity
  |ejb-nameFirst/ejb-name
  |table-nameNew_Table_First/table-name
  |homefirstBean.FirstHome/home
  |remotefirstBean.First/remote
  |ejb-classfirstBean.FirstBean/ejb-class
  |persistence-typeContainer/persistence-type
  |prim-key-classfirstBean.FirstKey/prim-key-class
  |reentrantFalse/reentrant
  |cmp-field
  | field-nameid/field-name
  | column-namenew_id/column-name
  |/cmp-field
  |cmp-field
  | field-namemaster_name/field-name
  | column-namenew_master_name/column-name
  |/cmp-field
  |   /entity
  |   session
  |ejb-nameFirstSess/ejb-name
  |homefirstBean.FirstSessHome/home
  |remotefirstBean.FirstSess/remote
  |ejb-classfirstBean.FirstSessBean/ejb-class
  |session-typeStateless/session-type
  |transaction-typeContainer/transaction-type
  |   /session
  |  /enterprise-beans
  | /ejb-jar
  | 
  | 

This time it is looking fine (I think).

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate - Help getting started with Hibernate

2004-10-20 Thread mikevdmza
I solved it by moving hibernate-service.xml into META-INF of the HAR file, and it 
worked. My mistake.

By the way, I hope this helps you further,  http://forum.hibernate.org and its jboss 
topic rocks ! There are lots of users actively helping each other, lots of examples, 
common mistakes to learn from etc.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Modbus in pooled connection?

2004-10-20 Thread arnoraps
En howto write a ResourceAdapter for an non JDBC? All examples in de docs/example/jca 
directory are aiming at jdbc

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate - Help getting started with Hibernate

2004-10-20 Thread gumreal
Hi, which version of jboss are you using?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: JBoss.net and xDoclet

2004-10-20 Thread nohwal
Thanks for the response Thomas!

Does that means I can't expose my POJOs as Web-services in JBoss 3.2.x?

Many thanks.
+Deepak.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - new Socket slow on jboss, fast on standalone

2004-10-20 Thread arnoraps
Why is using java.net.Socket so slow when used from a bean in jboss? Connecting then 
takes about 4-5 seconds. Connecting to mysql (not thru a connection pool) is only 20 
msec. 

When i use the same code in a standalone java application, connecting with a new 
Socket command is very fast, so the problemn is not my machine, or my network...

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News Announcements] - Re: 3.2.6 Release Available

2004-10-20 Thread wonnekeysers
So, I understand that there soon will be a 3.2.7 release.
Will that one be the final version in the 3.2.x series or how do we have to interpret 
it? (Todo-list?)
When is the release scheduled?


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Message Ordering

2004-10-20 Thread nath
hi friends,

I am new to jms.I have a problem.

I have multiple sender programs which sends messages to a Queue concurrently 
and have a single receiver program which receives messages from the queue. Sender1 
sends 10 messages sender2 sends 10 messages etc. When I receive the messages from the 
Queue,message sent by different senders get mixed, like message1 of first sender then 
message 1 of second sender then message 2 of first sender etc.Is there any way to get 
all the message send by a single sender in a single session  arrives in the Queue in a 
group?

hoping for help,

nath.


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - I don't need to delete passivated SFSB

2004-10-20 Thread robisz
Are there any way to configure LRUStatefulContextCachePolicy to
never delete passivated SFSBs?

What happens when I set max-bean-life to zero?


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Network troubles. - What must I change to enable logging

2004-10-20 Thread rixc
Hi all,

We have encountered a problem at one of our clients where we have our java client 
running on a windows machine and jboss running on an AIX. 

The network setup at the client is as follows:
- java client running on network 'A' with jdk1.4.2
- jboss 3.2.3 on AIX running on network 'B' with jdk1.4.2. The AIX machine has 3 
network addresses of which only one address is public.

We passed in the -b 10.247.25.189 (public address of the AIX) to the run.sh to make 
jboss bind to the public address and can see it used through the logs on the 
server.log:
[org.jboss.naming.NamingService] Started jnpPort=1099, rmiPort=1098, backlog=50, 
bindAddress=/10.247.25.189, etc.

We also comfirmed that the client machine can ping 10.247.25.189.

Our problem is that our client is throwing an  exception during connection:
javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: 
  | Connection refused to host: 192.168.20.12; nested exception is:
  |   java.net.ConnectException: Connection refused: connect]
  |   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647)
  |   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
  |   at javax.naming.InitialContext.lookup(InitialContext.java:347)
  | 
The problem is that 192.168.20.12 is one of the private network addresses on the AIX 
machine. even though I specified the public address in the connection properties as 
shown below.
props.put(java.naming.factory.initial, org.jnp.interfaces.NamingContextFactory);
  | props.put(java.naming.provider.url, 10.247.25.189:1099);
  | props.put(java.naming.factory.url.pkgs, org.jboss.naming:org.jnp.interfaces);

So to finaly get to my questions:
1. Why is jboss returning an internal address when I have told it to bind to a public 
address?
2. What logging can I enable to see why jboss is returning this internal address.

Unfortunately, networking is not my speciality so all suggestions are welcome. 

Ricardo

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - UserTransaction and HttpNamingContextFactory

2004-10-20 Thread Matthias
Hi,

i have a servlet on Server 'A' which communicates with Session-Beans on Server 'B'.
The Servlet starts a Transaction and the Seesion-Bean makes the Database-Actions.
JBoss-Version: jboss-3.0.4_tomcat-4.1.12.


;--- Servlet-Snipping ---
myTrans = (UserTransaction)ctx.lookup( UserTransaction );
myTrans.begin();


String updateStmt = update ...
try {
  mySessBean.doUpdStrbDatabase(updateStmt);
}
lTransaction.commit();

} catch (Exception le) {
lTransaction.rollback();
le.printStackTrace();
}

;--- Servlet-Snipping ---

with standard-Connection the System works fine.

Now i changed the jndi.properties to use HttpNamingContextFactory
because i want to communicate with the JBoss-Server through
a Firewall.

;--jndi.properties
; Standardconnection
;--java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
;--java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
;--java.naming.provider.url=jnp://localhost:11099

java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=http://localhost:8080/invoker/JNDIFactory
;--jndi.properties

the web.xml in http-invoker.sar was customized to solve the external url.

;--- server  .../default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml


servlet-nameJNDIFactory/servlet-name
A servlet that exposes the JBoss JNDI Naming service stub
through http. The return content is a serialized
MarshalledValue containg the org.jnp.interfaces.Naming stub. This
configuration handles requests for the standard JNDI naming service.


servlet-classorg.jboss.invocation.http.servlet.NamingFactoryServlet/servlet-class
init-param
param-nameinvokerName/param-name
param-valuejboss:service=Naming/param-value
/init-param
init-param
param-nameexternalURL/param-name
param-valuehttp://pcit1052:8080/invoker/JMXInvokerServlet/param-value
...

/init-param
load-on-startup2/load-on-startup

;--- server  .../default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml


The Beans work fine. But when i try to work with a UserTransaction
the System runs into an Exception.


javax.naming.CommunicationException: Failed to connect to server http:1099 
[Root exception is javax.naming.ServiceUnavailableException: 
Failed to connect to server http:1099 
[Root exception is java.net.UnknownHostException: http: http]]


Is there an additional setup necessary ?

I would be glad to get help.

Regards Matthias Lakmper



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Ingres configuration parameters

2004-10-20 Thread rcbeuker
Does anyone know the configuration parameters for setting up the Ingres database?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Hibernate exception (datasource, security domain - null use

2004-10-20 Thread yuriyg
I deploy .har which uses datasource which in turn use security domain. Everything is 
fine except the fact when Hibernate initialized it throws an exception 

org.jboss.resource.JBossResourceException: Could not create connection; - nested 
throwable: (java.sql.SQLException: Null user or password not supported in THIN driver)

It happens because LoginContext here is not set what's natural. And actually it 
doesn't hurt much. But anyway I would like to avoid this. How to do this?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: incomplete jbosscmp-jdbc.xml generated using xdoclet+jbo

2004-10-20 Thread pablojavierpy
No. I haven't use bidirectional. If you are using bi-directionar, remember to remove 
taget doclet tags in both sides, and the relation-name must be equal in both sides.

If I have an example working, I will let you know.

Just wondering, what database engine are you using for persistence?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: ListenerServlet

2004-10-20 Thread yuriyg
[EMAIL PROTECTED] wrote : This error message was fixed in 3.2.6
  | 
  | It does show you have active listeners on a destination when you undeploy it.

What does it mean fixed? I tried 4.0.0 and the same happens.
Maybe I'm wrong with my architecture?

I do understand that the exception means that a thread in my servlet is still waiting 
for messages but a queue itself is already closed. And I afraid there are no ways to 
fix it from my application because actually I do close all listeners in finally of 
run() but it doesn't help much.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: defining relation from a bean to itself

2004-10-20 Thread darranl
Can you post some extracts from your code, the actual errors that you are seeing and 
extracts from the generated deployment descriptors.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Full GC !!! Good or bad ?

2004-10-20 Thread [EMAIL PROTECTED]
Hi, 

Thanks a lot for all the help. 

things are going fine now. 

I changed JAVA_OPTS in run.conf with all parameters which I was trying to update in 
run.sh file. 

Also, -XX:+DisableExplicitGC option also seems to be working which I got from FAQs 
on JAVA as suggested by Adrian. 

my JAVA_OPTS finally looks like 

JAVA_OPTS=-server -Xms512m -Xmx512m -verbosegc -XX:+PrintGCDetails 
-XX:+DisableExplicitGC -XX:Max
  | PermSize=512m -XX:+AggressiveHeap

FULL GC messages have stopped flashing. only 

[GC 185088K-181933K(508928K), 0.3384651 secs]
  | [GC 189037K-26521K(505600K), 0.2031701 secs]
  | [GC 185753K-177241K(505600K), 0.1564887 secs]
  | [GC 183449K-24697K(505024K), 0.2648330 secs]
  | [GC 182777K-177109K(505024K), 0.1530459 secs]
  | [GC 183125K-23954K(504896K), 0.0878689 secs]
  | 

statements are occuring. But I guess, that's going to happen in any case. Also, they 
don't occur frequently as was the earlier case. 

Regards, 

Suraj


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - I'm working with wsad 5.1.2 and want to deploy on Jboss ? wh

2004-10-20 Thread rocketarena
hi
is there  a jboss plug-in for eclips ? can u give me a link plz.

if not, how to do this from wsad!!!

thnx a lot

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Sybase ASE + Jboss

2004-10-20 Thread pablojavierpy
Has someone been using JBOSS + Sybase ASE in production environments?

I have searched, but haven't found much information about this combination y JBOSS's 
forums.

I wanted to use these technologies to deploy an application I am developing, but, I am 
not sure about it. 

- what about IDENTIY/auto-increment primary keys?
- what about transactions under heavy loads?

This two issues, apparently are unresolved

Any ideas from JBOSS developers?

Should I stick to a more open database like PostgreSQL?

Thanks in advance.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Message Ordering

2004-10-20 Thread robisz
Hi!

I guess it's not possible. 
You can try to add a sender id to your messages and your
receiver can sort out them by the id... but it's not exactly what you want.

I recommend you use different queues for senders and your
receiver can listen all of them.

robisz



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: I'm working with wsad 5.1.2 and want to deploy on Jboss

2004-10-20 Thread darranl
JBoss-IDE

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Ingres configuration parameters

2004-10-20 Thread robisz
Put jdbc driver to server/your_config/lib directory.
Put a -ds.xml file to server/your_config/deploy directory with
the following content (change the db url).

?xml version=1.0 encoding=UTF-8?
  | 
  | datasources
  |   local-tx-datasource
  | jndi-nameIngresDS/jndi-name
  | connection-urljdbc:edbc://host:a01/hostname::db/connection-url
  | driver-classca.edbc.jdbc.EdbcDriver/driver-class
  | min-pool-size5/min-pool-size
  | max-pool-size20/max-pool-size
  | idle-timeout-minutes0/idle-timeout-minutes
  | track-statementstrue/track-statements
  |   /local-tx-datasource
  | /datasources

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Sybase ASE + Jboss

2004-10-20 Thread kabkhan
You can use any database you like...

Jboss comes with an example datasource config for sybase, in sybase-ds.xml the 
docs/examples/jca folder.

For primary key generation, from the documentation (see free docs, chapter 11.19):
anonymous wrote : sybase-fetch-key: 
(org.jboss.ejb.plugins.cmp.jdbc.sybase.JDBCSybaseCreateCommand) The 
JDBCSybaseCreateCommand
  | executes an INSERT INTO query after executing a SELECT @@IDENTITY statement to
  | fetch the generated key.


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - JBoss benchmarking

2004-10-20 Thread krish_borland
I'm attempting to benchmark JBoss 4.0 against Borland Enterprise 
Server (BES) 6.0. 

I've been reading a couple of performance tuning articles/papers 
on JBoss. However, I've some trouble figuring out if things apply 
only to a particular 4.0 release, or a  3.2.x or a prior one.

Let me enumerate through what I have done in 4.0, and what I 
am looking for/have missed (correct me if I am wrong):

(1) Benchmark uses only Commit Option B in entity beans.
This is default for JBoss 4.x (as well as BES). Will
try commit option A at a later stage. No special entry
needed for Commit Option B in Jboss. Clustering not
important for this benchmark.
(2) Jboss: Use of Instance-Per-Transaction Policy. I set
this in jboss.xml

  ejb-name/ejb-name
  local-jndi-name/local-jndi-name
  configuration-nameInstance Per Transaction CMP 2.x 
EntityBean/configuration-name

(3) Jboss: No-select-before-insert (no class name needed?) in
jbosscmp-jdbc.xml

   ejb-name/ejb-name
  entity-command name=no-select-before-insert /

(4) PreparedStatementCache size
local-tx-datasource
   ...
   prepared-statement-cache-size50/prepared-statement-cache-size
/local-tx-datasource
(5) Jboss: Read-ahead strategy on find: in jbosscmp-jdbc.xml

   ejb-name.../ejb-name
   . 
   read-ahead
  on-find
   /read-ahead

(6) cache list max

   ejb-name.../ejb-name
   . 
   list-cache-max5000/list-cache-max

(7) Disabled debug in: CachedConnectionManager
in jbossjca-service.xml (debug is false)

Most/many of the above are already the default in BES, and so
out-of-the-box performance  scalability is not really a major
pain. My initial tests on a big multi-CPU box (single JVM)
showed an out-of-the-box Jboss lagging behind by an order of
magnitude, but I have the performance difference down to a 
50-100% difference now under the same JDK, identical tuning 
params, etc.

Questions:
==
(1) Are the above accurate?
(2) Any more perf influencing params I have missed?
(3) Any mechanism to limit the thread pool size
of the EJB Container?
(4) Anymore disabling of timers/stats gathering?
(5) SFSB passivation timeout (default?): disabling?
(6)  ?

Thanks,

-krish


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: JBoss.net and xDoclet

2004-10-20 Thread tdiesler
No it doesn't. JBoss.NET builds ontop of Axis, which by default only exposes POJOs and 
not EJBs.

It means, if you have the choice I recommend you to invest time and efford in standard 
ws and not the propriatary JBoss.NET approach.

JBoss.NET has entered maintainance and will not be developed further.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - cache invalidation on a cluster

2004-10-20 Thread tarkan
Hi,

I have a Cluster and I want to use the CMPCacheInvalidation Framework to invalidate 
EJB entity instances on all nodes.
If I call the flush() method on the MBean 
(jboss.j2ee:jndiName=TestEntityBean,plugin=cache,service=EJB) it only flushes the 
local cache. 
The other nodes have still the same cache content.

The MBean (jboss.cache:GroupName=MY_IG,service=InvalidationGroup) has only methods to 
invalidate an appropriate entity instance 
or you can invalidate a group of entity instances. But there is no way to invalidate 
all instances.

Has somebody an idea or an advice to solve that problem. I don't want to call the 
flush() method on all nodes.

Thanks

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Is it Valid to Cast Down the Principal

2004-10-20 Thread leathurman
Hi ragavgomatam,

I am using a custom built login module. I am still in the process of development but 
yes I am expecting to bundle the login module and the custom principle with the ear. 
This will be interesting though as I am half expecting classloading issues. However if 
this is the case I will adopt the same principle as the jbosssx jar and put it in lib 
since our login module will be used by many ears and I am happy with the wider scope 
in this case. Are you having issues with this?

The other problem I am expecting to face is the propagation problem. My custom login 
module returns a bespoke caller principle identity however I am unsure whether I will 
have problem with the ClientLoginModule which just transfers the username and 
password. 

If this is the case how can i expect my EJB's to get access to bespoke called 
principle on subsequent EJB invocations. Does JBoss use the username to locate the 
original principle?

Regards
Lea.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Tunneling all JBOSS 3.2.5 Services through HTTPS (RMI,JNDI,J

2004-10-20 Thread roli8200
Hy all

I'm working now more than 2 weeks on trying to get this issue done. The goal is to 
enable all tomcat services over one single https connection.
I've readt many many documents but the problem is really elusive.
Hey guys from JBOSS, can not somebody write a small howto how to get this done. I 
don't have any more nerves in trying and read exception messages.
PLEASE HELP ME!!!

Roland Kaeser
Systems Engineer

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Wat is the difference between edbc.jar and iijdbc.jar

2004-10-20 Thread rcbeuker
I am still a little confused; with the EdbcDriver I am using the edbc.jar instead of 
the also existing iijdbc.jar? What is the difference between these two drivers? 

Anyway it works this way. For the folks who asking me questions about the 
connection-url:

My host name is gea and I use the hard coded port number 21072 (the logical link II7 
from Ingress is not working). The name from the test database is titan

connection-urljdbc:edbc://gea:21072/gea::titan/connection-url

Thanx ;-)

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Sybase ASE + Jboss

2004-10-20 Thread pablojavierpy
Hi Kabkhan.

First of all, thanks for the quick reply.

Two things:

1) I have read, that if you use JBOSS+Sybase, you might experience transaction logs 
and sutff. So I don't think any database you like applies here. 

Please refer the following posts:
http://www.jboss.org/index.html?module=bbop=viewtopict=54135

2) sybase-fetch-key is for retrieve the generated key. But, since there is no 
auto-increment template in Sybase datasource mapping configuration in 
standardjbosscmp-jdbc.xml, I don't know how to tell container to create table with 
IDENTITY column needed by sybase-fetch-key entity command.

Please refer the following posts:

http://www.jboss.org/index.html?module=bbop=viewtopict=55410
http://www.jboss.org/index.html?module=bbop=viewtopict=54569
http://www.jboss.org/index.html?module=bbop=viewtopict=27937


Thanks again

Cheers.



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate - Help getting started with Hibernate

2004-10-20 Thread lucasacosta
gumreal: I'm using JBoss 4.0.0

mikevdmza, thank you very much for your help.
My problem was that I made bad the structure of the .har file. Now, it works excelent.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JAAS Authentication exception

2004-10-20 Thread DragosPD
I run a java client with use the ClientLoginModule to transfer credentials to the 
JBoss server. The client acces a protected method(test) on a stateless session bean 
running in the other default JBOSS security domain. 
This is the client:


  |   public static void main(String[] args) {
  | try {
  |   SecurityUtil sc = new SecurityUtil();
  |   char[] passw = {'d', 'r'};
  |   sc.login(dragos, passw);
  |   SecurityServiceDelegate securityDelegate = new SecurityServiceDelegate();
  |   securityDelegate.test();
  |   sc.logout();
  | } catch(Exception e) {
  |System.out.println(e.toString());
  | }
  |   }
  | 

i have users.properties and roles.properties in JBOOS_HOME/server/default/conf

users.properties:

dragos=dr
cristi=cr
user1=u1

roles.properties:
---
cristi=user
dragos=user
user1=user

But when the client run I obtain this error:

anonymous wrote : 
  | rdcs.core.client.DelegateException: java.rmi.ServerException: RemoteException 
occurred in server thread; nested exception is: 
  | java.rmi.ServerException: EJBException:; nested exception is: 
  | javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
  | Authentication exception, principal=dragos
  | 

on the client side and
anonymous wrote : 
  | 15:33:43,902 ERROR [LogInterceptor] EJBException, causedBy:
  | java.lang.SecurityException: Authentication exception, principal=dragos
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:165)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:83)
  | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
  | at 
org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
  | at org.jboss.ejb.Container.invoke(Container.java:743)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
  | at sun.rmi.transport.Transport$1.run(Transport.java:148)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
  | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | at java.lang.Thread.run(Thread.java:534)
  | 

on the server side

where is the mistake?
As far as I see the principal 'dragos' is transfered to the server side but there I 
encountered an authentication exception



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Authentication exception

2004-10-20 Thread DragosPD
I run a java client with use the ClientLoginModule to transfer credentials to the 
JBoss server. The client acces a protected stateless session bean running in the 
other security domain. 
This is the client:


  |   public static void main(String[] args) {
  | try {
  |   SecurityUtil sc = new SecurityUtil();
  |   char[] passw = {'d', 'r'};
  |   sc.login(dragos, passw);
  |   SecurityServiceDelegate securityDelegate = new SecurityServiceDelegate();
  |   securityDelegate.test();
  |   sc.logout();
  | } catch(Exception e) {
  |System.out.println(e.toString());
  | }
  |   }
  | 

i have users.properties and roles.properties in JBOOS_HOME/server/default/conf

users.properties:

dragos=dr
cristi=cr
user1=u1

roles.properties:
---
cristi=user
dragos=user
user1=user

But when the client run I obtain this error:

anonymous wrote : 
  | rdcs.core.client.DelegateException: java.rmi.ServerException: RemoteException 
occurred in server thread; nested exception is: 
  | java.rmi.ServerException: EJBException:; nested exception is: 
  | javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
  | Authentication exception, principal=dragos
  | 

on the client side and
anonymous wrote : 
  | 15:33:43,902 ERROR [LogInterceptor] EJBException, causedBy:
  | java.lang.SecurityException: Authentication exception, principal=dragos
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:165)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:83)
  | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
  | at 
org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
  | at org.jboss.ejb.Container.invoke(Container.java:743)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
  | at sun.rmi.transport.Transport$1.run(Transport.java:148)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
  | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | at java.lang.Thread.run(Thread.java:534)
  | 

on the server side

what could be the problem?


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Is JBOSS 3.2.3 supported on JDK 1.5 (beta)

2004-10-20 Thread xtidylan
Hi, I was wondering if this problem was already resolved? I'm using JBoss 3.2.3 with 
JDK 1.4.2, I tried JDK 1.5 Final, but it doesn't seem to work.

Or should I get a newer version of JBoss instead?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - DB2 JDBC problems with 3.2.6

2004-10-20 Thread msatwork
Hi,

I can't get 3.2.6 (on Linux) to speak to my DB2 database.  I have set up the server 
config, which is a vanilla copy of the default configuration, called jboss0 (I plan to 
run multiple instances, if I can ever get the first one working). I have put the 
db2-ds.xml file, modified for our environment into the jboss0/deploy directory and the 
driver file db2java.zip into jboss0/lib.  I then dropped one of the war files which is 
working perfectly under  3.2.1 into the deploy directory.

Start up, the instance - so far so good - everything starts up nicely.  Try to use any 
of the servlets in the war file and I get:

Error - Time: 20/10/2004 14:02:35 Source: ConnectionPoolMgr.getConnection2-2 Error: 
Could not create connection; - nested throwable: 
(org.jboss.resource.JBossResourceException: Failed to register driver for: 
COM.ibm.db2.jdbc.app.DB2Driver; - nested throwable: (java.sql.SQLException: 
java.lang.UnsatisfiedLinkError: no db2jdbc in java.library.path)); - nested throwable: 
(org.jboss.resource.JBossResourceException: Could not create connection; - nested 
throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: 
COM.ibm.db2.jdbc.app.DB2Driver; - nested throwable: (java.sql.SQLException: 
java.lang.UnsatisfiedLinkError: no db2jdbc in java.library.path)))

The request is coming from a web server running apace via jk2 and is comming through 
ok, and the database is up, running and can be connected to using the DB2 client.

What am I missing?  Any help gratefully received.

Thanks,

Malcolm

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Chained certificate lost when JBoss integrate with IIS.

2004-10-20 Thread keanthian
I'm using JBoss-3.2.5 (SSL with client authentication) to integrate with IIS 5.0. I'm 
using isapi_redirector.dll to act as connector.

My client's certificate is signed by Thawte. Therefore, it's basically a chained 
certificate. My problem is, when the request arrives at my application via IIS, the 
root CA certificate is gone. I only manage to read client's certificate. But if my 
client request is directly made to Jboss, my application will be able to read all the 
chained certificates.
FYI, IIS has been configured to accept client certificate only.

Why it's behave in such way?is it because of the isapi_redirector.dll which is not 
able to redirect the whole https request?

Please advice..thanks a lot..:-)


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: dsdotxml in -ejb.jar

2004-10-20 Thread GreyDeath
thanks that did the trick

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Problem deploying web service on Jboss 4.0.0

2004-10-20 Thread [EMAIL PROTECTED]
Hello all,

I am using the following web.xml in my web service war:

?xml version=1.0?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN 
http://java.sun.com/dtd/web-app_2_3.dtd;
   
web-app
   
  servlet-nameomutilServlet/servlet-name
  servlet-classomservice.OmutilSoapBindingImpl/servlet-class
  

  servlet-mapping
servlet-nameomutilServlet/servlet-name
url-pattern/omutilServlet/url-pattern
  /servlet-mapping
/web-app

When I first startup jboss 4, my web service is deployed and functions correctly. 
However, if I shutdown jboss and then restart it, the above file gets renamed to 
web.xml.org and jboss replaces it with..

?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN 
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
  
servlet-nameomutilServlet/servlet-name
org.jboss.webservice.server.ServiceEndpointServletJSE/servlet-class
init-param
  param-namews4ee-service-name/param-name
  param-valueomutilService/param-value
/init-param
  
  servlet-mapping
servlet-nameomutilServlet/servlet-name
url-pattern/omutilServlet/url-pattern
  /servlet-mapping
/web-app

As jboss has changed the  definition, my webservice no longer loads. Does anyone know 
what is going on?

Thanks,

Miles Henderson


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Duke Bank Example

2004-10-20 Thread stevewong
When I try to compile the duke bank example by following the jboss tutorial 4.0, I got 
the following error:

[EMAIL PROTECTED] bank]# ant -f jboss-build.xml compile
Buildfile: jboss-build.xml
 
prepare:
 
compile:
[javac] Compiling 58 source files to /opt/java/j2eetutorial14/examples/bank/build
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java: 
In class `com.sun.ebank.appclient.EventHandle$8':
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java: 
In method 
`com.sun.ebank.appclient.EventHandle$8.actionPerformed(java.awt.event.ActionEvent)':
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java:223:
 error: Can't find method 
`showInputDialog(Lcom/sun/ebank/appclient/BankAdmin;Ljava/lang/String;)' in type 
`javax.swing.JOptionPane'.
[javac]returned = JOptionPane.showInputDialog(frame, mess);
[javac]  ^
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java: 
In class `com.sun.ebank.appclient.EventHandle$7':
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java: 
In method 
`com.sun.ebank.appclient.EventHandle$7.actionPerformed(java.awt.event.ActionEvent)':
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java:203:
 error: Can't find method 
`showInputDialog(Lcom/sun/ebank/appclient/BankAdmin;Ljava/lang/String;)' in type 
`javax.swing.JOptionPane'.
[javac]returned = JOptionPane.showInputDialog(frame, mess);
[javac]  ^
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java: 
In class `com.sun.ebank.appclient.EventHandle$4':
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java: 
In method 
`com.sun.ebank.appclient.EventHandle$4.actionPerformed(java.awt.event.ActionEvent)':
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java:157:
 error: Can't find method 
`showInputDialog(Lcom/sun/ebank/appclient/BankAdmin;Ljava/lang/String;)' in type 
`javax.swing.JOptionPane'.
[javac]returned = JOptionPane.showInputDialog(frame, mess);
[javac]  ^
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java: 
In class `com.sun.ebank.appclient.EventHandle$3':
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java: 
In method 
`com.sun.ebank.appclient.EventHandle$3.actionPerformed(java.awt.event.ActionEvent)':
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java:137:
 error: Can't find method 
`showInputDialog(Lcom/sun/ebank/appclient/BankAdmin;Ljava/lang/String;)' in type 
`javax.swing.JOptionPane'.
[javac]returned = JOptionPane.showInputDialog(frame, mess);
[javac]  ^
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java: 
In class `com.sun.ebank.appclient.EventHandle$1':
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java: 
In method 
`com.sun.ebank.appclient.EventHandle$1.actionPerformed(java.awt.event.ActionEvent)':
[javac] 
/opt/java/j2eetutorial14/examples/bank/src/com/sun/ebank/appclient/EventHandle.java:104:
 error: Can't find method 
`showInputDialog(Lcom/sun/ebank/appclient/BankAdmin;Ljava/lang/String;)' in type 
`javax.swing.JOptionPane'.
[javac]returned = JOptionPane.showInputDialog(frame, mess);
[javac]  ^
[javac] 5 errors
 
BUILD FAILED
file:/opt/java/j2eetutorial14/examples/bank/jboss-build.xml:54: Compile failed; see 
the compiler error output for details.
 
Total time: 1 second

Does anyone know what's going wrong, I'm new to both j2ee and jboss. Thanks

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: JBoss.net and xDoclet

2004-10-20 Thread keanthian
hi all,
i'm exploring JBoss.Net too...just would like to check with you all, did anyone of you 
try to develop Document/Literal web service? it seem like not working properly when 
your web services accepting more than one parameters..



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: wsr do not redeploy without a jboss restart ?

2004-10-20 Thread keanthian
you can try to embed it into an ear file and deploy the ear file. ear file is hot 
deployable.



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Why is jboss-net xdoclet hardcoded to rpc-encoded?

2004-10-20 Thread keanthian
i have try to implement my web service with doc/lit, but it seem like not working 
properly. The problem arises when my web service method accepts more than one 
parameter. any once facing the same problem?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: JBoss and Web Services

2004-10-20 Thread tdiesler
Yes, it does. What's the issue?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: JBoss and Web Services

2004-10-20 Thread keanthian
hi scott,
one quick question, does JBoss.Net support Document/Literal web service?

thanks.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Document style web services.

2004-10-20 Thread keanthian
hi Stephen,
Did you manage to get your Doc/Lit web service works? 
I'm facing problem while trying to implement Doc/Lit web service. My web method always 
get null value from the 2nd parameter. It works fine if my web metho donly receive 1 
parameter.

Even when i try with axis, it's still giving me the same problem.
Please share with us if u manage to get your Doc/Lit web service works.

thanks...:-)

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: DB2 JDBC problems with 3.2.6

2004-10-20 Thread robisz
I think the extension of your jbdc driver file should be .jar instead of .zip


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: JBoss and Web Services

2004-10-20 Thread keanthian
My web service (Doc/Lit) is accepting 2 parameters, when my client application request 
the service, the server side manages to get the value for 1st paramater but for 2nd 
parameter, it always get null value. 
Eg

public void myWebMethod(String firstParam, String secondParam){
 //firstParam works fine
 //secondParam always get null value
}

I'm have tried the same thing with Axis running in Tomcat, the same problem occurs.

Fyi, it works fine if i'm using rpc/lit or rpc/encoded.

thanks...

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Are JMS messages cached?

2004-10-20 Thread hitcher
We know that, but unfortunately you decided to switch from tomcat 4.x to tomcat 5 
which makes 3.2.4/5  a new major release and not a minor release or patch. 
The customer would have to start their whole test cycle again, which would move the 
live date to next year, which would cost us more than $20. If that happens I could 
never convince my superior management that JBoss is a trustworthy Applcation Server 
and it would definitely disappear from our suggested platform list. So you see, all I 
am trying is to keep you in the game for our future projects...



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Why is jboss-net xdoclet hardcoded to rpc-encoded?

2004-10-20 Thread tdiesler
Can you try wrapping the parmeters with a single object. This issue has been addressed 
in jboss-head

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Are JMS messages cached?

2004-10-20 Thread hitcher
and deleting the messages is only fighting a symptom anyway. Those messages should 
never appear in the database because they were already delivered before the database 
comes online again and there are no durable subscribers.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - javax.jms.JMSException: Error creating the dlq connection: X

2004-10-20 Thread parekhbh
Hi,

I am deploying My application in jboss 3.2.5 and it is giving me this error. Please 
help me in this.


20:22:42,073 WARN  [JMSContainerInvoker] JMS provider failure detected:
javax.jms.JMSException: Error creating the dlq connection: XAConnectionFactory not 
bound
at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
at $Proxy88.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:367)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:170)
at 
org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:234)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.M


Please help me to solve this.

Thanks in advance.

Bhaumik

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: UserTransaction and HttpNamingContextFactory

2004-10-20 Thread Matthias
Hi,

i tried another approach.

The jndi.properties are in Standard-Settings

;--jndi.properties
java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=http://localhost:8080/invoker/JNDIFactory
;--jndi.properties

In jboss-service.xml i added an attribute for RmiPort

;--- excerpt from jboss-service.xml---
   mbean code=org.jboss.naming.NamingService
 name=jboss:service=Naming
 attribute name=Port11099
 attribute name=RmiPort34158
   /mbean
;--- excerpt from jboss-service.xml---


In this case also the bean-Functions work fine until i try to start a 
UserTransaction. Here the System tries to communicate on an arbitrary port,
e.g. 3967.

Is there a way to define a fix port for Transactions ?

Regards Matthias Lakmper


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News Announcements] - Re: 3.2.6 Release Available

2004-10-20 Thread frankgrimes
Incidentally, I was able to build a jetty-5.0.0-jboss-4.0.0 sar file with the 
above-mentioned method.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: I am looking for a JBoss-Jetty.sar for jboss4.0.0RC1

2004-10-20 Thread frankgrimes
lilredheadgrl wrote : Doesn't seem to exist yet.  Here is what is available:
  | http://sourceforge.net/project/showfiles.php?group_id=7322

While a binary distribution isn't available, I was able to build a 
jetty-5.0.0-jboss-4.0.0 sar file.
Simply download Jetty, modify Jetty/extra/j2ee/jboss.properties and run 
Jetty/extra/j2ee/build.xml.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: How to Use Custom Login

2004-10-20 Thread [EMAIL PROTECTED]
Please refer to the JAAS HowTo

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cluster node count

2004-10-20 Thread afshanz
Hi,
I would like to know how to register to HAParatition through HAMembershipListener? 
could you please give an example?

Thanks


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - How to reference EJB deployed in another JAR ?

2004-10-20 Thread onlytoine
Hello,

I'm reading this book and trying the probleme described in the title.

For instance, I have two JAR files a.jar and b.jar where I deployed respectively the A 
and the B entity bean.

Now, I want to create a relation Many-To-One from B to A... The issue is when I 
deployed B, I get the exception : A not bound...

In the book (p. 203), it says : if 2 entity beans are to have a relationship, they 
must be deplyoed by the same deployment descriptor. This is the reality ? I can't 
definitively solved my problem ??? 

However, I saw over the web that ejb-link should allow to refer a EJB deployed in 
another JAR file using this syntax : ejb-link./a.jar#A/ejb-link. Does JBoss 4 
support this feature ?

Thanks for your reply !

Best regards,
Anthony MLLER

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: DB2 JDBC problems with 3.2.6

2004-10-20 Thread msatwork
robisz wrote : I think the extension of your jbdc driver file should be .jar 
instead of .zip
  | 

Tried unpacking zip to the jars. Didn't work!  Same configuration (.zip) works in 
3.2.1 and 3.2.3


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How to access HASingleton MBeans from a non-master clust

2004-10-20 Thread monocongo
I can't find any reference to a JMX Remote Connector anywhere in the Admin/Devel 3.2.3 
Guide, which I assume is the latest Admin/Devel Guide available.  Are you referring to 
using the InvokerAdaptorService (p. 179) in the same manner as the RMIAdaptor (p. 90) 
being used in the RMIAdaptor client example (p. 94) ?

Assuming that this is the case I have several questions.

In the RMIAdaptor client example it gets the RMIAdaptor like so: 


  | RMIAdaptor server = (RMIAdaptor) ic.lookup(jmx/rmi/RMIAdaptor);
  | 

I assume that in a clustered deployment each node will make available a RMIAdaptor 
(like a MBeanServer) which provides access to its registered MBeans.  So only one node 
in a cluster will be able to provide a RMIAdaptor with access to my HASingleton 
MBeans, since these are only registered on the master node of the cluster.  Is this 
true, or will a RMIAdaptor only be available from the master node ?  If there is one 
per node then how can you know that the RMIAdaptor that is found from the lookup is 
the one which allows access to the singleton MBeans registered on the master node ?  
It's not clear that the lookup will find the correct RMIAdaptor (which must come from 
the master node) with the MBeanServer with the registered singleton MBeans, so we're 
still unable to invoke the operations we need fom the singleton MBeans.


--James

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: javax.jms.JMSException: Error creating the dlq connectio

2004-10-20 Thread yuriyg
Once I have had one when removed hsqldb-ds.xml file. :-)
If not, try to reunzip JBoss again and install all anew.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Are JMS messages cached?

2004-10-20 Thread [EMAIL PROTECTED]
That is not correct.

It is part of the design of the way the jdbc pm works.

Non persistent messages added to store via the cache don't survive a restart.
The cache does not fail just because it couldn't remove the persistent copy at
acknowledgement time. It will let the restart tidy it up.

The problem in earlier versions was that it was issuing an invalid sql statement

  | delete from jms_messages where txop='T' and txid=null
  | 
which some databases allow, but Oracle interprets correctly.

It should have been

  | delete from jms_messages where txop='T' and txid IS null
  | 

It was something I fixed a while ago, but the code had regressed.

Since the txid being null is irrelevent anyway, later versions do

  | delete from jms_messages where txop='T'
  | 


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: UDP bind_addr vs. -Dbind.address JBoss 3.2.6

2004-10-20 Thread dfisher
Were you able to get JGroups to bind to a specific IP address?
I've tried using -b, --host, -Djboss.bind.address, and setting the address in the 
cluster-service.xml file.
None of these have worked.
JGroups always binds to all interfaces.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread jhaddad
While analyzing the performance of my app, which runs on JBoss 3.2.5, I noticed 
significant cpu usage eaten up by my JMS queue's message history counter.  I figured I 
could easily disable this by setting the MessageCounterHistoryDayLimit to zero, as 
show in the descriptor below.  This resulted in a NullPointerException at startup 
caused by the jmx config service calling a setter on the underlying queue object 
before it was instantiated.  Is there another way that I should disable this count 
history feature?


depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager
0
true



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread jhaddad
Somehow, the descriptor I pasted into my post got screwed up in the original post.  
Here it is with HTML disabled:


depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager
0
true




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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread jhaddad
Well, that didn't work either.  Basically, my queue config contains an 'attribute' 
element with the 'name' attribute set to 'MessageCounterHistoryDayLimit' and the 
element body is '0'.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread [EMAIL PROTECTED]
Post it as a bug 
http://www.jboss.org/wiki/Wiki.jsp?page=SubmitABugReport

I recently flagged in a commit message that this default cannot be changed
at deploy time, only at runtime.

It should be using BasicQueueParameters if you want to try to fix it yourself
and provide a patch.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread jhaddad
Thanks Adrian.  I will look at the code and see if I can figure out where to make the 
fix.  

In the meantime, is there any workaround you can think of to disable this message 
counter history feature at deployment time?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread [EMAIL PROTECTED]
There are two obvious mechanisms.

1) Change the source to the default you want.

2) Install a listener on the ServiceController.
When you get a notification about a service starting, test whether it is
a Queue or Topic and invoke setAttribute() on it.

I'd also be interested to know why this statistics collection uses a lot of cpu.

Finally, this message counter stuff needs fixing in two other ways:
1) It needs to be serializable so a remote client can obtain the statistics
2) It needs to be exposed via jsr77


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread [EMAIL PROTECTED]
A third is to extend the jboss classes


  | public MyQueue extends Queue
  | {
  |protected void startService() throws Exception
  |{
  | super.startService();
  | // change config here
  |}
  | }
  | 

But this would not work for deployments created via the destination manager.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Can I run JBoss4 on JDK1.5

2004-10-20 Thread gshekar
Hi,

Will JBoss run on JDK1.5.

Thanks  Regards,
-GnanaShekar-

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: JBoss 3.2.5 Will Not Load Embedded Obj Under JAAS SSL

2004-10-20 Thread sulfur
Many thanks Scott!

That did the trick  I'm sure other developers will be happy to know this as well, 
since the issue applies to Flash, PDF, MS Office files, etc etc.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: UDP bind_addr vs. -Dbind.address JBoss 3.2.6

2004-10-20 Thread [EMAIL PROTECTED]
Yes, I see the same issue. I have create a bug report on sourceforge:

http://sourceforge.net/tracker/index.php?func=detailaid=1050899group_id=22866atid=376685

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: How to add Tomcat Valve to Context?

2004-10-20 Thread sulfur
Many thanks Scott!

That did the trick  I'm sure other developers will be happy to know this as well, 
since the issue applies to Flash, PDF, MS Office files, etc etc.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Can I run JBoss4 on JDK1.5

2004-10-20 Thread Bill Burke
yes.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How to access HASingleton MBeans from a non-master clust

2004-10-20 Thread [EMAIL PROTECTED]
Its up to you how the RMIAdaptor is deployed. If you deploy it as a singleton it will 
only be on the master node. Otherwise its on every node and you have to connect to the 
jndi service on the singleton node to lookup the correct RMIAdaptor.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Is JBOSS 3.2.3 supported on JDK 1.5 (beta)

2004-10-20 Thread [EMAIL PROTECTED]
You need at least jboss-3.2.5 for jdk1.5.0.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Stop at Core system initialized

2004-10-20 Thread babab
I run any version on my machine, but it all stop at Core system initialized. No error 
message, but it stops there. I use SuSE Linux 8.2(updated) on Dell optiplex gx240. 
Below is the message I got. Please Help! Thanks
=

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/ems/jboss-4.0.0/jboss-4.0.0

  JAVA: /usr/lib/java/bin/java

  JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

  CLASSPATH: /home/ems/jboss-4.0.0/jboss-4.0.0/bin/run.jar:/usr/lib/java/lib/too
ls.jar

=

10:35:43,283 INFO  [Server] Starting JBoss (MX MicroKernel)...
10:35:43,287 INFO  [Server] Release ID: JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_
4_0_0 date=200409200418)
10:35:43,288 INFO  [Server] Home Dir: /home/ems/jboss-4.0.0/jboss-4.0.0
10:35:43,289 INFO  [Server] Home URL: file:/home/ems/jboss-4.0.0/jboss-4.0.0/
10:35:43,295 INFO  [Server] Library URL: file:/home/ems/jboss-4.0.0/jboss-4.0.0/   
   
   lib/
10:35:43,298 INFO  [Server] Patch URL: null
10:35:43,299 INFO  [Server] Server Name: default
10:35:43,300 INFO  [Server] Server Home Dir: /home/ems/jboss-4.0.0/jboss-4.0.0/s   
   
   erver/default
10:35:43,301 INFO  [Server] Server Home URL: file:/home/ems/jboss-4.0.0/jboss-4.   
   
   0.0/server/default/
10:35:43,302 INFO  [Server] Server Data Dir: /home/ems/jboss-4.0.0/jboss-4.0.0/s   
   
   erver/default/data
10:35:43,303 INFO  [Server] Server Temp Dir: /home/ems/jboss-4.0.0/jboss-4.0.0/s   
   
   erver/default/tmp
10:35:43,304 INFO  [Server] Server Config URL: file:/home/ems/jboss-4.0.0/jboss-   
   
   4.0.0/server/default/conf/
10:35:43,305 INFO  [Server] Server Library URL: file:/home/ems/jboss-4.0.0/jboss   
   
   -4.0.0/server/default/lib/
10:35:43,306 INFO  [Server] Root Deployment Filename: jboss-service.xml
10:35:43,315 INFO  [Server] Starting General Purpose Architecture (GPA)...
10:35:44,550 INFO  [ServerInfo] Java version: 1.4.1_02,Sun Microsystems Inc.
10:35:44,550 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.1_02-b06   
   
   ,Sun Microsystems Inc.
10:35:44,551 INFO  [ServerInfo] OS-System: Linux 2.4.20-4GB,i386
10:35:45,920 INFO  [Server] Core system initialized


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Authentication for Weblogic app calling EJB in JBoss

2004-10-20 Thread [EMAIL PROTECTED]
I don't know, but that is what needs to be done.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can't initialize MessageCounterHistoryDayLimit to zero

2004-10-20 Thread jhaddad
Adrian -

To answer your question as to why the message counter is taking up so much cpu...

I've been profiling one particular thread in my application which has popped up on my 
radar as a bottleneck.  The thread basically receives requests via a tcp socket using 
a proprietary protocol.  The request is wrapped up in a JMS message and enqueued to be 
processed by an MDBean.

After focusing on this thread with a cpu profiler, I see that approximately 8% of its 
cpu usage is spent invoking MessageCounter.updateHistory.  Drilling down one more 
level, I see that the main culprits are 2% in Calendar.getTime, 2% in the constructor 
for GregorianCalendar, 1.5% in MessageCounter$DayCounter.updateDayCounter and .5% in 
MessageCounter$DayCounter.getDate().

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How to access HASingleton MBeans from a non-master clust

2004-10-20 Thread monocongo
So from what you're saying it appears that the solution is to use the 
RMIAdaptor/InvokerAdaptorService as an HASingleton.  This way I will always get an 
RMIAdaptor which has access to the other HASingleton MBeans as long as I do the lookup 
of the RMIAdaptor using HAJNDI in my Servlets and EJBs.

I'm not sure how I should go about deploying the service as a singleton.  Do I want to 
move the entire jmx-invoker-adaptor-server.sar to the deploy-hasingleton directory ?  
Where do I put the HASingletonController mbean entry for the InvokerAdaptorService -- 
directly in the jboss-service.xml which is in the jmx-invoker-adaptor-server.sar, or 
in a separate jboss-service.xml in the deploy-hasingleton directory ?  Do I use the 
start and stop lifecycle operations of the InvokerAdaptorService as the 
TargetStartMethod and TargetStopMethod for the HASingletonController ?  

Thanks again for your help with this.


--James

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - JBoss 3.2.6 requires JDK 1.4.2

2004-10-20 Thread bradeyh
It looks like JBoss 3.2.6 requires JDK 1.4.2--see my note on the JBossInstallation 
wiki page. 

If I'm missing something, please let me know. If it actually does require 1.4.2, could 
someone please update the download page and documentation?

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: AOP classes not found in JBoss 4

2004-10-20 Thread flindet
I am also having the problems.  It's odd to me that this would happen just as a result 
of using the default configuration instead of the all configuration.  Is there 
some sort of services file or something that I have misconfigured that's telling JBoss 
to start AspectManager even though it's supposedly not available in the default 
configuration?

I had tried running JBoss 4 as a test on a Windows machine and didn't have that 
problem.  I'm somehow something must be telling JBoss 4 to attempt starting the 
AspectManager service.

I'll just run with all for now, but I would like to learn what is causing this.

Thanks.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Why startTx commit if MDB transaction=NotSupported?

2004-10-20 Thread jhaddad
I'm looking at my MDB performance using a cpu profiler.  I see quite a few calls being 
made pertaining to transactions (e.g. SpyXAResource.Manager.startTx, 
SpyXAResource.commit, etc.).  

I'm confused because my MDB is deployed to be non-transactional.

These invocations don't take up a whole lot of cpu, but I'm trying to trim off every 
unnecessary tick possible, as my  CPU is pinned at 100%.

Thanks.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Why serialize object message if using jvm invocation layer?

2004-10-20 Thread jhaddad
I've been doing performance analysis on my application which relies heavily on JMS 
enqueuing and MDB request processing.  I use the jvm-il-service for optimum 
performance.  One thing I see is that a lot of time is spent serializing and 
deserializing my message objects (I'm using ObjectMessage).

I'm considering changing to MapMessage to avoid this hit, but I was curious if the 
developers considered special treatment of ObjectMessages when the JMV IL is being 
used?


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Didn't take effect on new servlet setting

2004-10-20 Thread leets003
Dear All, 

After I re-deploy my servlet in JBOSS using Eclipse 3.0.0, the new change didn't take 
effect. I need to restart machine and re-deploy again to take effect. 

What can I do in my JBOSS setting? 

Please help 

Thanks 

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss 4.0 : Jasper Exception on ope

2004-10-20 Thread Cugnonr
Found the source of this problem : wrong version of JSTL installed (1.0 instead of 
1.1).

JBoss 4.0.0 comes with Tomcat 5.x and requires JSTL library version 1.1.

Download JSTL from 

http://apache.scarlet.be/jakarta/taglibs/standard/

NOT FROM 
http://apache.scarlet.be/jakarta/taglibs/standard-1.0/

I think that a bad link was put on the JSTL library 1.1 on Jakarta site...

Install the two jars as mentionned in the tutorial. 
Rebuild your application (compile + packaging).
Redeploy (JBoss will automaticaly reload the new version of application).

Everything should work now.

Rudy CUGNON



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: problem on connection /bank/main : Solution

2004-10-20 Thread Cugnonr
Go to topic 

http://www.jboss.org/index.html?module=bbop=viewtopict=55468

for one possible solution.

Rudy CUGNON

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: dukebank throws RunTime Exception after deployment (Solu

2004-10-20 Thread Cugnonr
Go to topic 

http://www.jboss.org/index.html?module=bbop=viewtopict=55468

for one possible solution.

Rudy CUGNON

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - setting up jk module. Where's mistake?

2004-10-20 Thread mi1291
I've made everithing tells at:

http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

APache seems to work very well, but the jk Error-log reports this error:
[jk_ajp_common.c (1477)]: Error connecting to tomcat. Tomcat is probably not started 
or is listening on the wrong port. worker=pippo failed errno = 60

this is the server.xml: 

  

  



   
 
 
 


 
  
   


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: setting up jk module. Where's mistake? CodeSource

2004-10-20 Thread mi1291
Server
  | 
  |   Service name=jboss.web
  |   className=org.jboss.web.tomcat.tc5.StandardService
  | 
  |   Connector port=8080 address=${jboss.bind.address}
  |  maxThreads=150 minSpareThreads=25 maxSpareThreads=75
  |  enableLookups=false redirectPort=8443 acceptCount=100
  |  connectionTimeout=2 disableUploadTimeout=true/
  | 
  | 
  | Connector port=8009 address=${jboss.bind.address}
  | enableLookups=false redirectPort=8443 debug=0
  |  protocol=AJP/1.3/
  | 
  |Engine name=jboss.web defaultHost=pippo.balena.homeip.net 
jvmRoute=pippo
  |  Logger className=org.jboss.web.tomcat.Log4jLogger
  | verbosityLevel=WARNING
  | category=org.jboss.web.localhost.Engine/
  |  Host name=pippo.balena.homeip.net
  | 
  | Context path=/pol 
  |  docBase=pol 
  |  crossContext=false
  |  debug=0 
  |  reloadable=true  
  | /Context
  | 
  | DefaultContext cookies=true crossContext=true override=true/
  | 
  |  /Host
  | 
  |   /Engine
  | 
  |/Service
  | 
  | /Server

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: jms hangs by a large number of messages

2004-10-20 Thread [EMAIL PROTECTED]
Hi,
 I got the same problem even when using JBoss -3.2.5. I dont know if there is a bug in 
JBoss. The messages get stacked  up in the Topic as time passes by and they are not 
delived at a fast pase. I am using a non durable topic subscription with auto 
acknowledge.
Thanks in advance for any help
prathi.

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >