[JBoss-user] [Installation Configuration] - Preoblems with JNI-modules

2004-08-20 Thread frodeh
When I run JBoss on a Windows-server, and uses InfoZoom-generated classes for 
accessing a DCOM-server, I am not able to redeploy my webapp.

The server says :java.lang.UnsatisfiedLinkError: Native Library C:\Program 
Files\infozoom\izmjnicom.dll already loaded in another classloader

Is there possibly a way to load this DLL elsewhere, and make JBoss only link to the 
loaded module rather than trying to load it again ?

Why is the LIB not unloaded when the webapp undeploys ?

Frode Halvorsen

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

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


---
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: How to connect to HyperSonic DB on JBoss?

2004-08-20 Thread kpraveena
Hi,

Which version u r using?With jboss-3.2.1 and latter u will find embedded hybersonic DB.

Praveena

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

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


---
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] - Problem in Deploying MyBank

2004-08-20 Thread kpraveena
Hi,
I am unable to deploy the mybank bean in chapter 1...error is..0:57:40,436 ERROR 
[URLDeploymentScanner] MBeanException: Exception in MBean operation 
'checkIncompleteDeployments()' 
Cause: Incomplete Deployment listing: 
Packages waiting for a deployer: 

Incompletely deployed packages: 

MBeans waiting for classes: 

MBeans waiting for other MBeans: 
[ObjectName: jboss:service=HAJNDI 
state: FAILED 
I Depend On: jboss:service=DefaultPartition 

Depends On Me: java.lang.NoClassDefFoundError: gnu/regexp/UncheckedRE] 

using eclispe 2.1,lomboz.212,jboss-3.2.1 

i have tried with eclipse 2.1.1 and lomboz.212.p1 with jboss-3.2.1..with No 
success..

Please help me...Its urgent...
Thanku 
praveena



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

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


---
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] [Clustering/JBoss] - availability expectations with apache/mod_jk/tomcat?

2004-08-20 Thread dukehoops
I think I need to set my expectations of apache/mod_jk/tomcat realistically, so I'm 
hoping someone will be kind enough to clarify the following:
Setup: 2 clustered nodes running jboss4/tomcat5, one node running apache/mod_jk with 
sticky round-robin. a distributable web app is farmed out to the cluster. Consider the 
following scenario:
-User accesses webapp for the first time and is directed to node A
-session is established in A, and immediately replicated to B
-successive requests (let's say refresh) for that session keep going to A
-A goes down, next request goes to B
-A is brought back up, a bit later B goes down
-next incoming request goes back to A
-repeat the above steps
and so on...

I've done the above quite slowly, terminating jboss server instances, waiting for them 
to shut down, and then playing user role and hitting refresh. In that scenario, 
clustering worked perfectly! However, if user keeps hitting refresh about once a 
second, while the target node is being brought down, the user eventually sees a 404. A 
few clicks later, the user does get a valid response, served by node B (ie load 
balancing worked), but with a *new* session (i guess session replication didn't work).

Am I expecting too much from this setup? In practice, is there now way to ensure that 
a user will never see a 404 or lose a session as long as load balancer and at least 
one cluster node are alive? Is there a minimum time between user requests assumed? Or 
should one be able to blast a cluster using JMeter with low (say 300 millis) delay 
between successive requests, alternatively bring down nodes and still have the 
sessions preserved?

In my current jboss/tomcat config, session replication is set to instant. Are there 
any setting in mod_jk.conf that can be used to make sure that a cluster node is alive 
and well *immediately* before sending a request to it?


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

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


---
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] - Re: javax.servlet.jar missing in 3.2.5?

2004-08-20 Thread dee_cal
Hi !

I am getting problems in import javax.ejb.* even after setting variables as mentioned 
below in build.properties and build.xml files.

Any help is highly appreciated.

TIA,
Dee.

noel.rocher wrote : Hi, 
  | 
  | the main pb comes from the new packaging of the web container. 
  | You should replace all javax.servlet.jar by 
  | default/deploy/jbossweb-tomcat50.sar/servlet-api.jar
  | 
  | you can set it (servlet.jar property) up in the build.properties file (highest 
level).
  | Add a jsp.jar property too (pointing to the same dir with jsp-api.jar)
  | 
  | then, change the build files to add the use of the jsp.jar propertie in the same 
way as servlet.jar
  | 
  | 

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

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


---
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] [Clustering/JBoss] - apache2/mod_jk/jboss4: fail over but no round robin

2004-08-20 Thread dukehoops
Hi,

I have a basic 2 node cluster with apache2/mod_jk load balancer in front of it. the LB 
is supposed to be doing round robin with sticky sessions. However, all requests seem 
to be going to one and same node. the second gets requests only if i bring down the 
first one (failover). please note that i turned off cookies in my browser to ensure 
session stickiness does not get in the way.  what am i doing wrong?

here's my workers.properties:

# Define the first node.
worker.node1.port=8009 
worker.node1.host=localhost
worker.node1.type=ajp13 
worker.node1.lbfactor=1 
worker.node1.local_worker=1 
worker.node1.cachesize=10 

# ...and the second node. 
worker.node2.port=8009 
worker.node2.host=ip2
worker.node2.type=ajp13 
worker.node2.lbfactor=1 
worker.node2.local_worker=1 
worker.node2.cachesize=10 

