[JBoss-user] [Beginners Corner] - MDB deployment

2004-08-13 Thread hswen
I need help on MDB. I keep getting JNDI lookup failed: 
javax.naming.NameNotFoundException: No object bound for 
java:comp/env/queue/MyTestQueue when running the client.
Do I miss some steps?  

following line was added into jbossmq-destinations-service.xml

mbean code=org.jboss.mq.server.jmx.Queue 
name=jboss.mq.destination:service=Queue,name=MyTestQueue
depends optional-attribute-name=DestinationManager
jboss.mq:service=DestinationManager



jboss.xml


enterprise-beans
message-driven
ejb-nameSimpleMessageMDB/ejb-name

destination-jndi-namequeue/MyTestQueue/destination-jndi-name
resource-ref
res-ref-namejms/QCF/res-ref-name
resource-nameQueueConnectionFactory/resource-name
/resource-ref
/message-driven
/enterprise-beans


ejb-jar.xml

ejb-jar
enterprise-beans
message-driven
ejb-nameSimpleMessageMDB/ejb-name
ejb-classcom.hp.mdb.SimpleMessageBean/ejb-class
transaction-typeContainer/transaction-type
message-driven-destination
destination-typejavax.jms.Queue/destination-type
/message-driven-destination
resource-ref
res-ref-namejms/QCF/res-ref-name
res-typejavax.jms.QueueConnectionFactory/res-type
res-authContainer/res-auth
/resource-ref
/message-driven
/enterprise-beans
/ejb-jar


Harry Wen


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - unable to passivate due to a context lock

2004-08-13 Thread ais
I am using jboss 3.2.4 for production and after a period of time, I get the exception: 
unable to passivate due to a context lock.

What exactly happens and what is the solution to this? 
I have around 100 ejbs (85 entity beans cmp) and 15 session beans.

tia

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DatabaseServerLoginModule : datasource's name not bound

2004-08-13 Thread richaud
Thanks for your reply.

Does this mean I have no chance to see a solution? Frankly, I don't understand why it 
doesnt work since UsersRolesLoginModule works and allows to authenticate users.

Olivier.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: JSF and JSTL bug with JBoss 3.2.5

2004-08-13 Thread KennethAitken
I have discovered the solution, namely to give every JSF component an ID. There seems 
to be a bug in JBoss's allotment of IDs, so that, in this case, URLs get switched 
between the components.
Therefore, as soon as I also give every f:param an id and every h:outputLink an 
id, the problem vanishes.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Database locking problem with CMP and SQL Server

2004-08-13 Thread fredrikbromee
You could turn on Jboss logging to see what sql stmts jboss generates.
Change in log4j.xml:


  | ...
  |!-- Append messages to the console --
  |!-- == --
  | 
  |appender name=CONSOLE class=org.apache.log4j.ConsoleAppender
  |   errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/
  |   param name=Target value=System.out/
  |   param name=Threshold value=DEBUG/
  | 
  | ...
  |  category name=org.jboss.ejb.plugins.cmp
  | priority value=DEBUG /
  |   /category
  | 
  |!-- Limit JBoss categories to INFO   --
  |category name=org.jboss
  |  priority value=INFO/
  |/category
  | ...
  | 
  | 

My guess is that your app from within a transaction first inserts in
table A, then in table B, and then maybe updates A (for the relation). 
But check what jboss generates.

I'm no expert but I'd say that trying to catch a deadlock exception and
then try to run the tx again wouldn't be my first option. If like in this case
you know which method that causes the deadlock I'd try first to make 
sure the deadlock never happens. Agreed, in this case it might be hard
since CMR is quite tricky to get right (at least in my opinion).

HTH, /fredrik




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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: unable to passivate due to a context lock

2004-08-13 Thread loubyansky
Unless there is a bug, the instance is in use, i.e. locked and/or associated with a 
transaction.
What container configuration are you using?

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: DeploymentException: Couldn't create entity command: ; -

2004-08-13 Thread loubyansky
This is a bug that was fixed in 3.2.6. Just put WHERE on the same line 1, i.e. no new 
lines in the query.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Configuring MySQL with JBoss 4

2004-08-13 Thread loubyansky
You can do it with jboss.xml resource-ref element. The DTD is jboss_3_2.dtd.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Servlet HtmlAdaptor is currently unavailable

2004-08-13 Thread thejuoos
hello all,

   I have downloaded jboss-3.2.3 into my system. I was successful in starting jboss. 
but when i try to get the jmx-console i am geting the above error. I am using a Tru64 
V4.0F operating system. The same jboss when i started in a windows system i was able 
to get the jmx-console. What could the problem be. the error comming in the log file 
is as given below



2004-08-13 00:00:50,169 DEBUG [org.apache.tomcat.util.threads.ThreadPool] Getting new 
thread data
2004-08-13 00:00:54,867 INFO  [org.jboss.web.localhost.Engine] 
StandardHost[localhost]: MAPPING configuration error for request URI /
2004-08-13 00:00:54,977 INFO  [org.jboss.web.localhost.Engine] 
StandardHost[localhost]: MAPPING configuration error for request URI /
2004-08-13 00:01:05,110 INFO  [org.jboss.web.localhost.Engine] 
StandardWrapper[/jmx-console:HtmlAdaptor]: Marking servlet HtmlAdaptor as unavailable
2004-08-13 00:01:05,534 ERROR [org.jboss.web.localhost.Engine] 
ApplicationDispatcher[/jmx-console] Allocate exception for servlet HtmlAdaptor
javax.servlet.ServletException: Wrapper cannot find servlet class 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet or a class it depends on
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:891)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:653)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
at 

[JBoss-user] [Persistence CMP/JBoss] - Re: EJB relations an PK fields

2004-08-13 Thread loubyansky
You need to map foreign key fields to primary key columns in the jbosscmp-jdbc.xml

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss spec.

2004-08-13 Thread didiss
Where can i found the specification of JBoss and of all of his component.
For example, i need to now that for webservices in JBoss 3.2.5.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: unable to passivate due to a context lock

2004-08-13 Thread loubyansky
Yes, maybe. If the container tries to passivate an instance and it is in use, you get 
this warning.
What exactly are you doing?

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Kerberos for securing JMS

2004-08-13 Thread solso
Hello Scott,

I've added a RFE with the title kerberos for JMS to sourceforge.
Maybe there is a possible solution.

