[JBoss-user] [Installation Configuration] - Re: DHCP woes

2005-01-23 Thread chrismalan
Yep, that does it.  Thanks Scott.  Added 
d22-236-171-17.dsl.nsw.optusnet.com.au   127.0.0.1
to /etc/hosts  Hopefully I'll keep this hostname for a while.

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Could not create entity

2005-01-23 Thread demmahom
No body can help me?? :(


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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - No body can help me??????

2005-01-23 Thread demmahom
please i need your feedback.
problem:  http://www.jboss.org/index.html?module=bbop=viewtopict=59038

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-01-23 Thread sbjava
Thank you very much, Scott.
You do so well!

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News Announcements] - Re: 4.0.0 Tomcat Security Patch

2005-01-23 Thread sbjava
Good job.

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Using different Context inside of a bean

2005-01-23 Thread 7Seconds
Hello,

I hope someone may help me solving my problem.

I am busy writing a distributed application with this kind of structure:

I have two jboss servers on two different machines connected via lan: One with 
a standalone java application as client, both with a jboss4 server containing 
the same jar containing the same set of ejbs with the same jndi names providing 
some business functionality. I already set up this scenario and succeeded in 
communicating with the ejb components in a single jboss server from my client 
application.

I set up an InitialContext to connect from my client app to the jboss jnp 
service this way:

Properties properties = System.getProperties();
properties.put(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory);
properties.put(java.naming.provider.url, jnp://localhost:1099);
properties.put(java.naming.security.principal, myUserName);
properties.put(java.naming.security.credentials, myPassWord);
InitialContext ctx = new InitialContext(properties);

and succeeded finding my ejbs using the jndi-names specified in jboss.xml by 
this code:

jndiContext = setContext(task.getDSKAddress().getComponentName()); 
Object ref = jndiContext.lookup(DSKHomeRemote);
DSKHomeRemote home = (DSKHomeRemote) 
PortableRemoteObject.narrow(ref,DSKHomeRemote.class);
DSKRemote DSK = home.create();

with task.getDSKAddress().getComponentName() returning the url of the server to 
connect to via jndi as String with value jnp://localhost:1099.

I also succeeded in communincating with the ejbs living in the other jvm jboss 
located at a remote server from my client app by changing the provider.url to 
the according setting. I was able to access the Remote objects from the ejbs 
living in the same jboss container.

Now, heres my problem:

if I try to find a bean located on server b from a business method of a bean 
living in server a, i get this exception:

16:33:28,923 INFO  [STDOUT] java.lang.ClassCastException: 
javax.naming.CompoundName
16:33:28,925 INFO  [STDOUT] at 
org.jboss.util.property.PropertyMap.remove(PropertyMap.java:198)
16:33:28,926 INFO  [STDOUT] at 
org.jnp.interfaces.NamingContext.getEnv(NamingContext.java:1299)
16:33:28,926 INFO  [STDOUT] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:526)
16:33:28,926 INFO  [STDOUT] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
16:33:28,926 INFO  [STDOUT] at 
javax.naming.InitialContext.lookup(InitialContext.java:351)
16:33:28,926 INFO  [STDOUT] at 
redicat.mvs.IMVKBean.executeResourceCollection(IMVKBean.java:84)

What I did: I created a new Context using the values letting me connect 
successfully from my client app with this code:

jndiContext = setContext(task.getDSKAddress().getComponentName()); 
Object ref = jndiContext.lookup(DSKHomeRemote);
DSKHomeRemote home = (DSKHomeRemote) 
PortableRemoteObject.narrow(ref,DSKHomeRemote.class);
DSKRemote DSK = home.create();

with task.getDSKAddress().getComponentName() returning the url of the server to 
connect to via jndi as String containing jnp://ip.of.the.server:1009 (replace 
the ip.of.. with its real ip).

Now my question: how can I get a reference to the Remote object of a bean 
living in a jboss server on a jvm on server b from a bean living in a different 
jboss server in a different jvm on server a? 

Remember: the set of beans living in jboss on server a and b is identical. They 
were deployed with the same jar file and have the same ejb-jar and jboss.xml 
files, the same classnames and the same jndi names. The only difference is the 
machine on which the jboss server runs.

Is it possible to access beans with the same jndi-name located at different ejb 
containers? How do I have to set the context to find beans being in container b 
from a business method of a bean in container a?

My setup: jboss 4.0.1 linux, configuration out-of-the-box, jdk1.5.0

Please help, I get nuts if I don't get to solve this problem.

Greetings from Oldenburg, Germany

Ralph

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - EJB 3.0 Preview, @Tx Annotation