# Now we define the load-balancing behaviour 
worker.loadbalancer.type=lb 
worker.loadbalancer.balanced_workers=node1, node2 
worker.loadbalancer.sticky_session=1 
worker.loadbalancer.local_worker_only=1 
worker.list=loadbalancer 

thanks
-nikita

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

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


---
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: making http request from within a session bean

2004-08-20 Thread columod
cheers,
i'm familiar with that client but was wondering if jboss has a standard api/connector 
for handling this.
cheers,
colum.

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

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


---
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: Prepared Statement Caching

2004-08-20 Thread pants
Found answer, if you call prepareStatement with any arguments other than just the sql 
then caching doesn't work.

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

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


---
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: unique constraint TransactionRolledbackLocalException

2004-08-20 Thread sbrbot
If you want to check before inserting new user whether the user with this alias 
already exist, you should create home test (finder or even better select) method 
findByAlias(String Alias) which will use EJBQL fo find user with this alias. Insert 
your new user only upon FinderException of findByAlias().

Second approach could be to try insert your new user with its unique or not-unique 
alias and catch JDBC's SQLException if DB complaints regarding its unique constraint.

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

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


---
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: how to precompile jsp?

2004-08-20 Thread darranl
Stop cross posting

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

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


---
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] - Oracle 9.2 TAF with JBoss 3.2.5

2004-08-20 Thread sheckler
Hi all,
I would like to use Transparant Application Failover (TAF) with my JBoss.
What programmatic changes are necessary in my source code, what configurative changes 
in the JBoss configuratation files?

Im am using the following connection URL anonymous wrote : 
connection-urljdbc:oracle:oci:@CMD-DBR1/connection-url

with the following TNSNAMES Entry:

RWCO_DBS =
  (DESCRIPTION =
(FAILOVER = ON)
(LOAD_BALANCE = ON)
(ADDRESS_LIST =
  (ADDRESS = (PROTOCOL = TCP)(HOST = rwco_dbs1)(PORT = 1521))
  (ADDRESS = (PROTOCOL = TCP)(HOST = rwco_dbs2)(PORT = 1521))
)
(CONNECT_DATA =
  (SERVICE_NAME = eedb)
  (FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = PRECONNECT)
(RETRIES = 20)
(DELAY = 3)
  )
)
  )

and JBoss  uses direct  JDBC calls (ServerLogon Modul, SecurityProxy etc.), as well as 
CMP- and BMP-Beans  to access the database.

Thanks for all Your hints.

Stefan



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

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


---
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: Preoblems with JNI-modules

2004-08-20 Thread frodeh
My initial problem was solved by creating a MBean that took care of the instanciating 
of the object that loaded the DLL.

My next problem is to discover when the object has lost connection with the 
DCOM-server, and then restart the MBean.

The detection is easey, because any call to any method of the object throws an 
exception if there is no connection.

Now I have to figure out how I can restart the MBean from the servlet that discovered 
the error...

Anyone done this before ?

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

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


---
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: Nukes 1.1 default theme

2004-08-20 Thread ninus2
ahhh imagic!! simple, cosy, its blue lines! its little shadow below the banner! =)
vote imagic !
that's a cool poll, thanks again for the SecuredHtmlBlock cooper.

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

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


---
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] - JBoss/Tomcat creating HttpSession automatically

2004-08-20 Thread ltcmelo
Hi,
my applicatio (jboss 3.2.3/tomcat 4.1) always creates HttpSession automatically, is 
this some kind of configuration.

If in the first jsp of my application

request.getSession(false);

NEVER returs null.
Why this behaviour??? How can i avoid it???

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

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


---
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] - Stateless Bean to Hibernate

2004-08-20 Thread arunarao
Hi,
I am trying to make some data persistent in to the database and using hibernate 
for that.i am doing this through a session ejb..I have a client where i am 
calling addItem(item) method.

Problem is in client program.i am stuck there itself.
i get the following error
I am using JBoss3.2.3, Hibernate 2.1.4, MySQL4.0

java.rmi.ServerException: RemoteException occurred in server thread; nested exception 
is: 
  | java.rmi.ServerException: RuntimeException; nested exception is: 
  | java.lang.NullPointerException
  | java.rmi.ServerException: RuntimeException; nested exception is: 
  | java.lang.NullPointerException
  | java.lang.NullPointerException
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240)
  | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
  | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
  | at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
  | at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
  | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
  | at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
  | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
  | at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
  | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
  | at $Proxy1.addItem(Unknown Source)
  | at com.leed.ejb.Client.main(Client.java:63)
  | Exception: RemoteException occurred in server thread; nested exception is: 
  | java.rmi.ServerException: RuntimeException; nested exception is: 
  | java.lang.NullPointerException
  | 

This is very strange to me..can anybody give some clue regarding this...so that i 
can proceed.

Thanks in advance

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

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


---
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: jboss.xml (4.0RC1) for Message Driven Beans

2004-08-20 Thread ralf.siedow
Hello,

isn't there anyone who can tell me what this error means?:
14:32:44,959 ERROR [JBossMessageEndpointFactory] Starting failed 
jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/SmsInfoBean,plugin=invoker,service=EJB
org.jboss.deployment.DeploymentException: Cannot locate resource adapter deployment 
null; - nested throwable: (javax.management.InstanceNotFoundException: 
jboss.jca:name='null',service=RARDeployment is not registered.)


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

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


---
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: 3.2.5 + JCA + CCIBlackBox