Grettings, Richard

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: How to login to web programatically with FORM based

2004-08-13 Thread stueccles
Sounds to me you will have to write a custom Authenticator if you are using Tomcat. 
Have a look at the source for BasicAuthenticator or FormAuthenticator and this will 
give you an idea of how to do it...


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - looking up jndi resource in jboss with security credentials

2004-08-13 Thread pritam
Hi guys,

  I am in a job of migrating an application running on weblogic to jboss.

The biggest challenge i face here is obtaining any JNDI resource in the existing code 
where all the resources are accessed like this:

Properties h = new Properties();
h.put(Context.INITIAL_CONTEXT_FACTORY,
weblogic.jndi.WLInitialContextFactory);

h.put(Context.PROVIDER_URL, url);
h.put(Context.SECURITY_PRINCIPAL, user);
h.put(Context.SECURITY_CREDENTIALS, password);
InitialContext contex =  new InitialContext(h);


I have no problem in setting Context.INITIAL_CONTEXT_FACTORY and Context.PROVIDER_URL 
in jboss. But if i set the rest two i.e.Context.SECURITY_PRINCIPAL, 
Context.SECURITY_CREDENTIALS
the things do NOT work. 

I was wondering if jboss could be started with an administrative username and password 
like weblogic. Or if there is any other approach to resolve this problem, that would 
me most welcome.

I would appreciate your help as this is very urgent to me.

Thanks a lot

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Propertes get not set on ManagedConnectionFactory

2004-08-13 Thread ralf.siedow
Hello,

my ra.xml containts two properties for my ManagedConnectionFactory, but these 
properties get not set while deploying the RA. It works well with properties for the 
ResourceAdapter class defined via config-properties within the resourceadapter element.

outbound-resourceadapter 
connection-definition 
managedconnectionfactory-class
   test.adapter.MyManagedConnectionFactory
/managedconnectionfactory-class
config-property
config-property-nameQueueName/config-property-name
config-property-typejava.lang.String/config-property-type
config-property-valuequeue/test/config-property-value
/config-property
config-property
config-property-nameConnectionFactory/config-property-name
config-property-typejava.lang.String/config-property-type

config-property-valueConnectionFactory/config-property-value
/config-property
... cut ...
/connection-definition 
... cut ...
/outbound-resourceadapter

The Properties in the ManagedConnectionFactory class are normal bean getters/setters 
with a private attribute.

Did I miss anything?

Has the setResourceAdapter method be invoked manually or does the container do this. 
It doesn't get called as well.

My JBoss is Version 4.0.0RC1.

Thanks,
Ralf

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: change database location

2004-08-13 Thread crevette
thanks!

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Propertes get not set on ManagedConnectionFactory

2004-08-13 Thread sandeep_rajpathak
For the query on setResourceAdapter not getting called, the ManagedConnectionFactory 
implementation class should implement ResourceAdapterAssociation interface. Only then 
does the container call the setResourceAdapter method.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Propertes get not set on ManagedConnectionFactory

2004-08-13 Thread ralf.siedow
sandeep_rajpathak wrote : For the query on setResourceAdapter not getting called, 
the ManagedConnectionFactory implementation class should implement 
ResourceAdapterAssociation interface. Only then does the container call the 
setResourceAdapter method.
MyMCF implements the MCF-Iface as well as the ResourceAdapterAssociation.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Detecting changes to ejb and redeploying it automatically

2004-08-13 Thread balteo
Hello,
I have a fresh install of jboss on my machine and have created in  default/deploy a 
directory called test-ejb.ear and within it a directory called test-ejb.jar. When I 
start Jboss it deploys the ejb fine. However when I make a change to the ejb's class 
files it does not redeploy. Is it possible to detect changes to the ejb's classes and 
redeploying the ejb automatically?
Thanks in advance,
Julien.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Database locking problem with CMP and SQL Server

2004-08-13 Thread DaveyS
I've put a profile trace on the database and that is exactly what I see.

CMP does an insert to initially create the bean and then does an update afterwards to 
save the relationships.

I can't change the way it does this can I?

Does this mean that I can't effectively use CMP and CMR for the scenario I have 
without a high chance of getting deadlocks?

Cheers,

Dave

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Creating a permanant queue

2004-08-13 Thread lbtanjitha
hi,
Changing the cofiguration file at run time gives the following error.
I'm using LB queue to store the messages. Changing any configuration file at run time 
gives errors,


16:43:15,265 INFO  [MessageCache] Stopping jboss.mq:service=MessageCache
16:43:15,265 INFO  [CacheStore] Stopping jboss.mq:service=CacheStore
16:43:15,265 ERROR [LB] Destroying failed
javax.jms.JMSException: The destination is being used.
at org.jboss.mq.server.JMSDestinationManager.closeDestination(JMSDestina
tionManager.java:807)
at org.jboss.mq.server.jmx.DestinationMBeanSupport.destroyService(Destin
ationMBeanSupport.java:142)
at org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java
:284)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:976)
at $Proxy15.destroy(Unknown Source)
at org.jboss.system.ServiceController.destroy(ServiceController.java:531
)
at org.jboss.system.ServiceController.destroy(ServiceController.java:522
)
at org.jboss.system.ServiceController.destroy(ServiceController.java:522
)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.destroy(Unknown Source)
at org.jboss.deployment.SARDeployer.destroy(SARDeployer.java:408)
at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:522)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:473)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:467)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:440)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.undeploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploym
entScanner.java:332)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:452)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:191)
16:43:15,296 INFO  [MainDeployer] Starting deployment of package: file:/C:/jboss
-3.2.2/server/default/deploy/jms/file-pm-service.xml



Can u give a suggesion to correct this?

Thank you.
thilina


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Error: MBEANS that are the root...

2004-08-13 Thread desarrolladoreshrs
I'm new in the development of ejb and JBoss. I'm trying some examples. I did an Entity 
Bean that is the DataSource of a table in a Postgres database, but I get the following 
error:


-
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.j2ee:jndiName=Expedientes,service=EJB
 state: FAILED
 I Depend On: 
 Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error: can't 