2005-01-23 Thread Ferenc.Bator
Why JBoss EJB 3.0 uses the @Tx annotation instead of the specified 
@TransactionAttribute  from JSR 220 in Chapter 9.4?


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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - seeing CMP updates with jdbs select statements within the sa

2005-01-23 Thread ivink
Hi . We are migrating from oracle's oc4j AS to JBoss and we can't find an 
equivalent to oc4j delay-updates-until-commit flag for entity beans.
This flag gave us ability to see changes of CMP bean when we executed plain 
select statements within the same transaction. so for example 
we start transaction find a bean with findByPrimaryKey , change some value, 
then later in the same transaction we do select on DB and the change that was 
applied to CMP above was coming through even though transaction is not over yet 
and changed of CMP bean were not committed at a time. Is there any way in JBoss 
to achieve the same behaviour?
Thank you.

P.S. there is a similar tag in Weblogic called delay-updates-until-end-of-tx

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Got an UnknownHostException

2005-01-23 Thread seymour
After installation, i've tryed to deploy a sample application and got an 
exception:
18:15:58,528 ERROR [MainDeployer] Could not initialise deloyment: 
file:/C:/Java/Projects/sample/app/app.ear
org.jboss.deployment.DeploymentException: www.jboss.org; - nested throwable: - 
- (java.net.UnknownHostException: www.jboss.org)
...

I was offline, of course. I tryed deploy when online and everything went OK. 
What is the reason? How to disable this?

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - MBean and how to add to Classpath

2005-01-23 Thread berlinbrown
I have setup a simple MBean Service, the jar is located in
default/deploy/TestMBean.jar(for example) 

and with 



everything works fine, but I noticed that when I print the Classpath
using 

System.getProperty(java.class.path) that particular TestMBean.jar
doesnt appear in the list.  Can I still add a jar to the classpath so that it 
comes up in the Java properties?

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Basic problem with HTTPS

2005-01-23 Thread pemorob
Hi,

I've got a basic problem with HTTPS. The problem is that I have followed the 
instructions and I can't get an HTTPS connection.

I am working on a Windows XP system and have JBoss 3.2.3 installed.

I have made the following changes to the basic installation.

jboss-tomcat41.sar\META-INF\jboss-service.xml:
I have added the CoyoteConnector(below) to the JBoss-Tomcat service - 
 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=${jboss.server.home.dir}/chap8.keystore
  |   keystorePass=rmi+ssl
  |   protocol = TLS/
  |  /Connector 

If I run Jboss and then try to access 
https://localhost:8443/jmx-console/index.jsp through Firefox I get 
The connection to localhost:8443 has been terminated unexpectedly
If I try through IE I get This page cannot be found

If I turn the logging to DEBUG the only output I get after trying the https 
access is: 
2005-01-24 13:19:08,425 DEBUG default desktop 
[org.apache.tomcat.util.threads.ThreadPool] Getting new thread data


I thought it might be that I had the keystore in the wrong place but I copied 
it into 
D:\jboss-3.2.3\server
D:\jboss-3.2.3\server\default
D:\jboss-3.2.3\server\default\conf
D:\jboss-3.2.3\server\default\deploy
D:\jboss-3.2.3\server\default\deploy\jbossweb-tomcat41.sar
D:\jboss-3.2.3\server\default\deploy\jbossweb-tomcat41.sar\META-INF

That didn't help any.
You will also notice that I have even got to the point of using precisely the 
same name for the keystore and password just in case there was something wrong 
with my naming conventions.


So, does anyone have any idea what I'm doing wrong ?

Thanks
Rob


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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: MBean and how to add to Classpath

2005-01-23 Thread berlinbrown
Anyway, right now, I have to add that particular jar file so that I can use a 
particular resource in it.

System.setProperty(java.class.path,
System.getProperty(java.class.path) + :);


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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JSP JSR77 MBeans and Statistics

2005-01-23 Thread diripu
Hi

   Am also looking for a answer for a JBoss team member...

 But in the Duke's application the web.xml declares its JSP using a 
jsp-property-group (like *.jsp). Each JSP file is not assigned with a servlet 
name.probably thats why no JSPs MBeans are being displayed...

 Want to know the JBoss specification
Means what is the criteria or when a MBean is created for a  JSP/servlet .


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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: how are session Ids allocated

2005-01-23 Thread dragonmage

I know a little more about the problem, after a bit of experimentation.
It has nothing to do with separate frames - same thing occurs when running from 
one frame.
It is not necessarily caused by long ping times:  On a server that consistently 
does  not work, the same application works fine (session id is same for two 
different action classes) when I address the applicaiton using the server ip 
address instead of the DNS address.  
perhaps it is timing related?

D


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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Problem in running Duke's Bank Application

2005-01-23 Thread gunjangupta
I have already posted this in the getting started forum. I did not get any 
reply over there so I am posting it in this forum as well. 