2004-08-20 Thread ralf.siedow
deguoren wrote : Hi,
  | 
  |   | try
  |   | {
  |   | Context initCtx = new InitialContext();
  |   | javax.resource.cci.ConnectionFactory cf =   
(javax.resource.cci.ConnectionFactory)initCtx.lookup( 
java:comp/env/eis/CciBlackBoxLocalTx);
  |   | 
  | 
  | The following exception is thrown:
  | 
  | 11:48:00,577 INFO  [STDOUT] javax.naming.NameNotFoundException: eis not bound
  |   | 11:48:00,577 INFO  [STDOUT] at 
  |   | 
  |   | 
  |   | 
  |   | 
  | 

Did you try java:eis/CciBlackBoxLocalTx or java:/eis/CciBlackBoxLocalTx to lookup it?

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

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


---
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] - Classloading problems betw EJBs and WARs

2004-08-20 Thread bgw2
I'm deploying several web applications on JBoss 3.0.7 running on Solaris.
These web applications share some EJBs which are deployed in a separate
EAR.  The EJBs in the EAR share some common core classes (value objects,
PKs, exceptions) which are packaged in a support jar which is then
referenced in the manifest classpath of each EJB jar.  The support jar
is also copied to each of the WARs' WEB-INF/lib directories so that the
web applications also have access to these common classes.  Each EJB jar
also has a companion client jar containing just the remote and home
interfaces of each EJB; these are also copied to both the WAR lib directories
and the EAR directory.

This setup has worked for about a year now, and now all of a sudden we're
getting linkage errors and class cast exceptions on just one of our lab
test machines.  Other machines running a very similar build are working OK.
The class that's involved in the errors appears to be one of the classes
in the common support jar.

I read the document by Scott Stark on classloading quite a while back,
and recall that linkage errors and class cast errors can be an indication
of classloading problems.  But what am I doing wrong here ?  I think that
the kinds of things that I'm doing, separate support jar mentioned on
manifest classpath, and separate client jars for interfaces, is pretty
common usage these days.  Anyone have any problems using a similar
approach ?  

EAR:
  -- MyEjb1.jar
  -- META-INF/MANIFEST.MF
  -- Class-Path: EjbSupport.jar OtherEjbClient.jar
  MyEjb1Impl.class
  -- EjbSupport.jar
  -- SessionLocator.class
  -- CommonPK.class
  -- AppSpecificException.class
  -- MyEjb1Client.jar
  -- MyEjb1Home.class
  -- MyEjb1Remote.class
  -- OtherEjbClient.jar
  -- OtherEjbHome.class
  -- OtherEjbRemote.class
  ...and so on...

WAR:
   -- WEB-INF
   -- lib
   -- MyGuiServlets.jar
   -- CompiledJSPs.jar
   -- EjbSupport.jar
   -- MyEjb1Client.jar
   -- OtherEjbClient.jar

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

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


---
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: BLOBs and Transactions

2004-08-20 Thread ceh
I am not using PreparedStatement. I am using the setter, i.e. myobj.setGraphic(g) and 
myobj.setAudio(a) where g and a are byte[]. Please keep in mind, this works just fine 
outside of an explicit transaction. If there were a typo, this would not be true.

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

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


---
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] - News in JBoss 3.2.x

2004-08-20 Thread daniels
We are currently using JBOSS version 3.0.4. Before moving to 3.2.5, we wanted to 
analyze the improvements that JBOSS 3.2x provides. We tried searching for change logs 
and in the forums, but in vain.
Please help!

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

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


---
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: Security and Permission setting

2004-08-20 Thread innovate
Hi,

Solved the problem. Following an excerpt from my custom advertisement block which 
should be displayed only for a particular url pattern:
public boolean getDisplayed(Page page) {
  | String advertisementUrl = page.getRequest().getServletPath();
  | Level level = secGetLevel(advertisementUrl + ::);
  | 
  | return level.getName().equals(READ) ? true:false;
  | }

For this, I had to modify Page.java so I get the request with the url pattern 
(servletPath).

Following the security entry of an advertisement block (jmx-console):
security
  |permission group=* pattern=/support/.*:: level=READ/
  | /security

Regards,

Cyrill

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

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


---
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: Dramatic SQL response time moving from jboss 3.0.6 to 3.

2004-08-20 Thread mbaptist
Hi,

We finally found the trick ;-)
It was due to a misconfiguration in the DataSource definition (pointing to a wrong 
server :-( ).

Sorry for that thread!!!

By the way, during our tests we discovered that the JTDS driver were 15 to 20 % faster 
that M$ one.

We do recomend the p5spy profiler. Easy to use and efficient. 

Thanks Adrian for your help.

Best Regards,

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

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


---
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: Is there a way to download stub jar for an deployed EJB

2004-08-20 Thread yueming
Just like you said, the client just needs jbossall-client.jar and the home and remote 
interfaces, what I'm trying to do is get this home and remote interfaces from JBoss 
for client usage. Usually a stub jar can contain those things, I think in JBoss case I 
used the wrong word since JBoss is using Dynamic Proxy. But that Jar which contains 
home and remote interfaces plus maybe other dependent classes is indeed very useful, 
other application servers do generate this Jar(also this Jar is also mentioned in J2EE 
spec and it states that it should be implementation specifc). So I'm wondering if 
JBoss can do the same thing? For a client tooling environment, a use case would be a 
user browse for EJBs in JBoss, and he selects one and imports that Jar in his 
workspace and develop a client.

Thanks,
Yueming

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

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


---
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] - Add excludes to DeploymentFilter