find data source: JDataSourceDS; - nested throwable: 
(javax.naming.NameNotFoundException: JDataSourceDS not bound)
Cause: org.jboss.deployment.DeploymentException: Error: can't find data source: 
JDataSourceDS; - nested throwable: (javax.naming.NameNotFoundException: JDataSourceDS 
not bound)
ObjectName: jboss.j2ee:jndiName=Expedientes,plugin=pool,service=EJB
 state: CREATED
 I Depend On: 
 Depends On Me: 
-

where Expendientes is the name of the bean

and previously the following exceptions where thrown

---
07:50:27,470 ERROR [EntityContainer] Starting failed 
jboss.j2ee:jndiName=Expedientes,service=EJB

org.jboss.deployment.DeploymentException: Error: can't find data source: 
JDataSourceDS; - nested throwable: (javax.naming.NameNotFoundException: JDataSourceDS 
not bound)

at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:143)

at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:428)

at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:365)

at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:147)

at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)

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: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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)

at $Proxy18.start(Unknown Source)

at org.jboss.system.ServiceController.start(ServiceController.java:367)

at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

at $Proxy37.start(Unknown Source)

at org.jboss.ejb.EjbModule.startService(EjbModule.java:367)

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: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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)

at $Proxy18.start(Unknown Source)

at org.jboss.system.ServiceController.start(ServiceController.java:367)

at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

at 

[JBoss-user] [Persistence CMP/JBoss] - Re: Exception + Bugfix(?): could not load field value with

2004-08-13 Thread hmartin
Hello Alex,

we are using the Standard container configuration with modifications (e.g. commit 
option A)

  container-configuration
  |  container-nameStandard CMP 2.x EntityBean/container-name
  |  call-loggingfalse/call-logging
  |  
invoker-proxy-binding-nameentity-rmi-invoker/invoker-proxy-binding-name
  |  sync-on-commit-onlyfalse/sync-on-commit-only
  |  insert-after-ejb-post-createfalse/insert-after-ejb-post-create
  |  container-interceptors
  | 
interceptororg.jboss.ejb.plugins.ProxyFactoryFinderInterceptor/interceptor
  | interceptororg.jboss.ejb.plugins.LogInterceptor/interceptor
  | interceptororg.jboss.ejb.plugins.SecurityInterceptor/interceptor
  | interceptororg.jboss.ejb.plugins.TxInterceptorCMT/interceptor
  | interceptor 
metricsEnabled=trueorg.jboss.ejb.plugins.MetricsInterceptor/interceptor
  | 
interceptororg.jboss.ejb.plugins.EntityCreationInterceptor/interceptor
  | interceptororg.jboss.ejb.plugins.EntityLockInterceptor/interceptor
  | 
interceptororg.jboss.ejb.plugins.EntityInstanceInterceptor/interceptor
  | 
interceptororg.jboss.ejb.plugins.EntityReentranceInterceptor/interceptor
  | 
interceptororg.jboss.resource.connectionmanager.CachedConnectionInterceptor/interceptor
  | 
interceptororg.jboss.ejb.plugins.EntitySynchronizationInterceptor/interceptor
  | 
interceptororg.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor/interceptor
  |  /container-interceptors
  |  instance-poolorg.jboss.ejb.plugins.EntityInstancePool/instance-pool
  |  
instance-cacheorg.jboss.ejb.plugins.InvalidableEntityInstanceCache/instance-cache
  |  
persistence-managerorg.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager/persistence-manager
  |  
locking-policyorg.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock/locking-policy
  |  container-cache-conf
  | 
cache-policyorg.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy/cache-policy
  | cache-policy-conf
  |min-capacity50/min-capacity
  |max-capacity100/max-capacity
  |overager-period300/overager-period
  |max-bean-age600/max-bean-age
  |resizer-period400/resizer-period
  |max-cache-miss-period60/max-cache-miss-period
  |min-cache-miss-period1/min-cache-miss-period
  |cache-load-factor0.75/cache-load-factor
  | /cache-policy-conf
  |  /container-cache-conf
  |  container-pool-conf
  | MaximumSize200/MaximumSize
  |  /container-pool-conf
  |  commit-optionA/commit-option
  |   /container-configuration

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - DatabaseServerLoginModule Authenticates once only

2004-08-13 Thread ousie
Hi,

I have the following problem: the DBSLM reads the login principals from the database 
only once, ie. if I change the password and I restart my appilcation, ie. initialize a 
new clientside LoginContext the old password is still valid(and the new not). When I 
restart the server the new password is accepted. Do I have to write my own LoginModule?

My config excerpt : 


  | application-policy name = native-database-login
  |authentication
  |   login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required
  |  module-option name=dsJndiNamejava:/BINGODROMEDS/module-option
  |  module-option name=principalsQueryselect Password from 
BD_AdminUsers where Username = ?/module-option
  |  module-option name=rolesQueryselect UserRoles, 'Roles' from 
BD_AdminUserRoles where Username = ?/module-option
  |  !--module-option name=rolesQueryselect UserRoles 'Role', 
UserRoleGroups 'RoleGroup' from BD_AdminUserRoles where Username = ?/module-option--
  |   /login-module
  |/authentication
  | /application-policy
  | 

Thanks

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: MDB deployment

2004-08-13 Thread raja05
First off, this question doesnt belong here. Belongs in the messaging section.

Second, no details of client are posted. Is this a standalone client? A standalone 
client cannot access java:comp/env space. you shud be able to access it using the 
java:/ namespace.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - URL of creating temporary queues

2004-08-13 Thread lbtanjitha
Hi,
I looked at some JMS tutorials, but they do not have clear way of creating temporary 
queues at run time. Can somebody send me a URL which having, creating temporary queues 
at run time. 

Thnak you
Thilina

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Detecting changes to ejb and redeploying it automaticall

2004-08-13 Thread raja05
if its deployed in expanded mode, you need to touch one of the config files to 
redeploy the app. Touch the application.xml (to redeploy ur ear file) or touch the 
ejb-jar.xml (to redeploy ur jar)

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Detecting changes to ejb and redeploying it automatically

2004-08-13 Thread balteo
Thanks.
Julien.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-08-13 Thread erikgu
Hi :)
As fare as i could see there is not yet a native Hibernate implementation in this 
release..?
I've had some problems b4 try Hibernat to work togeter with other frameworks.. When 
will this be ready ? soon i hope :)
Good luck!

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Jboss.net+Xdoclet questions

2004-08-13 Thread javri28
Hi guys,