I am able to deploy the Duke bank application. The login screen of the page is 
opening. But when I try to logon the application fails with the following error 
:- 
javax.servlet.jsp.JspTagException: javax.servlet.jsp.el.ELException: An error 
occurred while getting property accounts from an instance of class 
com.sun.ebank.web.CustomerBean 

I am using jboss 4.0.1 with java 1.4.1 on WinXP SP2 

Thanks in advance. 

The lserver logs are :- 



2005-01-22 17:02:47,056 INFO [STDOUT] Debug: CustomerControllerBean ejbCreate 

2005-01-22 17:02:47,066 ERROR [org.jboss.ejb.plugins.LogInterceptor] Unexpected 
Error in method: public abstract com.sun.ebank.ejb.customer.CustomerController 
com.sun.ebank.ejb.customer.CustomerControllerHome.create() throws 
java.rmi.RemoteException,javax.ejb.CreateException 

java.lang.NoClassDefFoundError: $Proxy77 

at sun.reflect.GeneratedSerializationConstructorAccessor72.newInstance(Unknown 
Source) 

at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code)) 

at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:831) 

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1654) 

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) 

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:347) 

at java.rmi.MarshalledObject.get(MarshalledObject.java:146) 

at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:51) 

at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:566) 

at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520) 

at javax.naming.InitialContext.lookup(InitialContext.java:360) 

at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:993) 

at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629) 

at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:658) 

at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520) 

at javax.naming.InitialContext.lookup(InitialContext.java:360) 

at com.sun.ebank.util.EJBGetter.getCustomerHome(EJBGetter.java:66) 

at 
com.sun.ebank.ejb.customer.CustomerControllerBean.ejbCreate(CustomerControllerBean.java:278)
 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) 

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
 Code)) 

at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) 

at 
org.jboss.ejb.StatefulSessionContainer.createSession(StatefulSessionContainer.java:264)
 

at 
org.jboss.ejb.StatefulSessionContainer.createHome(StatefulSessionContainer.java:323)
 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) 

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
 Code)) 

at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) 

at org.jboss.invocation.Invocation.performCall(Invocation.java:345) 

at 
org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invokeHome(StatefulSessionContainer.java:535)
 

at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:101)
 

at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212)
 

at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
 

at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
 

at 
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:153)
 

at org.jboss.ejb.plugins.TxInterceptorBMT.invokeHome(TxInterceptorBMT.java:56) 

at 
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invokeHome(StatefulSessionInstanceInterceptor.java:128)
 

at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) 

at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
 

at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613) 

at org.jboss.ejb.Container.invoke(Container.java:891) 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) 

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
 Code)) 

at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) 

at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
 

at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code)) 

at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) 

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled 

[JBoss-user] [Security JAAS/JBoss] - Crossposting: Disable Automatic Redirection to Last Accessed

2005-01-23 Thread poojac20
Sorry for crossposting but I was not getting any answer and I thought this is a 
better topic under which to post this question. 

I need to find out how I can disable automatic redirection to the last accessed 
resource after session timeout? 

I am using jboss 3.2.3 with embedded Tomcat 4.1. For authentication, I am using 
j_securitycheck along with JAAS DatabaseServerLoginModule. 

If the user clicks on a link when session has timed out on the server, he is 
redirected to the Login Page correctly, but after login he's redirected to the 
url he was trying to access and not the default home page. 

I understand that this must be a feature but I need to disable it. Will 
appreciate any help. 

Thanx 
--- Pooja. 

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Deployer.jar

2005-01-23 Thread westwin
I got the same problem

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Pessimistic locking with notification in EJB

2005-01-23 Thread sjmayocchi
Hello,

We are working on a web application where the desired behaviour is as follows:

1.  User A locks a record and begins editing.
2.  User B attempts to lock the same record and immediately receives 
notification that the record is already locked.
3.  In the case of server crash or other failure User A's lock times out and 
the record then becomes available to all users.

We are using EJB's with CMP.  Our current mechanism for locking involves a 
centralised 'locking manager'.  However this has issues with scalability that 
we need to address.

What I am looking for are some decent alternatives given our desired behaviour.

Thanks in advance!



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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - CMP Deployment fails on 'Standard' EJB-QL

2005-01-23 Thread mrobin21
Hi There.

I am trying to deploy a CMP Bean with a finder method (declared using XDoclet) 
which contains = and = operators.  These operators are part of the standard 
EJB-QL specification (as far as I know) and yet JBOSS fails with:

anonymous wrote : 16:10:30,207 ERROR [EntityContainer] Starting failed 
jboss.j2ee:jndiName=ejb/fcau/datastore/Site,service=EJB
  | org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 