2004-08-20 Thread davidmboon
I would like to add several additional matches to the DeploymentFilter in 
jboss-service.xml.For example in the root of our war we have several symbolic 
links that link to several hundred gigabytes of content, I'd like skip that directory. 
 

Option 1 (Prefered):
I would like to be able to specify addtional directories to ignore in an attribute of 
the mbean in jboss-service.xml but there doesn't seem to be any notion of  and 
excludes list, in there.

Option 2:
Extend DeploymentFilter and add addtional matches.  However, this doesn't appear 
possible, this class doesn't lend itself to be extended.

Option 3: 
Copy DeploymentFilter and create my own version.  This is not a very desireable 
option, will be hard to maintain between releases of jboss.

How does JBoss suggest that we add excludes the URLDeploymentScanner?

Thanks

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

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


---
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] - How to get the JNDI name of an EJB deployed to JBoss?

2004-08-20 Thread yueming
Hi there,
Is there an API for this in JBoss? I know the JNDIView MBean can be used to browse all 
the name entried in JNDI, but I want to get a JNDI name for an EJB, is there a 
function like getJNDIName(ObjectName objname) in some MBean or service, where for 
example 
objname=EJBModule=KTJAR.jar,J2EEApplication=null,J2EEServer=Local,j2eeType=StatelessSessionBean,name=HelloWorld?
 Or can I easily add a service to achieve this goal?

Your help is greatly appreciated!
Thanks,
Yueming

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

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


---
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: Jboss - MS SQLSERVER2000 configuration problem

2004-08-20 Thread mbaptist
Hi,


Here is the Datasource definition we are using to connect to a MS-SQLServer 2000 from 
a Linux Jboss server:
(replace jndi name and properties values with your own...)


  local-tx-datasource
jndi-namejdbc/DSNAME/jndi-name

connection-urljdbc:microsoft:sqlserver://DBSERVER:;ServerName=DBSERVER;PortNumber=;DatabaseName=DBNAME;User=DBUSER;Password=DBUSERPWD;SelectMethod=cursor/connection-url
driver-classcom.microsoft.jdbc.sqlserver.SQLServerDriver/driver-class
user-nameDBUSER/user-name
DBUSERPWD
prepared-statement-cache-size50/prepared-statement-cache-size
min-pool-size5/min-pool-size
max-pool-size50/max-pool-size
idle-timeout-minutes15/idle-timeout-minutes
track-statementsfalse/track-statements
  /local-tx-datasource


Here is also a piece of code:

   Context context = new InitialContext();
   Object ref_ms = context.lookup(java:/jdbc/DSNAME);
   DataSource ds_ms =
(DataSource) PortableRemoteObject.narrow(ref_ms, 
DataSource.class);
   connection_ms = ds_ms.getConnection();

...

   prepStmt = connection_ms.prepareStatement(DbRequest);
   rs = prepStmt.executeQuery();

...

rs.close();
prepStmt.close();
connection_ms.close();
...

hope this will help you ;-)
Br,

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

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


---
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: setting up nukes in Jboss/Eclipse IDE

2004-08-20 Thread dontrango
hi theute,

thanks for your classpath. if you don't mind i'd like to try 1st.

i'm using eclipse3.0 200406251208 with jboss-ide plugin

what's wrong with these steps?
- created a new project : file-new-'java project'
  source folder : Jnukes/src
  output folder: Jnukes/bin

- selected file-new-folder-
  selected path_to_/nukes-1.0.0-src to give the following hierarchy

Jnukes
  |- src
  |-JRE_LIB
  |-nukes-1.0.0-src

- selected windows-preferences-java-build path-classpath variables
JBOSS_HOME=/opt/jboss-3.2.3 
JBOSS_NUKES=/home/programming/jnukes/nukes-1.0.0-src
 
- cp common-classpath.html $JBOSS_NUKES/common/.classpath
  cp nukes-classpath.html $JBOSS_NUKES/nukes/.classpath
  cp template-classpath.html $JBOSS_NUKES/template/.classpath
  cp .classpath $JBOSS_NUKES/.classpath

those files were downloaded from 
http://www.jboss.org/wiki/Wiki.jsp?page=SettingUpClasspaths;

- right click on Jnukes folder to refresh the view. should I see some library there?



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

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


---
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: Is there a way to download stub jar for an deployed EJB

2004-08-20 Thread darranl
You will need to create the jars for the clients yourself so that they just contain 
the required classes.

If you are going to mention the specs, which spec (title and version), and which 
section are you referring to?

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

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


---
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: Update a deployed web app

2004-08-20 Thread johnyu
How to update individual JSP files? I tried under jboss4\default\deploy\xxx.war\, 
but with no success. I'm wondering if only archive files can be hot deployed (I'm 
using a directory structure).

formenti, it seems you were able to do that. Could you give more details?

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

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


---
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: Update a deployed web app

2004-08-20 Thread formenti
try under jboss4\default\tmp\deploy\\xxx.war\ where  is your most recent ear 
directory...
It works in JBoss 3.2.3, i don't know in JBoss4

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

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


---
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: setting up nukes in Jboss/Eclipse IDE

2004-08-20 Thread theute
First you should modify your .classpath with Eclipse closed as i think Eclipse will 
replace your .classpath by the one it has in memory. So check that your .classpath has 
not been modified