I am using IBM WSAD 5.1 and Xdoclet 1.3
I want to create my first WebService(Because there is no other way to integrate EJB 
with PHP - that's a final purpose). 
Problems I'm facing are following:
1.  @jboss-net.web-service urn = SimpleWebService - in reality is  
@jbossnet:web-service  and there is no urn to set. So as a found out it seems that 
is a bug. How do you cope with that?
2. xdoclet-build.xml: the famous subtask 

I can't find any jbossnet in the list of task entries in XDoclet configuration of my 
project.
So, I tried to write it manualy(I'm sure that's wrong) and it didn't work.


Any suggestions?

Thank you[list=]

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Applet Problems

2004-08-13 Thread kkaal
Hi, 
I am using JBoss and it works nicely. But now, I have a problem which might have to do 
with adjustments in embeded Tomcat.

I am using an applet which works fine in the intranet. When I access the same server 
from the internet, the applet does not show up (gray square). No info in log files.

I tried different options: codebase=entryform or codebase=/entryform, but only 
this works in my intranet: codebase=./entryform

Thanks for your hints.

Klaus

--- 8 code ---


   Applet HTML Page



H3Applet HTML Page/H3


APPLET codebase=./entryform code=ProcessOrder.class width=840 height=410


FONT SIZE=-1Generated by NetBeans IDE




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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - HTTPS Redirection to 8443

2004-08-13 Thread bbeloff
Hi

I'm using JBoss 3.2.3.  I'm trying to use HTTPS, and I've got a redirect problem - I 
want to redirect to port 8443, but the redirect goes to port 443.  How do I correct 
this?  My jboss-service.xml file contains:


  |!-- A HTTP/1.1 Connector on port 8080 --
  |Connector className=org.apache.coyote.tomcat4.CoyoteConnector
  |   address=${jboss.bind.address} port=8080 minProcessors=5 
maxProcessors=100
  |   enableLookups=true acceptCount=10 debug=0
  |   connectionTimeout=2 useURIValidationHack=false/
  | 
  |!-- A AJP 1.3 Connector on port 8009 --
  |Connector className=org.apache.coyote.tomcat4.CoyoteConnector
  |   address=${jboss.bind.address} port=8009 minProcessors=5 
maxProcessors=75
  |   enableLookups=true redirectPort=8443
  |   acceptCount=10 debug=0 connectionTimeout=2
  |   useURIValidationHack=false
  |   protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
  | 
  |!-- SSL/TLS Connector configuration using the SSL domain keystore 
--
  |Connector className = org.apache.coyote.tomcat4.CoyoteConnector
  |  address=${jboss.bind.address} port = 8443 scheme = https 
secure = true
  |  Factory className = 
org.apache.coyote.tomcat4.CoyoteServerSocketFactory
  |keystoreFile=/usr/local/keystore/server.keystore
  |keystorePass=changeit
  |protocol = TLS/
  |/Connector
  | 

With this setting, HTTPS does work on 8443, but redirections from 8080 go to 443, not 
8443.

How do I set this right?

Thanks for the help!

Bruno.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Finish the tutorial!

2004-08-13 Thread jaf8252
Hi, i finished the Tusc tutorial. It was harder to finish, due some errors or bad 
interpretations, but it value the pain.
If you need some help, tell me.


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: deployment order of ejb modules, how?

2004-08-13 Thread [EMAIL PROTECTED]
I have applied the change for 3.2.6RC2+

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - MBeans dependence on Service lifecycle state?

2004-08-13 Thread businessu
I am in the process of implementing a service (using SOP) in JBoss and I am unfamiliar 
with the current paradigm whereby MBean attributes and operations interact with the 
service state. 

In other words, there are MBean attributes and operations (henceforth called MBean 
methods) that are valid only pre-startup, there are others that are only valid, 
post-startup, and there are others that are valid in either state.  In addition, some 
MBean methods will behave differently based on the state in the service lifecycle.  
How is this contract exposed through the MBean?  Are there any defined paradigms for 
doing this?

For example, look at the TransactionManagerService.  Through its MBean interface it 
exposes the transaction timeout.  Because there is no explicit way to define when this 
attribtue may be set, it may be called at any time.  Let's say that I set the timeout 
to be 10min before starting and then I start the service.  After a time, I realize 
that the timeout is too long and I have a number of transactions that are hung (i.e. 
waiting to time out).  I change the transaction timeout via JMX.

Notice that the desired behavior of setting the transaction timeout requires a service 
state dependency.  If the service has not yet started then the timeout is simply set.  
If the service is running, setting the timeout should determine if the new timeout is 
shorter than the previous timeout and if so, timeout any waiting transactions.

Another example (more akin to what it is that I am trying to accomplish) is:  imagine 
an echo server implemented as a service.  This server has a port parameter (the port 
on which it listens for connections) that is exposed via JMX.  Setting the port before 
startup will simply set the port.  Setting the port after startup will require that 
the service be stopped (so that all current connections are closed) and restarted with 
the new port value.  In setting the attribute, this restart may be implicit (i.e. stop 
and start are called each time the attribute is set) or it may be explicit (i.e. stop 
and start will need to be called via JMX for the setting of the value to have any 
effect).  If the restart is explicit then the following needs to occur:

A temporary variable needs to be set with the desired port value.  This is necessary 
because the port member need to be immutable while the service is in operation;  
changing its value will lead to indeterminate results (e.g. logging the port on error 
will result in a message that is inconsistent with the current state).  On stopping 
the service the temporary value will need to be copied to the member value.
  | 
  | If the restart is implicit, then an exception may occur preventing a re-start 
leaving the service in a stopped (or undefined) state.  Having the service in a 
stopped state will lead to undefined results as it appears that JBoss does not monitor 
a service (i.e. no other MBean will be aware of the state).  This is made evident by 
the lack of an isRunning() method on Service.
  | 
  | For those of you lost in the ramble, I will state my question again:
  | 
  | is there a defined paradigm for handling the coupling between MBeans and the 
service lifecycle?
  | 
  | As for any JBoss'ers out there:  are you guys doing any future planning for SOP's 
and blowing out the Service interface?  As it stands, Service is more of a just make 
sure you fulfill this contract rather than any truely useful programming model.  
Given the robustness of the JBoss platform, supporting a true SOP model (where in this 
case the P can be both programming and platform) does not seem like a stretch.  
Providing for tolerant services would just be damn cool.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - MDB Question

2004-08-13 Thread hswen
I'm trying to deploy a MDB but keep getting following message:
Could not find the queue destination-jndi-name=jms/MyQueue Attached below are the 2 
deployment file and partial log message. Can anyone help to resolve this issue. Thanks.

ejb-jar.xml

ejb-jar
enterprise-beans
message-driven
ejb-nameSimpleMessageEJB/ejb-name
ejb-classcom.nyl.message.SimpleMessageBean/ejb-class
transaction-typeContainer/transaction-type
acknowledge-modeAuto-acknowledge/acknowledge-mode
message-driven-destination
destination-typejavax.jms.Queue/destination-type
/message-driven-destination
resource-ref
res-ref-nameQCF/res-ref-name
res-typejavax.jms.QueueConnectionFactory/res-type
res-authContainer/res-auth
/resource-ref
resource-env-ref

resource-env-ref-namejms/MyQueue/resource-env-ref-name

resource-env-ref-typeorg.jboss.mq.server.jmx.Queue/resource-env-ref-type
/resource-env-ref
/message-driven
/enterprise-beans
/ejb-jar

jboss.xml


enterprise-beans
message-driven
ejb-nameSimpleMessageEJB/ejb-name
destination-jndi-namejms/MyQueue/destination-jndi-name
resource-ref
res-ref-nameQCF/res-ref-name
jndi-nameQueueConnectionFactory/jndi-name
/resource-ref
/message-driven
/enterprise-beans


from the log:

[org.jboss.ejb.EjbModule] startService, starting container: SimpleMessageEJB
[org.jboss.system.ServiceController] starting service 
jboss.j2ee:jndiName=local/SimpleMessageEJB,service=EJB
[org.jboss.ejb.MessageDrivenContainer] Starting 
jboss.j2ee:jndiName=local/SimpleMessageEJB,service=EJB
[org.jboss.ejb.MessageDrivenContainer] Begin java:comp/env for EJB: SimpleMessageEJB
[org.jboss.ejb.MessageDrivenContainer] TCL: [EMAIL PROTECTED]
[org.jboss.ejb.MessageDrivenContainer] Binding resource manager: QCF to JDNI ENC as: 
QueueConnectionFactory
[org.jboss.ejb.MessageDrivenContainer] Binding env resource: jms/MyQueue to JDNI ENC 
as: null[org.jboss.ejb.MessageDrivenContainer] End java:comp/env for EJB: 
SimpleMessageEJB
[org.jboss.ejb.plugins.local.BaseLocalProxyFactory] SimpleMessageEJB cannot be Bound, 
doesn't have local and local home interfaces
[org.jboss.system.ServiceController] starting service 
jboss.j2ee:binding=message-driven-bean,jndiName=local/SimpleMessageEJB,plugin=invoker,service=EJB
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Starting 
jboss.j2ee:binding=message-driven-bean,jndiName=local/SimpleMessageEJB,plugin=invoker,service=EJB
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Initializing
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider adapter: 
java:/DefaultJMSProvider
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: [EMAIL PROTECTED]
[org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
[org.jboss.ejb.plugins.jms.DLQHandler] Using factory: [EMAIL PROTECTED]
[org.jboss.ejb.plugins.jms.DLQHandler] Created connection: [EMAIL 
PROTECTED]:null/b4204daffd86fef5682ea97f140b7b73 rcvstate=STOPPED]
[org.jboss.mq.referenceable.SpyDestinationObjectFactory] 
SpyDestinationObjectFactory-getObjectInstance()
[org.jboss.ejb.plugins.jms.DLQHandler] Using Queue: QUEUE.DLQ
[org.jboss.ejb.plugins.jms.DLQHandler] Created DLQHandler
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] context: [EMAIL PROTECTED]
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] jndiSuffix: MyQueue
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Got destination type Queue for 
SimpleMessageEJB
[org.jboss.jms.ConnectionFactoryHelper] using connection factory: [EMAIL PROTECTED]
[org.jboss.jms.ConnectionFactoryHelper] using username/password: null/null
[org.jboss.jms.ConnectionFactoryHelper] created XAQueueConnection: [EMAIL 
PROTECTED]:null/603bca259b68a1279cd1770424beeba7 rcvstate=STOPPED]
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Using client id: null
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not find the queue 
destination-jndi-name=jms/MyQueue

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.