'SELECT OBJECT(a) FROM AccommodationSchema AS a WHERE a.publishedDate = ?1 AND 
a.publishedDate = ?2'; - nested throwable: 
(org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered = at line 1, 
column 70.
  | Was expecting one of:
  |  ...
  |  ...
  | = ...
  |  ...
  | )
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:52)

The ejb-jar.xml file contains:
anonymous wrote :  
  | query-method
  |method-namefindByPublishedDates/method-name
  |method-params
  |   method-paramjava.lang.String/method-param
  |   method-paramjava.lang.String/method-param
  |/method-params
  | /query-method
  | ejb-ql![CDATA[SELECT OBJECT(a) FROM AccommodationSchema AS a 
WHERE a.publishedDate = ?1 AND a.publishedDate = ?2]]/ejb-ql
  |  

Can anyone help here?  I need these operators!

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: seeing CMP updates with jdbs select statements within th

2005-01-23 Thread triathlon98
I think what you need is

sync-on-commit-onlytrue/sync-on-commit-only

which can be specified in the container configuration.

However, that is what I would expect from the tag names, but it has nothing to 
do with your description. CMP should always see the entity beans with their 
current state in the transaction. It will (possibly, definately with the 
configuration above) not be the same as the database view, but should be 
consistent.

When the database state needs to be the same, you should set the above flag to 
false, but your transaction isolation level will probably not let you see the 
changes anyway as they are not committed yet.

Joachim

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Bug in getDeclaringClass in 3.0RC1

2005-01-23 Thread hlovatt
chiba wrote : I have implemented getEnclosingClass().
  | The source is in CVS HEAD.

Thanks - I look forward to the next release

Keep up the good work

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - help:I don't know why my jboss couldnt start any more

2005-01-23 Thread Booney
what's the matter?? i install my jboss-4.0.1RC1 in D:\Program Files\jboss and 
my OS is winxp sp2 .I set the JBOSS_HOME D:\Program Files\jboss ,and java 
version 1.5.0_01
the Exception is :

D:\Program Files\jboss\binrun -c all
===
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: D:\Program Files\jboss\bin\\..
.
  JAVA: D:\Program Files\Java\jdk1.5.0_01\bin\java
.
  JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m
.
  CLASSPATH: D:\Program Files\Java\jdk1.5.0_01\lib\tools.jar;D:\Program Files\jb
oss\bin\\run.jar
.
===
.
Exception in thread main java.lang.NoClassDefFoundError: Files\jboss\bin\\//\l
ib\endorsed

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - What need to setup

2005-01-23 Thread deweirdt
Hi,

I'm a complete newbie in JBOSS so I need a lot of help. 
I want to setup a Middleware messaging server were I receive a email and then 
send this email just straight to a other server (to begin with). 

For that I need to know what I all need to install. I've downloaded JBoss AS 
but then I'm getting stuck. In the docs they want me to install a lot of things 
but I don't figure out what to do.

Can somebody tell me what I all need to install and how to setup this. Perhaps 
somebody has already this sollution.

I'm looking forward for your help

Regards

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - What need to setup/intall

2005-01-23 Thread deweirdt
Hi,

I'm a complete newbie in JBOSS so I need a lot of help. 
I want to setup a Middleware messaging server were I receive a email and then 
send this email just straight to a other server (to begin with). 

For that I need to know what I all need to install. I've downloaded JBoss AS 
but then I'm getting stuck. In the docs they want me to install a lot of things 
but I don't figure out what to do.

Can somebody tell me what I all need to install and how to setup this. Perhaps 
somebody has already this sollution.

I'm looking forward for your help

Regards

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Using JSP standard tag library

2005-01-23 Thread liuchang
Hi, I'm a beginner trying to pick up J2EE, I ran into a problem for this very 
simple JSP page:

%@ page contentType=text/html; charset=UTF-8 %
  | %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
  | 
  | html
  | headtitleTags/title/head
  | body
  | 
  | /body
  | /html
  | 

When I request it through the web server, I get:

type Exception report
  | 
  | message
  | 
  | description The server encountered an internal error () that prevented it 
from fulfilling this request.
  | 
  | exception
  | 
  | org.apache.jasper.JasperException: The absolute uri: 
http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the 
jar files deployed with this application
  | 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
  | 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)
  | 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:118)
  | 
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
  | 
org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java:147)
  | 

The Sun J2EE tutorial says that the Sun J2EE reference implementation server 
has appserv-jstl.jar in its class path and therefore we only need to declare 
the tag library. Seems like it's not the case here. I looked under the jboss 
directory and found no file name containing jstl. Am I missing something here?

Oh, I'm using JBoss 4.0.1 without any configuration.

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user