I only use 1 project and 1 classpath (in the root directory of the project) Be careful 
with the different views, Java and Resource.

I am not sure of the perfect way but this should work (i always do from CVS otherwise 
i couldn't find any way to use the CVS features of Eclipse)

-- Create a new Java project (any project name, Create in workspace (or not it 
shouldn't matter, create separate source and output folders) . you can click on finish 
at the first screen
-- right click on the project and choose import
-- pick file system
-- go inside the directory nukes (where there is build, common, bb, ...
--select it (the main directory) and choose Create selected folders only
Now you should have in the resource view:
Projectname
 bb
 build
 common
 ...
 tools
 .classpath
 .project

And in Java view:
 src
 JRE System Library
 bb
...
 tools

Now you want to declare bb/src/main, common/src/main, distrib/src/main... as sources 
directories.

What you can do is go in the properties of the project then choose the Java Build 
Path, and Source tab and click to add your folders one by one. If you do that it 
will update your .classpath like this:

 
 
 

Once you did that Eclipse will complain about missing libraries. Here starts the 
boring job to find which libraries it needs. You can look at the message and fix one 
by one the missing libraries by adding them in the Libraries tab and click on Add 
external jars.

By doing that Eclipse will update the .classpath like this: (there are much more)
 
 
 
 
 
 

Now you are ready to use Eclipse.

To build you should still use the build.xml

I am not expert of Eclipse, there is probably better to do as my classes are compiles 
twice, once by Eclipse (in a  wrong directory) and once by ant.

I just started to play with JBoss IDE but breaks too often for me :(

Good luck !



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

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


---
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: Update a deployed web app

2004-08-20 Thread johnyu
It works (JBoss 4). A simple mistake with two Tomcats running.

Thanks formenti.

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

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


---
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: ABSTRACT_SCHEMA problem with ejb-ql

2004-08-20 Thread pique
Is  ORDERING so may cause problem?

jboss-ql![CDATA[SELECT OBJECT(aa) FROM AccountAnal aa WHERE aa.account.id = ?1 
order by aa.ordering]]/jboss-ql

 and error - generated query has starnge table-name after from

SELECT t0_aa.id, t0_aa.ordering 
 FROM TABLE-NAME = ACCOUNTANAL t0_aa,
 ACCOUNT t1_aa_account 
 WHERE (t1_aa_account.id = ? AND
  t0_aa.account_id=t1_aa_account.id) 
 ORDER BY t0_aa.ordering ASC

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

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


---
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: ABSTRACT_SCHEMA problem with ejb-ql

2004-08-20 Thread pique
Version JBoss 3.2.5

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

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


---
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: jboss.xml (4.0RC1) for Message Driven Beans

2004-08-20 Thread [EMAIL PROTECTED]
On the WIKI: http://www.jboss.org/wiki/Wiki.jsp?page=ConfigMessageListener

or docs/dtd/jboss_4_0.dtd in the distribution

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

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


---
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: Is there a way to download stub jar for an deployed EJB

2004-08-20 Thread yueming
Ok, but it will be very hard for the client side to assemble this Jar because the user 
who consumes the EJB probably is not the one who develops this EJB, so the only way is 
resorting to the runtime, and I just think JBoss might do that for the client. 
About the spec, I was wrong, Because this JAR file is not covered by the J2EE 
specification, it is implementation-specific, intended only for the Application 
Server., but as I said, many servers do generate this Jar.

Thanks for your reply!
Yueming

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

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


---
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: Connection failure during managed transaction

2004-08-20 Thread [EMAIL PROTECTED]
Moderated: It is an FAQ on the WIKI

Moderated: Stop posting me toos they do not help the original poster.

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

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


---
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: POST request truncated in JBoss but not in WebLogic?

2004-08-20 Thread raquelaraujo27
Hello, I am having a similar problem and I am wondering if you found the answer to 
your problem.
Thanks...

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

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


---
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: XAConnectionFactory not bound

2004-08-20 Thread [EMAIL PROTECTED]
There is no such deployment QueueConnectionFactory.
There is a ConnectionFactory or UIL2ConnectionFactory, etc.

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

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


---
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: Sending JMS from session bean and transaction time-out

2004-08-20 Thread [EMAIL PROTECTED]
The reason is that the session stores messages sent in a transaction
locally. It doesn't send them to the server until the commit
(which never happens because the timeout forces a rollback).

1) connection.createSession(...); // enlists session in transaction
2) add messages to the session (it is transacted)
3) timeout
4) keeps adding messages to the session
5) When finished, try to commit (which would send the messages to the server), but the 
timeout forces a rollback

In other words:
A createSession() or commit() will fail if a timeout has occurred.
A send will not, because it is not communicating with the server 
(it is just accumulating messages waiting for a commit).

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

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


---
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: How to connect to HyperSonic DB on JBoss?

2004-08-20 Thread wieza
I'm using JBoss 3.2.5. It has Hypersonic embedded, I created some tables using 
Database Manager but the problem is how to connect to it in Java application?

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

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


---
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: Lost or forgotten messages in queue

2004-08-20 Thread [EMAIL PROTECTED]
Yes there are two problems with the file persistence managers.

1) They do not guarantee the data is flushed to the physical disk,
it could still be held in OS buffers.

2) They have no checksum so it is impossible to detect data corruption.

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

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