[JBoss-user] [Beginners Corner] - JBOSS not connecting to MySQL

2004-08-13 Thread kasturiranganr
Hello,

I am trying to implement a simple CMP EJB under JBOSS but 
am having a problem connecting to MySQL. Specifically, the 
error message I get when I start JBOSS is

org.jboss.resource.JBossResourceException: Could not create connection; - nested 
throwable: (java.sql.SQLException: Data source rejected establishment of connection,  
message from server: Host 'localhost.localdomain' is not allowed to connect to this 
MySQL server)

JBOSS binds the LicenseServerDS datasource (that startup msg not shown here) but fails 
while deploying the 'ProductEJB' (my CMP bean)

  Everything is taking place on my local machine.

  The steps I followed were

  1. Edited mysql-ds.xml and copied it to the 
 JBOSS_HOME/server/default/deploy directory.
  2. Wrote the bean classes/interfaces and the associated XML 
 descriptors and packaged them into a jar file also in
 JBOSS_HOME/server/default/deploy directory.
  3. Started JBOSS.
  4. Ran into the problem above.

  I am pasting below the 4 XML descriptors I use for my application

  mysql-ds.xml

--
!--
$Id: mysql-ds.xml,v 1.1.2.1 2003/12/12 19:19:56 starksm Exp $
--
-
!--
  Datasource config for MySQL using 3.0.9 available from:
  http://www.mysql.com/downloads/api-jdbc-stable.html
--
-

local-tx-datasource
jndi-nameLicenseServerDS/jndi-name
connection-urljdbc:mysql://localhost:3306/licenseserver/connection-url
driver-classcom.mysql.jdbc.Driver/driver-class
user-nameroot/user-name
38cdc0f35996e1a9
/local-tx-datasource

--

The password above is encrypted. I have also tried with the de-encrypted 
password.

ejb-jar.xml

--
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd;

ejb-jar
  enterprise-beans

  ejb-nameProductEJB/ejb-name
  com.javasrc.licenseserver.ejb.product.ProductHomeRemote
  com.javasrc.licenseserver.ejb.product.ProductRemote
  ejb-classcom.javasrc.licenseserver.ejb.product.ProductBean/ejb-class
  persistence-typeContainer/persistence-type
  prim-key-classjava.lang.Integer/prim-key-class
  False
  cmp-version2.x/cmp-version
  abstract-schema-nameProduct/abstract-schema-name
  cmp-fieldfield-nameid/field-name/cmp-field
  cmp-fieldfield-namename/field-name/cmp-field
  primkey-fieldid/primkey-field
  security-identityuse-caller-identity//security-identity

  /enterprise-beans
  assembly-descriptor
container-transaction
  
ejb-nameProductEJB/ejb-name
method-name*/method-name
  
  trans-attributeRequired/trans-attribute
/container-transaction
  /assembly-descriptor
/ejb-jar
--

jbosscmp-jdbc.xml

--
?xml version=1.0 encoding=UTF-8?

!DOCTYPE jbosscmp-jdbc PUBLIC
  -//JBoss//DTD JBOSSCMP-JDBC 3.0//EN
  http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd;

jbosscmp-jdbc
  
   java:/LicenseServerDS
   datasource-mappingmySQL/datasource-mapping
   create-tabletrue/create-table
   remove-tabletrue/remove-table
  

  enterprise-beans
   
 ejb-nameProductEJB/ejb-name
 table-nameProduct/table-name
 cmp-field
  field-nameid/field-name
  column-nameproduct_id/column-name
 /cmp-field
 cmp-field
  field-namename/field-name
  column-nameproduct_name/column-name
 /cmp-field
   
  /enterprise-beans
/jbosscmp-jdbc
--

jboss.xml
--
?xml version=1.0?

  enterprise-beans
   
 ejb-nameProductEJB/ejb-name
 jndi-nameProductHomeRemote/jndi-name
   
  /enterprise-beans

--

Could someone help me please?

Thanks,
Sharad

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x 

[JBoss-user] [Management, JMX/JBoss] - Re: MBeans dependence on Service lifecycle state?

2004-08-13 Thread rgrzywinski
Somehow, even though I logged out and logged in as myself (rgrzywinski) a previous 
user was maintained.  Anywho, I posted the above message (sorry about the formatting 
there).  I didn't want any confusion.

So much for using someone elses machine with this forum.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Org.jboss.console.navtree.AppletBrowser not found. 3.2.5

2004-08-13 Thread kamranzaidi
Org.jboss.console.navtree.AppletBrowser not found.

When trying to load web-console Jboss 3.2.5 on IE (Ms XP) with jre 1.4.2 giving me 
this exception. It just shows a gray panel. This class is there under applet.jar that 
is packed in web-consol.war.

I tried copying jcert.jar, jnet.jar and jsse.jar under jre/ext dir as mentioned in 
some other posts, but no use.

Can anyone point me to right direction? Any idea why its happening?

Thanks
Kamran


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Specifying alternate Dead Letter Queue

2004-08-13 Thread karlb8
I have two persistant message queue's which send messages to the Dead Letter Queue 
when message delivery fails.  I would like to read messages off the DLQ and perform 
different logic based on which Queue the message came from.  I was thinking the 
easiest way to get this done is by specifying a different Dead Letter Queue per 
message Queue.  

Does anyone know how to configure each message queue to send to a different DLQ?  
Thanks!

Karl 

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: AppletBrowser Class not found

2004-08-13 Thread kamranzaidi
hi, 
did any found answer to this problem? i have some prob with 3.2.5.

thanks
Kamran

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Single call commits a dozen times.

2004-08-13 Thread komone
Thank you very much for your answer, Alexey.

My server debug log shows pretty much the same as yours (obviously without the stdout 
commit line).

I was monitoring hsqldb by watching the *.script file from the data directory whilst 
exercising the application. That's where I continually saw the multiple commits. I 
guess it's quite possible that it's a hypersonic thing, rather than jboss (though I've 
not seen it before).

In the first instance, I was just curious to know if it was well-known that multiple 
commits may happen.

I'll do some more research into it and provide proper demo code if I can get 
repeatable results from a toy program (I don't think anyone would appreciate it if I 
posted the whole enchilada).

/k1


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: AppletBrowser Class not found

2004-08-13 Thread darranl
Which JDK version are you using?

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - DB-Independent configuration

2004-08-13 Thread ebarendt
Is there a way to not have to specify the datasource-mapping in the jbosscmp-jdbc.xml 
file that's deployed with the application? I don't mind specifing the JNDI name, 
that's fine. But it shouldn't matter what DB I deploy my app to.

Thanks,
Eric

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - 2 J2EE application with the same EJB

2004-08-13 Thread alessandro_rizzi
I would like to have 2 J2EE applications containg the same EJB, is this possible?
I have JBoss 3.2.3 and the situation should be this:
I should have 2 folders like this:
..\jboss-3.2.3\server\default\deploy\myApp1
..\jboss-3.2.3\server\default\deploy\myApp2

Both folder myApp1  myApp2 contains (for example) jarA.jar which contains the same 
EJB's.
The pourpose of the 2 folder is to have the same application in 2 different versions.

If I made a configuration like this, I get an error:
ERROR [EJBModule] Could not create JSR-77 EJBModule: jarA.jar
javax.management.InstanceAlreadyExistsException: 
jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=EJBModule,name=jarA.jar
 registered.

Can anybody help me? 
Maybe I've to set something to NOT have J2EEApplication=null?
Or this kind of configuration (which works well on Orion) is not possible?
Regards
Alessandro Rizzi

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Problem with login-config.xml

2004-08-13 Thread ryanj0
I followed your instructions and found that a null pointer is being thrown.  The file 
is at the location, is readable, and parses as valid XML in Internet Explorer.  Any 
suggestions?

2004-08-12 17:39:31,617 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try 
loading config as XML, url=file:/C:/jboss-3.2.5/server/default/conf/login-config.xml
  | 2004-08-12 17:39:31,617 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] 
Failed to load config as XML
  | java.lang.NullPointerException
  | at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:658)
  | at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
  | at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
  | at 
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
  | at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)
  | at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadURL(XMLLoginConfigImpl.java:338)
  | at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadXMLConfig(XMLLoginConfigImpl.java:280)
  | at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:251)
  | at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:233)
  | at 