---
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: JBoss+WSMQ - connection to queue is closed after several

2004-08-20 Thread [EMAIL PROTECTED]
JBoss's MDB already registers a Connection.setExceptionListener()
on the WSMQ connection (as defined by the JMS api).

If WSMQ doesn't report any error, there is nothing JBoss can do about it.

If WSMQ does report an error, JBoss will try to reconnect
(once every 10 seconds by default - see reconnect interval in standardjboss.xml).

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

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


---
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: setting up nukes in Jboss/Eclipse IDE

2004-08-20 Thread theute
Arf sorry i forgot about the stripped tags...

theute wrote : First you should modify your .classpath with Eclipse closed as i 
think Eclipse will replace your .classpath by the one it has in memory. So check that 
your .classpath has not been modified
  | 
  | I only use 1 project and 1 classpath (in the root directory of the project) Be 
careful with the different views, Java and Resource.
  | 
  | I am not sure of the perfect way but this should work (i always do from CVS 
otherwise i couldn't find any way to use the CVS features of Eclipse)
  | 
  | -- Create a new Java project (any project name, Create in workspace (or not it 
shouldn't matter, create separate source and output folders) . you can click on finish 
at the first screen
  | -- right click on the project and choose import
  | -- pick file system
  | -- go inside the directory nukes (where there is build, common, bb, ...
  | --select it (the main directory) and choose Create selected folders only
  | Now you should have in the resource view:
  | Projectname
  |  bb
  |  build
  |  common
  |  ...
  |  tools
  |  .classpath
  |  .project
  | 
  | And in Java view:
  |  src
  |  JRE System Library
  |  bb
  | ...
  |  tools
  | 
  | Now you want to declare bb/src/main, common/src/main, distrib/src/main... as 
sources directories.
  | 
  | What you can do is go in the properties of the project then choose the Java Build 
Path, and Source tab and click to add your folders one by one. If you do that it 
will update your .classpath like this:
  | 
  |   |  classpathentry kind=src path=nukes/src/main/
  |   |  classpathentry kind=src path=common/src/main/
  |   |  classpathentry kind=src path=bb/src/main/
  |   | 
  | Once you did that Eclipse will complain about missing libraries. Here starts the 
boring job to find which libraries it needs. You can look at the message and fix one 
by one the missing libraries by adding them in the Libraries tab and click on Add 
external jars.
  | 
  | By doing that Eclipse will update the .classpath like this: (there are much more)
  | 
  |   |  classpathentry kind=lib 
path=/home/theute/jboss-3.2/build/output/jboss-3.2.3/lib/commons-httpclient.jar/
  |   |  classpathentry kind=lib 
path=/home/theute/jboss-3.2/build/output/jboss-3.2.3/lib/commons-logging.jar/
  |   |  classpathentry kind=lib 
path=/home/theute/jboss-3.2/build/output/jboss-3.2.3/lib/concurrent.jar/
  |   |  classpathentry kind=lib 
path=/home/theute/jboss-3.2/build/output/jboss-3.2.3/lib/getopt.jar/
  |   |  classpathentry kind=lib 
path=/home/theute/jboss-3.2/build/output/jboss-3.2.3/lib/gnu-regexp.jar/
  |   |  classpathentry kind=lib 
path=/home/theute/jboss-3.2/build/output/jboss-3.2.3/lib/jboss-boot.jar/
  |   | 
  | 
  | Now you are ready to use Eclipse.
  | 
  | To build you should still use the build.xml
  | 
  | I am not expert of Eclipse, there is probably better to do as my classes are 
compiles twice, once by Eclipse (in a  wrong directory) and once by ant.
  | 
  | I just started to play with JBoss IDE but breaks too often for me :(
  | 
  | Good luck !
  | 
  | 

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

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


---
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: why i can't invoke bmp method

2004-08-20 Thread osataken
no error occur while i deploy ejb module.
this is an output when i deploy ejb module(i test in jboss 3.2.3 and 3.2.5)
anonymous wrote : 
  | 00:00:07,066 INFO  [EjbModule] Deploying Account
  | 00:00:07,657 INFO  [EJBDeployer] Deployed: 
file:/C:/jboss-3.2.5/server/default/deploy/Account.jar
  | 

this is Client code 


  | public class AccountBeanTest {
  | 
  | public static void main(String[] args) throws NamingException {
  | Hashtable props = new Hashtable();
  | Account account=null;
  | try{
  | props.put(
  | InitialContext.INITIAL_CONTEXT_FACTORY,
  | org.jnp.interfaces.NamingContextFactory);
  | props.put(InitialContext.PROVIDER_URL, jnp://127.0.0.1:1099);
  | InitialContext c = new InitialContext(props);
  | AccountHome home= (AccountHome) c.lookup(AccountBean);
  | System.out.println(Total of all account 
+home.getTotalBankValue());
  | home.create(123-456-7890,John Smith);
  | Iterator i=home.findByOwnerName(John Smith).iterator();
  | if (i.hasNext()){
  | account=(Account) i.next();
  | }
  | else
  | System.out.println(Cannot find account.);
  | System.out.println(Initial Balance=+account.getBalance());
  | account.deposit(100);
  | System.out.println(After Deposit 100=+account.getBalance());
  | System.out.println(Total of all accounts in bank 
now=+home.getTotalBankValue());
  | AccountPK pk=(AccountPK) account.getPrimaryKey();
  | account=null;
  | account=home.findByPrimaryKey(pk);
  | System.out.println(Found account with ID +pk+ 
.Balance=+account.getBalance());
  | account.withdraw(150);
  | }catch(Exception e){
  | System.out.println(Caught Exception!!!);
  | e.printStackTrace();
  | }finally{
  | if (account!=null)
  | try {
  | account.remove();
  | } catch (RemoteException e1) {
  | // TODO Auto-generated catch block
  | e1.printStackTrace();
  | } catch (RemoveException e1) {
  | // TODO Auto-generated catch block
  | e1.printStackTrace();
  | }
  | }   
  | }
  | 

when i run Client as application in eclipse the output is 
anonymous wrote : 
  | Total of all account 120.0
  | Cannot find account.
  | Caught Exception!!!
  | java.lang.NullPointerException
  | at examples.AccountBeanTest.main(AccountBeanTest.java:43)
  | 
it shown cannot find account cause ejbCreate() was not invoked.
Total of all account are selected from database and sum it.

and in server console the output is
anonymous wrote : 00:02:39,655 INFO  [STDOUT] New AccountBean Created.
  | 00:02:39,695 INFO  [STDOUT] setEntityContext() Called.
  | 00:02:39,705 INFO  [STDOUT] ejbHomeGetTotalBankValue()
  | 00:02:39,966 INFO  [STDOUT] DB CONNECTED
  | 00:02:40,046 INFO  [STDOUT] ejbCreate() Called.
  | 00:02:40,086 INFO  [STDOUT] ejbStore() Called.
  | 00:02:40,166 INFO  [STDOUT] New AccountBean Created.
  | 00:02:40,166 INFO  [STDOUT] setEntityContext() Called.
  | 00:02:40,166 INFO  [STDOUT] ejbFindByOwnerName(John Smith) Called.
ejbCreate() Called not shown after setEntityContext().

ejb-jar.xml 
?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 
2.0//EN ejb-jar_2_0.dtd
  | ejb-jar
  | display-nameBMPTest/display-name
  | enterprise-beans
  | entity
  | ejb-nameAccount/ejb-name
  | homeexamples.AccountHome/home
  | remoteexamples.Account/remote
  | local-homeexamples.AccountLocalHome/local-home
  | localexamples.AccountLocal/local
  | ejb-classexamples.AccountBean/ejb-class
  | persistence-typeBean/persistence-type
  | prim-key-classexamples.AccountPK/prim-key-class
  | reentrantfalse/reentrant
  | resource-ref
  | res-ref-namejdbc/ejbPool/res-ref-name
  | res-typejavax.sql.DataSource/res-type
  | res-authContainer/res-auth
  | /resource-ref
  | /entity
  | /enterprise-beans
  | 

[JBoss-user] [EJB/JBoss] - Re: why i can't invoke bmp method

2004-08-20 Thread osataken
oh , sorry ejbCreate() was invoked.(i just see it in my last reply - -)
i miss a  very simple statement in ejbCreate().
i miss 
pstmt.executeUpdate();
  | 
in ejbCreate() so database was not created too.

thank you again jamesstrachan.^^

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

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


---
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: JBoss, Hibernate, JDBC, hotdeploy causes error

2004-08-20 Thread forhead
driver jar should not be inside EAR file

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

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


---
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] - Metaobject NullPointerException caused by final methods (and

2004-08-20 Thread nathanmeyers
Hello,

I just got back to using Javassist after some unsuccessful earlier attempts. I was 
hitting a strange NullPointerException during execution of some methods in classes I 
had instrumented with Javassist reflection.

The problem turned out to be some faulty logic in ClassMetaobject for determining the 
list of available methods; it was failing to see final methods defined by reflective 
superclasses - so the methods[] array had some null elements that should not have been 
null.

Here's my fix, based on the Javassist 3.0beta release code:


  | --- src/main/javassist/reflect/ClassMetaobject.java 1 Jul 2004 23:26:57 -  
 1.1.1.1
  | +++ src/main/javassist/reflect/ClassMetaobject.java 20 Aug 2004 18:20:53 -
  | @@ -246,7 +246,8 @@
  |  methods = new Method[n];
  |  for (int i = 0; i  n; ++i) {
  |  Method m = allmethods[ i];
  | -if (m.getDeclaringClass() == baseclass) {
  | +if (m.getDeclaringClass() == baseclass ||
  | +   Modifier.isFinal(m.getModifiers())) {
  |  String mname = m.getName();
  |  if (mname.startsWith(methodPrefix)) {
  |  int k = 0;
  | 

Nathan Meyers

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

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


---
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: HttpServletRequest.getServerPort() incorrectly returns 8

2004-08-20 Thread danorris
Another followup: I don't see this behavior in JBoss 3.2.3; getServerPort() correctly 
returns 8080 with the stock configuration. Is it possible this is a bug introduced 
between .3 and .5?

--
David Norris
[EMAIL PROTECTED]

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

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


---
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] - EJB-QL - IS EMPTY

2004-08-20 Thread juniorcarl

I'm not sure if the following EJB-QL with the IS EMPTY expression is translated 
correctly by JBoss 3.2.5. Wouldn't the generated SQL return an empty result no matter 
what?



  | ejb-ql
  |![CDATA[SELECT OBJECT(s) FROM Service s WHERE s.subscriptions IS EMPTY]]
  | /ejb-ql
  | 
  | translated to...
  | 
  | SELECT DISTINCT t0_s.service_id FROM service t0_s, subscription t1_s_subscriptions 
WHERE (t1_s_subscriptions.subs_id IS NULL AND 
t0_s.service_id=t1_s_subscriptions.service_id)
  | 



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

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


---
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: why i can't invoke bmp method

2004-08-20 Thread jamesstrachan
You found the bug, not me.

I missed that one.

James


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

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


---
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] [The Lizzard's corner] - Re: What is the biggest site using JBoss ?

2004-08-20 Thread grnwood
jaap wrote : Well
  | 
  | I have got a small site running JBoss. About 1000 visitors a day. The site is 
reasonably complex - light pages are about 10 database requests, the heavier pages 
need up till 1000 database requests.
  | 
  | Before JBoss I had the same war's where running flawlessly on Tomcat (for years). 
Since i moved to JBoss there are a dozen different reasons that crashed my website. 
Crash means crash and no recovery. With help of the the server.log I have solved most 
of problems but still the website by far lacks the stability of my previous Tomcat set 
up.
  | 
  | For Bolt - do decent load testing. My JBoss worked fine in development - but the 
first days in production it had a TTL of 1 - 2 hours. (Now the TTL is about 24 hours - 
just enough to restart it only once a day!)
  | 
  | To get my website running production level with Tomcat is a matter of weeks. With 
JBoss you should be counting on a learning curve of several months (i am not there 
yet!). Unless of course you have a Mickey Mouse website.
  | 
  | Jaap

[img][/img]

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

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


---
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] - Over rule JDBC driver default properties

2004-08-20 Thread svenbeer
Hallo Eveerybody

I would like to over rule some default properties of the JDBC driver I am using. 

I have tried the following config statements in my -ds.xml file, but it does not seem 
so effect  the connection at all!?

config-property name=propertyNamepropertyValue/config-property

and

local-datasource-propert name=propertyNamepropertyValue /local-datasource-property


I would be very grateful if anybody has got some advice for me, to solve that problem!

Regards,

Sven


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

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


---
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] - Forcing a commit for a Container Managed Transaction

2004-08-20 Thread hmae
Is there a way to force an CMT entity bean to commit to a database without caching?  
Is there some setting that I need to edit?

Thanks in advance.

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

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


---
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] [Clustering/JBoss] - running two clusters on the same network

2004-08-20 Thread elindauer
Hi,

I'm trying to run two clusters (development / production) on the same network.  I've 
read several suggestions in the forums indicating that I need to change  the 
multi-cast address in cluster-service.xml, ie:

  UDP mcast_addr=228.1.2.3 mcast_port=45566... to
  UDP mcast_addr=...something else... ...

this seems easy enough.  I was just wondering, is there a way to tell JBoss to grab 
the value from a System property?  I'd like to launch JBoss with, say -Dmcast_addr=... 
as it would make distinguishing between partitions much easier.



On a related and probably easier note, how do the clients differentiate between the 
clusters?  There's no cluster-service.xml in the client of course, so how do they know 
which one to use?

   Thanks for any help you can offer.

   Sincerely,
Eric
 

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

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


---
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] setModelerType method not found - when updating attributes using JMX-console

2004-08-20 Thread Sastry Malladi
I'm using JBOSS 3.2.5 (latest production version). When I use the
jmx-console page and then select catalina server mbean to update any
attributes, I get the following exception. The method setModelerType
is indeed not there in the StandardServer. So the
question is, why is the catalina server mbean displaying an attirbute
called modelerType and thus always calling setModelerType() when you
click on ApplyChanges ? Any help is appreciated. Thanks.


javax.servlet.ServletException: Failed to update attributes
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(Unknown Source)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(Unknown Source)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

root cause

ReflectionException: Cannot find setter method setModelerType StandardServer[8005]
Cause: java.lang.NoSuchMethodException: 
org.apache.catalina.core.StandardServer.setModelerType(java.lang.String)
org.apache.commons.modeler.BaseModelMBean.setAttribute(BaseModelMBean.java:662)
org.jboss.mx.server.RawDynamicInvoker.setAttribute(Unknown Source)
org.jboss.mx.server.MBeanServerImpl.setAttribute(Unknown Source)
org.jboss.jmx.adaptor.control.Server.setAttributes(Unknown Source)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(Unknown Source)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(Unknown Source)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)



---
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] - need configuration https in jboss 3.0.8

2004-08-20 Thread ottoniel
i need configuration of https in jboss 3.0.8 

someone can help me?

Tank you.

Ottoniel

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

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


---
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] - please help: ava.lang.UnsupportedClassVersionError: org/apac

2004-08-20 Thread schwarcz
I have compiled and deployed the same four application to two different servers (Wind 
Xp Pro SP1, JBoss 3.2.5/Tomcat, JDK 1.4.2, J2EE 1.3).  However one (and only one) of 
the applications bombs on only one of the servers complaining about my jsp (see 
below).  Any ideas or suggestions as to what could be causing this?


java.lang.UnsupportedClassVersionError: org/apache/jsp/index_jsp 
(Unsupported major.minor version 49.0)
java.lang.ClassLoader.defineClass0(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:537)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
java.net.URLClassLoader.access$100(URLClassLoader.java:55)
java.net.URLClassLoader$1.run(URLClassLoader.java:194)
java.security.AccessController.doPrivileged(Native Method)


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

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


---
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