org.jboss.security.auth.login.XMLLoginConfig.startService(XMLLoginConfig.java:152)


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: AppletBrowser Class not found

2004-08-13 Thread kamranzaidi
Here is my post .
--
Org.jboss.console.navtree.AppletBrowser not found. 

When trying to load web-console Jboss 3.2.5 on IE (Ms XP) with jre 1.4.2 giving me 
this exception. It just shows a gray panel. This class is there under applet.jar that 
is packed in web-consol.war. 

I tried copying jcert.jar, jnet.jar and jsse.jar under jre/ext dir as mentioned in 
some other posts, but no use. 

Can anyone point me to right direction? Any idea why its happening? 

Thanks 
Kamran 


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: file to include in classpath jboss-3.2.2 vs jboss-3.2.5

2004-08-13 Thread kamranzaidi
did you found the answer? bcz i m havin same prob.

thks


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Single Sign-On in JBoss

2004-08-13 Thread theocjr
Hello Everyone

I'm working with an application that access secure EJBs through a unsecure servlet. To 
do this the servlet execute a ClientLoginModule before make the EJB calls (where a 
second (server) login module is executed based on the realm configured for the EJB).

Once made the first EJB call (and executed the server login module for the first 
time), the following calls (sent as new http requests) sometimes execute the server 
login module, sometimes not. My questions are: what is the mecanism used by JBoss to 
do this kind of single-sign-on and where I can find documentation about it? Can I 
control it (trigger or not the server login module when I wanted)?

I've tested if the JBoss uses the HttpSession but I think it doesn't use (invalidating 
the http session is not sufficient to compel JBoss to execute again the server login 
module).

I've read the development manual (version 3.0.5) and didn't find anything about this 
in the security chapter. One thing that I've noticed is that if I make a second 
ClientLoginModule with a diferent password the server login module is triggered.

I'm using JBoss version 3.0.4

Best Wishes
Antonio Carlos

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Does the JBoss Have the Portal Feature?

2004-08-13 Thread jiapei_jen
I would like to experiment with the Portal Framework.  Does the JBoss provide the 
portal server?  If yes, 

1. Where do I find the required downloads?  What should I download?
2. Where do I find the documentation that explains the installation and configuration 
of it?

Thanks.

JPJ

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: file to include in classpath jboss-3.2.2 vs jboss-3.2.5

2004-08-13 Thread kamranzaidi
found answer here.

http://jboss.com/index.html?module=bbop=viewtopict=51947


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Local MDBs in a cluster

2004-08-13 Thread thammoud
Hello,

We are trying to create a two node cluster. The nodes listen on
a non-JMS external event source (Trades processing) and convert the event to a
local JMS queue. A local MDB, listens on that queue. When the local
message is processed (positions updated), a message is posted to a
topic that is meant for all. I will name that topic, POSITIONS_UPDATED_TOPIC.

In the cluster, we do not want the non-master to publish on the
POSITIONS_UPDATED_TOPIC. This can be done by checking an mbean
property. No problems anticipated here. The issue that we have, is
that the MDBs are only active on one node of the cluster at any one
time.

We want the POSITIONS_UPDATED_TOPIC to failover, which it does. But we
also want the MDBs to be created on both nodes of the cluster. Any
help will be greatly appreciated.

We are using 3.2.5 on Linux.

Thank you very much,

T. Hammoud
Ritchie Capital Management



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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Http Session is not destroyed when redeploying war-archive

2004-08-13 Thread zarni
I have encountered a problem in jboss 3.2.5, actually tomcat 5.
When I redeploy a war archive with my web-application, the sessions, if any opened by 
clients, don't get destroyed, they live on. The problem is all attributes stored in 
the 
session object are lost and the application doesn't work no more. 
I have to shutdown my webbrowser and run it again, so that a fresh session is created, 
then
it works.

This was not a problem with tomcat 4.

Are there any options I could set and disable this.
Or is this a BUG.

Anything?

Thank's very much.



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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Unable to Commit ERROR on insert record

2004-08-13 Thread noleto
What does the following exception mean? 

org.jboss.tm.JBossRollbackException: Unable to commit

This happens when I try to create a new instance of Entity Bean OrderBean that has a 
reference to TypeBean ( multiplicity: one type can have  several Orders).  I can list, 
update and delete but not insert with OrderBean.

What is happening?

PS.: I'm using SQL SERVER 2000, JBoss and Eclipse with xdoclet.

Any help would be much appreciated.

Daniel Noleto
Belm - Par - Brazil

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB Question

2004-08-13 Thread genman

Create the queue MBean in jbossmq-destinations-service.xml.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Issues with sockets (Too many open files)

2004-08-13 Thread tmoyer
When this system gets under a load I end up with

2004-08-13 13:36:24,883 WARN  [org.jboss.mq.il.oil.OILServerILService] Client request 
resulted in a server exception: 
org.jboss.mq.SpyJMSException: Could not write to the tranaction log.; - nested 
throwable: (java.io.FileNotFoundException: 
/orion/export/orion/jboss-3.0.2/server/default/db/jbossmq/file/QUEUE.alarmMonitorQueue/ID%058190-10924185848802
 (Too many open files))

Can someone lead me in some direction on this?

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBOSS not connecting to MySQL

2004-08-13 Thread kasturiranganr
Hi,

Sure feels strange posting a solution to one's own question but I thought this 
might be helpful to others:

The problem of JBOSS not connecting to the MySQL database had nothing to do with 
JBOSS. Rather it was a MySQL-Linux 'localhost' issue. 

 So if any of you out there are trying to connect to MySQL in a Linux box using 
localhost as IP, please visit the URL below

http://www.cs.wcupa.edu/~rkline/mysql-java-linux.php

 and read the section on 'Fixing the localhost problem for JDBC:MySQL.

Thanks,
Sharad

 

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: unexpected exception outside VM : JBoss 3.0.2 on Debian

2004-08-13 Thread artism101
The problem would appear to be with the JNI call to the shared library.  Perhaps you 
have either a corrupted native library or a problem with the Java wrapper that calls 
it.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock

2004-08-13 Thread artism101
I too am having this problem. 

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - ClassCastException and redeploy--could serialization with Ob

2004-08-13 Thread Squeak
I have an EAR file that has EJB's in it, along with a WAR file.

My application makes uses of Apache's OJB tool, which is linked into my EAR file 
inside the Application.xml.

Now, when I initially deploy my application, everything works fine. However, when I 
redeploy, I get the dreaded ClassCastException. My entire application is in the same 
EAR File, so I don't think I have the standard EJB ClassCastException issue. The 
failure happens inside of OJB's configuration mechnism, and how it handles Metadata 
for JdbcConnections

I have tracked it down inside of OJB's code to a point where they return a collection 
of JdbcConnections, but only after it has been serialized (cloned) using 
commons-lang's SerializationUtils.clone().

To verify this, I changed the code to say which classloader the JdbcConnection was 
coming from before and after the clone via serialization.

Here is the ouput of that:

  | 17:02:09,592 INFO  [STDOUT] ClassLoader for 
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor before
  | Serialization: [EMAIL PROTECTED]
  | url=file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp56536OSNCore.ear
  | ,addedOrder=37}
  | 17:02:18,811 INFO  [STDOUT] ClassLoader for 
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor after
  | Serialization: [EMAIL PROTECTED]
  | url=file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp56536OSNCore.ear
  | ,addedOrder=37}
  | 

Both the original and clone are loaded from the same classloader, as we would expect. 
But after redeploying the EAR file, they are in different loaders (OJB later on tries 
to cast the cloned into it's version of the class, causing the exception)


  | 17:03:04,780 INFO  [STDOUT] ClassLoader for 
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor before
  | Serialization: [EMAIL PROTECTED]
  | url=file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp56537OSNCore.ear
  | ,addedOrder=38}
  | 17:03:11,280 INFO  [STDOUT] ClassLoader for 
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor after
  | Serialization: [EMAIL PROTECTED]
  | url=null ,addedOrder=37} 
  | 

The classloaders are different, and the ClassLoader of the serialized version is the 
same classloader from before the redeployment.

Looking into how SerializationUtils.clone() works, all it does is a standard 
serizalization/deseralize using ObjectInputStream to copy the Object. 

Looking at the code for ObjectInputStream.readObject, it does a Class.forName() to 
create the new object. Could that be the cause of the problem? I thought you shouldn't 
be doing Class.forName() with the UnifiedClassLoader because of issues like this. Is 
that accurate? Could what I describe, and the output from the classloaders be the 
same? (I am thinking yes since the url for the serialized copy after redeployment is 
null).

Thanks in advance!


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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB container prefetching messages?

2004-08-13 Thread klavergne
I am having a similar problem. I have one JBoss instance that is only acting as a JMS 
server. I then have two other instances that each have an MDB that is listening to a 
queue on the JMS server. The last one to connect is the only one that receives 
messages. Each message should also be processed by only one MDB.

Should I modify the BasicQueue as mentioned before, or is there some other way to make 
sure that all the MDBs that are listening on the queue receive messages (not a topic).

I am using JBoss 3.2.3. Is it possible that this has been fixed in a later version?

Thanks.

Kevin

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: DeploymentException: Couldn't create entity command: ; -

2004-08-13 Thread vishwajit_pantvaidya
With a different search, was able to find the bug 984976 for the earlier EJB-QL 
problem.

- Vish.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: DeploymentException: Couldn't create entity command: ; -

2004-08-13 Thread vishwajit_pantvaidya
Thanks Alexey. I made changes as you suggested and it worked.
However I could not find a bug record at sourceforge on that problem. I did find bugs 
874163 and 828845 but these do not seem related to the problem.  Do you by any chance 
know the bug record, or want me to file a bug for the earlier problem (I have not 
tried 3.2.6 yet).

Also now I am getting the following error :

WARN  [ServiceController] Problem starting service 
jboss.j2ee:jndiName=local/LeagueEJB,service=EJBRuntimeErrorException: 
java.lang.NoSuchMethodError Cause: java.lang.NoSuchMethodError at 
org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:99)

Possibly this is some simple problem and I will try to look into the code - but please 
let me know if you know offhand the cause and/or solution.

Again, appreciate the help.


- Vish.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - No security context set using web Services

2004-08-13 Thread iamapony
java.lang.IllegalStateException: No security context set
  | at 
org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrincipal(EnterpriseContext.java:276)

I get the above error when doing a stress test on my web services layer. It pops about 
two times for every one hundred transactions. It is not consistent. I have 

   security-domainjava:/jaas/ActiveChain-login/security-domain

set in the jboss.xml, and my web-service.xml looks like this.

requestFlow name=locationServicesRequest
  |   handler type=java:org.jboss.net.axis.server.JBossAuthenticationHandler
  | parameter name=securityDomain value=java:/jaas/ActiveChain-login/
  |   /handler
  |   handler type=java:org.jboss.net.axis.server.JBossAuthorizationHandler
  | parameter name=securityDomain value=java:/jaas/ActiveChain-login/
  | parameter name=allowedRoles value=users/
  |   /handler
  | 
  | /requestFlow

Any help would be greatly appreciated, it's these inconsistant ones that drive me mad.

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Finish the tutorial!

2004-08-13 Thread cbrown4java
I'm having some issues getting the tutorial to run.  It appears to be something to do 
with the jndi lookup in the servlet.  

I noticed that the xdoclet code completions didn't work for the following section in 
the JavaDocs in the servlet.

...
 * @jboss.ejb-ref-jndi  ref-name = ejb/Fibo
 *  jndi-name = ejb/tutorial/Fibo
...

I tried to type it in anyways and everything seemed to build and deploy fine.  The 
problems show up when I try to run the servlet.  I get the following error:

javax.servlet.ServletException: Lookup of java:/comp/env/ failed
tutorial.web.ComputeServlet.init(ComputeServlet.java:112)
javax.servlet.GenericServlet.init(GenericServlet.java:211)

org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72)

org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:534)

Any help/clues as to what I've done wrong would be much appreciated.

Thanks. 

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: findByPrimaryKey and locking

2004-08-13 Thread ikigovenku
any ideas?

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Please use a server side cursor for large result sets

2004-08-13 Thread javakishore
Hi All,

I am working on a report module. To generate a specific report, I am executing an SP 
which returns thousands of records. I need to populate all this data to the reporting 
software.

When I execute the SP, I am getting this error, 

Please use a server side cursor for large result sets

I need help in, how to solve this problem. 

Thanks in advance

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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user