[JBoss-user] [JBossCache] - Cannot Replicate in seprate JVM

2005-04-21 Thread mlrathod
Hi
 I am using TreeCache Aop (with default replSync-service.xml). I am not able to 
replicate the Aop enabled objects in Cache on seprate JVM. Treecache works fine 
on seprate JVM.

Exact Scenario
1. Put Aop enabled measure Object on JVM A
2. Get same object on JVM B (this does not return null but an object which does 
not contain any fields)
What might be problem I am using Jbosscache 1.01
Any help will be appreciated


?xml version=1.0 encoding=UTF-8?


  

  




public class Measure implements Serializable{

private int id;
private String name;
/**
 * @return Returns the id.
 */
public int getId() {
return id;
}
/**
 * @param id The id to set.
 */
public void setId(int id) {
this.id = id;
}
/**
 * @return Returns the name.
 */
public String getName() {
return name;
}
/**
 * @param name The name to set.
 */
public void setName(String name) {
this.name = name;
}
}


Regard
Mukesh rathod


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: How does

2005-04-21 Thread [EMAIL PROTECTED]
I suggest you 
(a) look at the FileCacheLoaderTest for examples and
(b) update to 1.2.2

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: org.jboss.mq.SpyJMSException: OutOfMemoryError

2005-04-21 Thread regenwetter
I thought it is expensitive too until I measured the time. After getting the 
connection the first time it always takes just 1-2 ms (at maximum 15 ms). It 
seems the ConnectionFactory is caching the connection. In my opinion everything 
should work fine if they wouldn't be that strange error I reported.

I'm not pretty sure what do mean with play around with server disconnect 
problem ? Therefore I would like to ask you what is your advice ?

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Soap/document encoding tweeking

2005-04-21 Thread md5georg
Ok!

Since we have .Net on the client side (attatchments compatibility?) and only 
one week left to acceptance test :) creating my own bulk message seams to be 
the only solution. 

It seams as the soap response includes all attribute values for the sent 
objects instead of sending only changed (from default) values. This cloggs upp 
the message with a lot of default or null values which stands for at least 80% 
of the data... Very sad and very unnecessary spent cpu power.

Thanks for the tips!

Best regards,

Georg

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: error on jboss start: b ad argument for IP_MULTICAST_IF:

2005-04-21 Thread [EMAIL PROTECTED]
I have updated the wiki, thanks: http://www.jboss.org/wiki/Wiki.jsp?page=IPv6

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Exception in thread main java.lang.NoClassDefFoundError:

2005-04-21 Thread rawat_tejinder
hello,
i am writting a client for the j2ee application sa-client.jar which has 
to be tested on the jboss server.
 the structure of the sa-client.jar is:
meta-inf
menifest.mf
application-client.xml
jboss-client.xml
au



my menifest.mf file contains th following:

Manifest-Version: 1.1
Main-Class: au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest

when i am trying to run the jar with command :
  java -jar sa-client.jar

it is throwing the exception as:
Exception in thread main java.lang.NoClassDefFoundError: 

can somebody please see what is going on inside.
  

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Session EJB and Entity

2005-04-21 Thread goebelg
Hi,

I don't know how it exactly works but I made the experience with other J2EE 
Application servers that in order to do load balancing over all the ejb 
containers in the cluster, it is better to have a remote interface because then 
a new entity bean can be created in an other ejb container than the session 
bean which creates the entity bean.
But normally when ther is only a local interface for the entity bean, the 
entity bean must be created in the same ejb container where the session bean is 
executed.
So I don't know about the exception but this could be a reason, but I AM NOT 
SURE

Georges

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Losing my principals.

2005-04-21 Thread svandenbussche
Hi Jon,
Have you tried adding the following
login-module code=org.jboss.security.ClientLoginModule flag=required/
after the UsersRolesLoginModule?

Doing this solved the same problem for me. I'm using a custom login module 
however.

Cheers,
Stephane

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - javax.naming.NoInitialContextException: Cannot instantiate c

2005-04-21 Thread rawat_tejinder
when running my client side program this is another  problem with jboss i am 
facing:

javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]



the details of code and stack trace are as follow:

 Source code start here
package au.com.chimo.nextidserver.wsclienttest;

import javax.naming.Context;
import java.util.Properties;

/**
 * Created by IntelliJ IDEA.
 * User: shaun
 * Date: 21/07/2004
 * Time: 14:27:35
 */
public class EJBBaseTest {

protected Properties properties  = null;
public EJBBaseTest(){
super();
properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, 

org.jnp.interfaces.NamingContextFactory);
properties.put(Context.PROVIDER_URL, jnp://localhost:1099);
}

}

 Source code end here

 Stack error trace(start here)
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
52)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:195)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest.(Unk
nown Source)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest$MyThread.r
un(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac
tory
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
a:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
49)
... 5 more




 there is lot of stack trace of this type 



can somebody look at this please

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - javax.naming.NoInitialContextException: Cannot instantiate c

2005-04-21 Thread rawat_tejinder

while running a client application for my j2ee application on the jboss i am 
getting following type of error:

 Source code start here
package au.com.chimo.nextidserver.wsclienttest;

import javax.naming.Context;
import java.util.Properties;

/**
 * Created by IntelliJ IDEA.
 * User: shaun
 * Date: 21/07/2004
 * Time: 14:27:35
 */
public class EJBBaseTest {

protected Properties properties  = null;
public EJBBaseTest(){
super();
properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, 

org.jnp.interfaces.NamingContextFactory);
properties.put(Context.PROVIDER_URL, jnp://localhost:1099);
}

}

 Source code end here

 Stack error trace(start here)
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
52)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:195)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest.(Unk
nown Source)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest$MyThread.r
un(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac
tory
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
a:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
49)
... 5 more




 there is lot of stack trace of this type 


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - javax.naming.NoInitialContextException: Cannot instantiate c

2005-04-21 Thread rawat_tejinder

while running a client application for my j2ee application on the jboss i am 
getting following type of error:

 Source code start here
package au.com.chimo.nextidserver.wsclienttest;

import javax.naming.Context;
import java.util.Properties;

/**
 * Created by IntelliJ IDEA.
 * User: shaun
 * Date: 21/07/2004
 * Time: 14:27:35
 */
public class EJBBaseTest {

protected Properties properties  = null;
public EJBBaseTest(){
super();
properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, 

org.jnp.interfaces.NamingContextFactory);
properties.put(Context.PROVIDER_URL, jnp://localhost:1099);
}

}

 Source code end here

 Stack error trace(start here)
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
52)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:195)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest.(Unk
nown Source)
at au.com.chimo.nextidserver.wsclienttest.EJBRegisterUserTest$MyThread.r
un(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac
tory
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
a:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
49)
... 5 more




 there is lot of stack trace of this type 


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException: Cannot instantia

2005-04-21 Thread darranl
ClassNotFoundException

Add the jbossall-client.jar from the client folder to the classpath of your 
client.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - ClassCastException when obtaining a Remote Interface from th

2005-04-21 Thread jjmargon
Hi.
First of all, I'm using JBoss 4.0.1 and Eclipse 3.0.1M6 with MyEclipse.
I've deployed a Stateless Session Bean in the server and it's ok. In fact, when 
I see the jmx-console in the JNDI view I can see the values for the EJB 
deployed.
The issue is that when I try to access the EJB through a client (in my case a 
JUnit Test Case class, but also I've tried with a standalone application), 
always I get a ClassCastException.
The method of the client code I'm calling is:

  | public void testClientEJB(){
  |   Properties props = new Properties();
  |   props.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  |   props.put(Context.URL_PKG_PREFIXES, 
org.jboss.naming:org.jnp.interfaces);
  |   props.put(Context.PROVIDER_URL, localhost:3332);
  |   try{
  | InitialContext ctx = new InitialContext(props);
  | assertTrue(ctx!=null);
  | Object ref = ctx.lookup(ejb/HelloWorld);
  | System.out.println(Got a reference to the EJB);
  | HelloWorldHome pruebaHome = (HelloWorldHome)   
PortableRemoteObject.narrow(ref,HelloWorldHome.class);
  | assertTrue(pruebaHome!=null);
  | HelloWorld pruebaServer = (HelloWorld) pruebaHome.create();
  | System.out.println(pruebaServer.execute());
  |   }catch (Exception e){
  | e.printStackTrace();
  |   }
  | }
  | 
And the console output is:

  | Got a reference to the EJB
  | java.lang.ClassCastException
  | at 
client.HelloWorldClientTest.testClientEJB(HelloWorldClientTest.java:29)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at junit.framework.TestCase.runTest(TestCase.java:154)
  | at junit.framework.TestCase.runBare(TestCase.java:127)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:118)
  | at junit.framework.TestSuite.runTest(TestSuite.java:208)
  | at junit.framework.TestSuite.run(TestSuite.java:203)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:474)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:342)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:194)
  | 
Note: The line 29 in testClient is when I try to obtain the Remote Interface 
from the create method of the home interface,i.e.,

  | HelloWorld pruebaServer = (HelloWorld) pruebaHome.create();
  | 

Of course, I have in the classpath client the jbossall-client.jar
I've had the Eclipse EJB Project linked as a Project required on the build path 
(to make the interfaces classes available to the application) and the error was 
there.
I've tried to export a jar with the classes of the EJB and include this jar in 
the classpath of the application and the error continued there.

Someone has experienced this kind of error? 

Thanks a lot

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException when obtaining a Remote Interface fro

2005-04-21 Thread darranl
There should not be a need to cast the object returned from the create method.

The create method of the home interface should have a return type of the remote 
interface already.  If the home interface is a local home the return type 
should be the local interface.

What does your home interface look like?

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: javamail question in jboss

2005-04-21 Thread darranl
Items bound to the 'java:' namespace can not be accessed remotely.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Jboss 3.2.3 deployment problem, ear unpacks but NOT the war

2005-04-21 Thread riralk
I have an ear file which contains a war archive. When I deploy the ear file and 
start the server the ear file is exploded to a directory structure but the war 
archive still remains as a packed file in the ear directory. This means that 
calls to ServletContext.getRealPath() from my web application returns null. 
Which causes errors in my web app.

I tried deploying my ear file in Jboss 4.0.1 and it exploded both the ear as 
well as the war within it to the tmp folder. Hence my web application works 
fine iin 4.0.1. Is there any configuration parameter that I need to set to get 
it to work in JBoss 3.2.3?, so that the war withing the ear is unpacked as well.

Thanks
-Rifki

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Losing my principals.

2005-04-21 Thread JonHurwitz
Yes, Stephane; thanks for the suggestion. I had read that it was a solution for 
custom modules, but I've tried it nonetheless.

Jon

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Scheduler in JBoss 4.0.0

2005-04-21 Thread barunkdas
hi,

can any one please tell me why the scheduler is not there in the default 
server. i mean i am unable to fint the scheduler-service.xml and 
schedule-manager-service.xml inside the deploy folder. previously it was there 
but now its not there..whats going on guys??? .

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException: Cannot instantia

2005-04-21 Thread rawat_tejinder
it is already there in the classpath

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ClassCastException when obtaining a Remote Interface fro

2005-04-21 Thread jjmargon
Hi, again.
The interfaces are remote (I don't run the junit client inside JBoss,but in a 
different virtual machine). 

But, don't worry. It works fine now!!!
The error was mine.
The issue was that the Remote Interface name (HelloWorld) and the bean class 
had the same name, and when the Eclipse shows the different classes to fix the 
import errors, I chose unintentionally the bean class instead the interface 
class.
I've changed the class and it works.

But thanks a lot for your attention and your time.

Bye

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Integration JOTM with JBoss

2005-04-21 Thread mskonda
That would be greatly helpful. Can you please post them to [EMAIL PROTECTED]

Advance thanks
M

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: 60 seconds delay now and then

2005-04-21 Thread hsaha
Can you check whether the servers you are using for the cluster are connected 
to the same switch? There may be some multicasting issues.

We had a similar problem which got solved when we put the servers in the same 
switch. Sounds weird.. but it solved our problem.

Himadri

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Boolean problem with cmp and postgresql ?

2005-04-21 Thread powerware
I use

jboss 4.0
postgresql 7.4

al is working except the access on boolean fields (see error code)

i defined them as boolean and java.lang.Boolean

In the postgres database all tables are correct generated, even the boolan 
fields are generated as type bool

What could be the problem


  | org.jboss.tm.JBossRollbackException: Unable to commit, 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=winxp/16, BranchQual=, 
localId=16] status=STATUS_NO_TRANSACTION; - nested throwable: 
(javax.ejb.EJBException: Internal error setting parameters for field actief; 
CausedByException is:
  | Onbekende Types waarde.)
  | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:457)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:325)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
  | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  | at 
org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:514)
  | at org.jboss.ejb.Container.invoke(Container.java:854)
  | at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413)
  | at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44)
  | at $Proxy155.setGebruikerValue(Unknown Source)
  | at com.vvb.db.DBProcedure.makeAdmin(DBProcedure.java:96)
  | at com.vvb.db.DBProcedure.initDb(DBProcedure.java:344)
  | at 
com.vvb.plugin.applicationPlugin.initAppConfig(applicationPlugin.java:113)
  | at com.vvb.plugin.applicationPlugin.init(applicationPlugin.java:74)
  | at 
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
  | at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
  | at javax.servlet.GenericServlet.init(GenericServlet.java:211)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
  | at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
  | at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5441)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:336)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:83)
  | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:370)
  | at org.jboss.web.WebModule.startModule(WebModule.java:62)
  | at org.jboss.web.WebModule.startService(WebModule.java:40)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
  | at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

[JBoss-user] [Clustering/JBoss] - Re: 60 seconds delay now and then

2005-04-21 Thread [EMAIL PROTECTED]
Some of the hangs were caused by distributed deadlocks in the clustering 
module. Those have been fixed, probably in 3.2.6/3.2.7, definitely in 
4.0.1/4.0.2

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - can't find default data source

2005-04-21 Thread rosonsandy
anybody can tell me why,i almost lost my confidence on jboss .

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: 60 seconds delay now and then

2005-04-21 Thread lepe
yes, i can confirm that. When the customer moved to 3.2.6 the problems went 
away (but others came instead but that is life ;)

/L

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - CVS moved

2005-04-21 Thread [EMAIL PROTECTED]
We have moved our repository from sourceforge to our own hosting.
The change is the CVSROOT which is now :

:ext:[EMAIL PROTECTED]:/cvsroot/jboss for developers
:pserver:[EMAIL PROTECTED]:/cvsroot/jboss for anonymous that want to checkout 
the project


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - ERROR [RpcDispatcher] failed invoking method

2005-04-21 Thread jboss_eval
Hi,
i'm able to get two instances(using the configuration of  all) of 
jboss4.0.1 app server to cluster in the DefaultPartition. i deploy my ear by 
dropping it in the farm  directory, of one server instances, and i'm able to 
see ,that it is deployed across the cluster(i.e on both the server 
instances).i'm also able to access my application which is a simple jsp page 
calling on a stateless session bean. , but when i do so i see the following 
error on my console(though my application is running fine).Please let me know 
if i need to correct something.
ps: this error is only on the console of the instance where i droppped my ear 

Thanks


16:37:19,988 ERROR [RpcDispatcher] failed invoking method
java.lang.UnsupportedOperationException: commit() should not be called on 
TreeCache directly
at org.jboss.cache.TreeCache.commit(TreeCache.java:2783)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236)
at 
org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:37)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40)
at 
org.jboss.cache.interceptors.LockInterceptor.invoke(LockInterceptor.java:126)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40)
at 
org.jboss.cache.interceptors.CreateIfNotExistsInterceptor.invoke(CreateIfNotExistsInterceptor.java:47)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40)
at 
org.jboss.cache.interceptors.ReplicationInterceptor.replicate(ReplicationInterceptor.java:210)
at org.jboss.cache.TreeCache._replicate(TreeCache.java:2733)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236)
at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:220)
at 
org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:615)
at 
org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:512)
at 
org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:326)
at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:722)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(Messa
geDispatcher.java:554)
at 
org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691)
at java.lang.Thread.run(Thread.java:534)
16:37:36,815 INFO  [STDOUT] Can't find resource org.jboss.web.tomcat.session.Loc
alStrings [EMAIL PROTECTED]
16:37:36,815 INFO  [STDOUT] [Ljava.net.URL;@5a25f3

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke's bank application doesn't start

2005-04-21 Thread alphaman26
HaaBut the tutorial says to use j2EE tutorial 1.3. Could this be my 
problem? May be I will try and get back to you.

Praveen.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - external context needs certificate

2005-04-21 Thread dinosaur_jr
I try to add the bea weblogic jndi namespace to jboss namespace as external 
context.  according to the documentation I try this by deploying the following 
extjndi-service.xml within JBoss.

server
  | mbean code=org.jboss.naming.ExternalContext
  |name=jboss.jndi:service=ExternalContext,jndiName=external/Bea
  |   attribute name=JndiNameexternal/Bea/attribute
  |   attribute name=CacheContexttrue/attribute
  |   attribute name=Properties
  | java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
  | java.naming.factory.host=t3://localhost
  | java.naming.factory.port=7001
  | java.naming.security.principal=weblogic
  | java.naming.security.credentials=weblogic
  |   /attribute
  |   attribute name=InitialContextjavax.naming.InitialContext/attribute
  |   attribute name=RemoteAccesstrue/attribute
  | /mbean
  | mbean code=org.jboss.naming.JNDIView 
name=DefaultDomain:service=JNDIView/
  | /server

according to the server.log the deployment seems to be ok:


  | ...
  | 2005-04-21 13:42:11,375 DEBUG [org.jboss.deployment.MainDeployer] End 
deployment start on package: extjndi-service.xml
  | 2005-04-21 13:42:11,375 DEBUG [org.jboss.deployment.MainDeployer] Deployed 
package: file:/C:/jboss-4.0.1/server/default/deploy/jms/extjndi-service.xml
  | 2005-04-21 13:42:11,375 DEBUG 
[org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: 
file:/C:/jboss-4.0.1/server/default/deploy/jms/extjndi-service.xml - 
file:/C:/jboss-4.0.1/server/default/deploy/jms/extjndi-service.xml

but when I try to even start the jmx console on localhost to test the 
construction via JNDIView.list() I get the following error output:

2005-04-21 13:43:23,430 ERROR [org.apache.commons.modeler.Registry] Error 
registering 
jboss.web:name=HttpRequest1,type=RequestProcessor,worker=http-0.0.0.0-8080
  | java.lang.SecurityException: org.apache.commons.modeler.BaseModelMBean is 
not trusted, pd: ProtectionDomain  
(file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp12114commons-modeler.jar no 
certificates)
  |  [EMAIL PROTECTED] 
url=file:/C:/jboss-4.0.1/server/default/deploy/jbossweb-tomcat50.sar/ 
,addedOrder=10}
  |  no principals
  |  [EMAIL PROTECTED] (
  |  (java.net.SocketPermission localhost:1024- listen,resolve)
  |  (java.net.SocketPermission localhost:1024- listen,resolve)
  |  (java.io.FilePermission 
C:\jboss-4.0.1\server\default\tmp\deploy\tmp12114commons-modeler.jar read)
  |  (java.io.FilePermission 
C:\jboss-4.0.1\server\default\deploy\jbossweb-tomcat50.sar read)
  |  (java.lang.RuntimePermission stopThread)
  |  (java.util.PropertyPermission java.version read)
  |  (java.util.PropertyPermission java.vm.name read)
  |  (java.util.PropertyPermission java.vm.vendor read)
  |  (java.util.PropertyPermission os.name read)
  |  (java.util.PropertyPermission java.vendor.url read)
  |  (java.util.PropertyPermission java.vm.specification.vendor read)
  |  (java.util.PropertyPermission os.version read)
  |  (java.util.PropertyPermission java.specification.vendor read)
  |  (java.util.PropertyPermission java.class.version read)
  |  (java.util.PropertyPermission java.specification.name read)
  |  (java.util.PropertyPermission file.separator read)
  |  (java.util.PropertyPermission os.arch read)
  |  (java.util.PropertyPermission java.vm.version read)
  |  (java.util.PropertyPermission java.vendor read)
  |  (java.util.PropertyPermission java.specification.version read)
  |  (java.util.PropertyPermission java.vm.specification.version read)
  |  (java.util.PropertyPermission java.vm.specification.name read)
  |  (java.util.PropertyPermission path.separator read)
  |  (java.util.PropertyPermission line.separator read)
  | )
  | 
  | 
  | at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1373)
  | at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:359)
  | at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.init(Http11Protocol.java:670)
  | at 
org.apache.tomcat.util.net.TcpWorkerThread.getInitData(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:672)
  | at java.lang.Thread.run(Thread.java:534)
  | 

I read the available documentation and checked the forum but couldn't find the 
info to solve that problem. actually I have no idea where to set the principal 
to gain the needed certificates.

any information is warmly welcomed.

thanks in advance,
Chris 


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying 

[JBoss-user] [Installation Configuration] - Re: Web app outside of deploy folder

2005-04-21 Thread rajeshchande
Hello Samokhin,

I think I was able to do it successfully.

you need to edit the jboss-service.xml

I am pasting the snippet of my jboss-service.xml

##
!--  --
   !-- Deployment Scanning  --
   !--  --

   !-- An mbean for hot deployment/undeployment of archives.
   --
   
  depends 
optional-attribute-name=Deployerjboss.system:service=MainDeployer
 org.jboss.deployment.DeploymentSorter
  org.jboss.deployment.scanner.DeploymentFilter
  5000
 
 deploy/,
 file:/D:/ada/
  
  True
   
##

My war file is located at d:\ada\ada.war.. So its outside the deploy directory. 

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.

2005-04-21 Thread [EMAIL PROTECTED]
I think maybe you need to login or create an account.  

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: port-uri migrating to 4.0.1sp1 port-component-uri

2005-04-21 Thread sonic-dre
The Http Authentification works on IE Auth-PopUp and on Firefox via URL input 
and the Auth-PopUp. 

If I try it via 
javax.rpc.ServiceFactory.createService(URL url, QName qname), 
this Exception was thrown on clientside: 

 
  | Caused by: javax.xml.rpc.ServiceException: Modellfehler: Analyse des 
Dokuments bei http://name:[EMAIL PROTECTED]:8080/myContext/myService?wsdl 
fehlgeschlagen: java.io.IOException: Server returned HTTP response code: 401 
for URL: http://name:[EMAIL PROTECTED]:8080/myContext/myService?wsdl 
  | at com.sun.xml.rpc.client.dii.ConfiguredService.(ConfiguredService.java:64) 
  | at com.sun.xml.rpc.client.dii.ConfiguredService.(ConfiguredService.java:48) 
  | at 
com.sun.xml.rpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:41)
 
  |  

by the way there where no non url friendly characters in the URL, but for this 
case I encode the name and the pwd with java.net.URLEncoder 

the Serverlog says nothing. 

if I copy the URL from this Exception and put it in firefox my wsdlfile opened 
and the Serverlog told me stories whats on the ServiceEndpointServletEJB. 

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke's bank application doesn't start

2005-04-21 Thread [EMAIL PROTECTED]
It says that if you are using the Getting Started guide meant for the J2EE 1.3 
tutorial, which is probably targeted at the 3.2 branch.  If you are using JBoss 
4, then use the NEW Getting Started guide which was re-written for the NEW J2EE 
1.4 tutorial.


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Auto primary key generation with CMP and MySQL

2005-04-21 Thread ianfallon
Hi all,

I'm using JBoss 4.0.0 with MySQL 4.0.18 and have a CMP entity bean which uses 
an Integer primary key. This is mapped onto an auto-incrementing bigint field 
in the database. In the Java code I have a create method that does not set the 
id (PK) field (as it is autogenerated) but when I call the create method I get 
the following:

 javax.ejb.CreateException: Primary key for created instance is null

The entry is added to the database OK but the container doesn't seem to 
understand the auto generated PK.

I'm obviously missing something here. Any help appreciated.

Best regards,

Ian

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread [EMAIL PROTECTED]
You didn't describe what the state of the application is, so we can only guess. 
 Some questions:

Does JBoss restart cleanly?  Does the application work after restart?  I don't 
know what you could have done that would cause that, but it is something 
important to check.  

Go service=JNDIView in the JMX Console and invoke the list() operation.  Do you 
see DefaultDS in the java: context?  

If not, go back and redeploy hsqldb-ds.xml.  What does JBoss say on 
redeployment?  Look at server.log if the console log doesn't show enough detail.
 

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread rosonsandy
yes,i do see DefaultDS after i invoked the list() , well , i use ant to run a 
simple example,InitialContext ctx=new InitialContext();
DataSource ds=(DataSource)ctx.lookup(java:/DefaultDS);

but the result is :
javax.naming.NameNotFoundException: DefaultDS not bound


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread darranl
You can not access items bound to the 'java:' namespace from outside JBoss.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Dynamic class loading

2005-04-21 Thread frontline
How can I get jboss to reload changed classes (or restart the application) like 
tomcat does?
So if I have some classes or jar:s under 
deploy/MyApp.ear/MyStuff.war/WEB-INF/classes and lib/ and I change them, the 
changes get noticed and the new classes loaded (and the webapp gets reloaded if 
needed).

Now it just notices changed jsp-files, and ofcourse hotdeploys .ear files in 
the deploy-directory.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Accessing through JMX (MBean vs. EJB)

2005-04-21 Thread adrian.bigland
I don't think there is a general J2EE solution because you can't change the ENC 
once the MDB is deployed - so it has to remain listening to the same queue and 
you can't change the env-entry values.

You could use setters/getters on your EJBs, but you would lose these changes 
whenever you get a newly created EJB, and the container decides when this 
happens, mainly.

However, you could use system properties to hold destination queues for each 
component (and use the systemproperties service to change them) - or create 
your own service to hold this state - then you could look up the destination 
via JMX from your EJB, and this would change whenever you change the property.

Or you could have them all listen to the same queue, but use message filters on 
the MDBs so that EJBs specify who gets their message when they send it - and 
then you could use a similar system to that above to change this dynamically.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread rosonsandy
i studied jboss-EJB-3.0_Preview_5 and just added 
DataSource ds=(DataSource)ctx.lookup(java:/DefaultDS); 
in the client.java ,is it inside or outside jboss?
well, with the code above , it runs quite well

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread rosonsandy
i studied jboss-EJB-3.0_Preview_5 and just added 
DataSource ds=(DataSource)ctx.lookup(java:/DefaultDS); 
in the client.java ,is it inside or outside jboss? 
well, without the code above , it runs quite well 
 


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread darranl
Inside JBoss means that the code is running within the JBoss JVM and the 
InitialContext has not been configured to connect over the network.

Outside JBoss means that the code is running in a different JVM or the 
InitialContext has been configured to connect over the network. 

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Auto primary key generation with CMP and MySQL

2005-04-21 Thread milowe
Make sure your  in jbosscmp-jdbc.xml contains:

  | unknown-pk
  | unknown-pk-classjava.lang.Integer/unknown-pk-class
  | auto-increment/
  | /unknown-pk
  | entity-command name=mysql-get-generated-keys 
class=org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand/

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread rosonsandy
darranl
thanks very much, i solved my problem  .

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Javassist and Java5's enumerations

2005-04-21 Thread gpothier
Hi, I have a problem with enumerations classes and Javassist: I'm getting a 
java.lang.NoClassDefFoundError when the VM tries to load an enumeration. Is 
Javassist supposed to support enumerations?
The enumerations that cause problems are not created by Javassist but already 
exist. There is also something strange: when my project is compiled by the 
Eclipse compiler, there is no problem. The problem appears only when the 
project is compiled by javac.

Regards,
Guillaume

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Not able to create Foreign Key in Cloudscape

2005-04-21 Thread abhijitroy01
Hi,
I am trying to deploy my Employee and Phone EJB which has 1:N relationship. But 
I am getting the following error as the fkey name generated by jboss is longer 
than supported by Cloudscape. Is there a setting in jboss to generate a smaller 
key name?
--
org.jboss.deployment.DeploymentException: Error while adding foreign key 
constraint; - nested throwable: (SQL Exception: The name 
'FK_PHONE_EMPLOYEELOCAL' is too long. The maximum length is '18'.)
-
Caused by: SQL Exception: The name 'FK_PHONE_EMPLOYEELOCAL' is too long. The 
maximum length is '18'.
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java)
at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java)
at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java)
at 
org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java)
at 
org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java)
at 
org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java)
at 
org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(EmbedStatement.java)
at 
org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:272)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.addForeignKeyConstraint(JDBCStartCommand.java:1064)


Thanks,
Roy

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Losing my principals.

2005-04-21 Thread [EMAIL PROTECTED]
I would need to see an example that illustrates the ejb call. It sounds like 
you are making a call from an unsecured web component, or are clearing the 
security context through improper use of some security api. There have been 
issues fixed when one is interacting with some services like the rmi adaptor, 
so you could try 3.2.7 or 4.0.1sp1 so see if that is the issue.


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Auto primary key generation with CMP and MySQL

2005-04-21 Thread ianfallon
Thanks milowe - really appreciate the help - it works find now, you're a star.

Any recommendations of books that might help with the issues that arise between 
MySQL and JBoss ? Books on either subject don't really cover this area where 
the two meet.

btw. when the books refer to jbosscmp-jdbc.xml I've been assuming this is 
actually standardjbosscmp-jdbc.xml in the conf directory, or should I not be 
editing standardjbosscmp-jdbc.xml with this sort of thing ?

Best regards,

Ian



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - EL (expression language - as per JSP 2.0) support

2005-04-21 Thread streagan2

I am using jboss-4.0.0RC2. I have experimented with using EL in my jsp's but it 
simply prints the text and does not seem to understand it. How do I activate EL 
support on jboss?

Regards,

Matthew

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - JBoss queries aren't cached by MySQL

2005-04-21 Thread rafcio
Hi,

we have the problem, that queries generated by JBoss or our code which runns 
under JBoss will be not cached by MySQL. The same query sendet from an external 
application or MySQLFront will be cached by the same MySQL.

Any idea why?


Regards,
Rafal

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - how can see one portlet?

2005-04-21 Thread porrael
i hope understand me...

i have the new version As Sp1 with jbossportal beta1.

i have the portletsample.war from sun..this file have a 
bookmark, notepad, weather and jspportlet...

i put the file in the deployand i run the 
portal...i have two questions:


 1. if I do not have defined these portlets like pages example 
(helloworld-pages.xml) only like portlets.How can see the portlet?  wich is the 
direction i to go to see the portlets???

this is the portlet.xml:


portlet-nameJSPPortlet/portlet-name

portlet-classcom.sun.portal.portlet.samples.jspportlet.JSPPortlet/portlet-class
expiration-cache0/expiration-cache

mime-typetext/html/mime-type
portlet-modeEDIT/portlet-mode
portlet-modeHELP/portlet-mode


mime-typetext/wml/mime-type
portlet-modeEDIT/portlet-mode
portlet-modeHELP/portlet-mode

resource-bundleShowTimePortletRB/resource-bundle 
portlet-info
ShowTime Portlet
jsp, clock, test
/portlet-info
portlet-preferences

contentPage
/jspportlet/content.jsp


editPage
/jspportlet/edit.jsp


helpPage
/jspportlet/help.jsp


timezone


/portlet-preferences


portlet-nameNotepadPortlet/portlet-name

portlet-classcom.sun.portal.portlet.samples.notepad.NotepadPortlet/portlet-class
expiration-cache0/expiration-cache

mime-typetext/html/mime-type
portlet-modeEDIT/portlet-mode
portlet-modeHELP/portlet-mode


mime-typetext/wml/mime-type
portlet-modeEDIT/portlet-mode
portlet-modeHELP/portlet-mode

resource-bundleNotepadPortletRB/resource-bundle 
portlet-info
Notepad Portlet
note, notepad, sample, test
/portlet-info
portlet-preferences

contentPage
/notepad/content.jsp


editPage
/notepad/edit.jsp


helpPage
/notepad/help.jsp


categories


displayMax
5

/portlet-preferences


portlet-nameBookmarkPortlet/portlet-name

portlet-classcom.sun.portal.portlet.samples.bookmarkportlet.BookmarkPortlet/portlet-class
expiration-cache0/expiration-cache

mime-typetext/html/mime-type
portlet-modeEDIT/portlet-mode
portlet-modeHELP/portlet-mode


mime-typetext/wml/mime-type
portlet-modeEDIT/portlet-mode
portlet-modeHELP/portlet-mode

resource-bundleBookmarkPortletRB/resource-bundle 
portlet-info
BookmarkPortlet
/portlet-info
portlet-preferences

bookmarkContentPage
/bookmarkportlet/content.jsp


bookmarkEditPage
/bookmarkportlet/edit.jsp


bookmarkHelpPage
/bookmarkportlet/help.jsp


targets
Sun home page=http://www.sun.com
Oracle home page=http://www.oracle.com
AOL home page=http://www.aol.com


   windowPref
   all_new

/portlet-preferences


portlet-nameWeatherPortlet/portlet-name

portlet-classcom.sun.portal.portlet.samples.weatherportlet.WeatherPortlet/portlet-class
init-param
weather.url
http://services.xmethods.net:80/soap/servlet/rpcrouter
/init-param
expiration-cache3600/expiration-cache

mime-typetext/html/mime-type
portlet-modeEDIT/portlet-mode
portlet-modeHELP/portlet-mode

resource-bundleWeatherPortletRB/resource-bundle 
portlet-info
WeatherPortlet
/portlet-info
portlet-preferences

zip
95054


unit
F


contentPage
/weather/weatherView.jsp


editPage
/weather/weatherEdit.jsp


helpPage
/weather/weatherHelp.jsp



[JBoss-user] [Management, JMX/JBoss] - Re: Port Listener Services on JBoss

2005-04-21 Thread leonardosalvatore
For thread pool i suggest you to try 

 pool = Executors.newCachedThreadPool();
 or
 pool = Executors.newFixedThreadPool(poolSize);


You have to implement class Handler implements Runnable 

and 
serverSocket = new ServerSocket(port);
pool.execute(new Handler(serverSocket.accept()));

For network communication i also suggest you Jgroups 2

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Web app outside of deploy folder

2005-04-21 Thread samokhin
It works fine. Thanks a lot!

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: EL (expression language - as per JSP 2.0) support

2005-04-21 Thread janbols
Could it be that your web.xml is using the 2.3 version of jsp specification 
instead of the 2.4? 

If so, EL support is not enabled by default. Either change the web.xml to 
conform to the version 2.4 schema or add  %@ page isELIgnored=false % at 
the top of the jsp page.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - How to start, stop, or do everything with my deployed EJBs f

2005-04-21 Thread hsbaodang
Hi All,

I have deployed some EJBs on JBoss, now I want to write a Client Form to manage 
my deployed EJBs such as start, stop... like what I see in JMX Console.
Please help me,
Thanks.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - mbean lifecycle

2005-04-21 Thread dabramov
Can someone confirm (or deny - though I prefer confirm) that if I lookup an 
MBean through the MBeanServer it will only be available after the MBean has 
completed its start() method?

Thanks. 
-Dan

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss queries aren't cached by MySQL

2005-04-21 Thread rafcio
rafcio wrote : Hi,
  | 
  | we have the problem, that queries generated by JBoss or our code which 
runns under JBoss will be not cached by MySQL. The same query sendet from an 
external application or MySQLFront will be cached by the same MySQL.
  | 
  | Any idea why?
  | 
  | 
  | Regards,
  | Rafal

The MySQL version is the problem:

In MySQL 4.0, the query cache works only with autocommit enabled. This 
restriction is removed in MySQL 4.1.1 and up.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Strange behavior: slow JDBC queries

2005-04-21 Thread rafcio
[EMAIL PROTECTED] wrote : How did you fix it?

Now I found that:

In MySQL 4.0, the query cache works only with autocommit enabled. This 
restriction is removed in MySQL 4.1.1 and up.

And this is our problem.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: EL (expression language - as per JSP 2.0) support

2005-04-21 Thread streagan2

Thx janbols - yup I was still on 2.3 in my web.xml. Have updated and of course 
it works now.
Cheers

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread [EMAIL PROTECTED]
I can assert that this supposition is completely false. The lifecycle has 
nothing to do with the existence of an mbean since jmx has no 
lifecycle/dependency notion inherently. The lifecycle notion is something we 
add on top of an mbean to create an mbean service construct.

The started state is reflected in jmx by the mbean State attribute and a jmx 
notification.


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread [EMAIL PROTECTED]
that's easy to find out.  In a test MBean start() method, do a wait().  Then in 
some other thread, look it up :-)

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread [EMAIL PROTECTED]
Nope.

The MBean becomes immediately available after registration. You should guard 
inside your mbean code if you don't want to receive calls, e.g. (assuming you 
extend ServiceMBeanSupport, so the baseclass keeps track of state):


  |private void checkStarted()
  |{
  |   int state = this.getState();
  |   
  |   if (state != ServiceMBean.STARTED)
  |   {
  |  throw new IllegalStateException(Cannot perform operations unless 
service is started);
  |   }
  |}
  | 

then at your operations:


  |public void someOperation(...)
  |{
  |   checkStarted();
  |   ...
  |   //do whatever
  |}
  | 

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: How does

2005-04-21 Thread roginsky
Thank you Bela!
I tried running the testEvictionWithCacheLoader2 from the CacheLoaderTestBase 
class, and it indeed works. Then I modified it like this (because this is the 
functionality I'm looking for):
  cache.putObject(/first/second/third, val1);   // stored in cache 
loader
  cache.evict(Fqn.fromString(/first/second/third));  // removes node, 
because there are no children
  assertFalse(cache.exists(/first/second/third));
  assertTrue(cache.exists(/first/second));
  assertTrue(cache.exists(/first));
  String val=(String)cache.getObject(/first/second/third); // should be 
loaded from cache loader
  assertEquals(val1, val);
  assertTrue(cache.exists(/first/second/third));
  assertTrue(cache.exists(/first/second));
  assertTrue(cache.exists(/first));

getObject returns null, so bolded assertEquals fails. Am I not understanding 
how the Aop tree works with objects? I tried adding 
cache.load(/first/second/third) just before cache.getObject(), and it didn't 
help.

Also, when I downloaded 1.2.2 zip file, the jboss-jmx.jar wass missing 
org.jboss.mx.util.JBossNotificationBroadcasterSupport class, so I had to get 
this jar from CVS.


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Dependency on Tomcat Startup

2005-04-21 Thread andybass
I have an mbean that needs to be dependent upon Tomcat starting up and being 
accesable  - i.e. the Coyote connector has started as well.

My mbean contains the the statement:
jboss.web:type=Service,serviceName=jboss.web

but that doesn't seem to work. I'm already using a numeric deployment sequence 
to ensure this is the last mbean deployed, but I still need Tomcat to be 
running.

Any ideas?

Thanks,
Andy


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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Advanced Documentation] - 2 instances clustered using same server

2005-04-21 Thread alessandro.behling
Hi,

I need to set up an environment which needs to attend a live clustered JBoss 
(tha is already running) and live and another one completely different that we 
are going to use as staging, but even for staging, it needs to be clustered 
(customer requirements).

I've copied the 'all' folder into a new one, and changed some properties 
accordingly the 'JBoss Clustering' doc I've got from the docs section here in 
the JBoss web site. The settings I've changed are related with the partition 
name, because I want to get my 'staging' environment in a different partition 
than 'DefaultPartition' defined in the original conf files

So far, I've got only the live one working fine, and it was quite easy to 
setup. My problem started when I tried to configure the second one, I'm getting 
conflicts between the JNDI ports. It says that that port is already being used.

I've done many different tests, but none of them worked, and at the moment I'm 
clueless.

I'd really appreciate any help, if someone has gone through this before.

Thank you
alessandro

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - 2 jboss instances clustered using same server

2005-04-21 Thread alessandro.behling
Hi,

I need to set up an environment which needs to attend a live clustered JBoss 
(tha is already running) and live and another one completely different that we 
are going to use as staging, but even for staging, it needs to be clustered
(customer requirements).

I've copied the 'all' folder into a new one, and changed some properties 
accordingly the 'JBoss Clustering' doc I've got from the docs section here in 
the JBoss web site. The settings I've changed are related with the partition 
name, because I want to get my 'staging' environment in a different partition 
than 'DefaultPartition' defined in the original conf files

So far, I've got only the live one working fine, and it was quite easy to 
setup. My problem started when I tried to configure the second one, I'm getting 
conflicts between the JNDI ports. It says that that port is already being used.

I've done many different tests, but none of them worked, and at the moment I'm 
clueless.

I'd really appreciate any help, if someone has gone through this before.

Thank you
alessandro

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - 2 jboss instances clustered using same server

2005-04-21 Thread alessandro.behling
Hi,

I need to set up an environment which needs to attend a live clustered JBoss 
(tha is already running) and live and another one completely different that we 
are going to use as staging, but even for staging, it needs to be clustered
(customer requirements).

I've copied the 'all' folder into a new one, and changed some properties 
accordingly the 'JBoss Clustering' doc I've got from the docs section here in 
the JBoss web site. The settings I've changed are related with the partition 
name, because I want to get my 'staging' environment in a different partition 
than 'DefaultPartition' defined in the original conf files

So far, I've got only the live one working fine, and it was quite easy to 
setup. My problem started when I tried to configure the second one, I'm getting 
conflicts between the JNDI ports. It says that that port is already being used.

I've done many different tests, but none of them worked, and at the moment I'm 
clueless.

I'd really appreciate any help, if someone has gone through this before.

Thank you
alessandro

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Cannot find jaxrpc-mapping for generated type

2005-04-21 Thread platinumdragon
That worked, thanks.  Not the ideal solution, but I guess we must make 
sacrifices in the name of interoperability :).

Incidentally, for others searching on this, I just had to wrap the Alias[] with 
AliasArray.  I didn't have to use the ws4ee-deployment.xml at all (I am 
fighting to get Java and J2EE accepted here, the less files the C# programmers 
have to deal with, the better).

Thanks,
Mike

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - 2 jboss instances clustered using same server

2005-04-21 Thread alessandro.behling
Hi,

If someone could give a hand on this: 

I need to set up an environment which needs to attend a live clustered JBoss 
(tha is already running) and live and another one completely different that we 
are going to use as staging, but even for staging, it needs to be clustered
(customer requirements).

I've copied the 'all' folder into a new one, and changed some properties 
accordingly the 'JBoss Clustering' doc I've got from the docs section here in 
the JBoss web site. The settings I've changed are related with the partition 
name, because I want to get my 'staging' environment in a different partition 
than 'DefaultPartition' defined in the original conf files

So far, I've got only the live one working fine, and it was quite easy to 
setup. My problem started when I tried to configure the second one, I'm getting 
conflicts between the JNDI ports. It says that that port is already being used.

I've done many different tests, but none of them worked, and at the moment I'm 
clueless.

I'd really appreciate any help, if someone has gone through this before.

Thank you
alessandro

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to specify a manager for an SNMP trap

2005-04-21 Thread [EMAIL PROTECTED]
Currently the managers are de-coupled from the trap mapping, which in general 
is a good thing. To do what you suggest we would have to name the managers, 
then optionally provide a named manager (or worse a list of managers :) along 
with each trap mapping.

That would require some changes in the internal APIs, so issue a JIRA feature 
request and if we get enough votes on it we might consider implementing it (or 
you can volunteer and write it yourself :)

I'd say that if you have a couple of managers, just use a corresponding number 
of snmp-adaptors. The overhead of the adaptor is not big, just a couple of 
threads...

I'm still curious about your use case. Can you provide some more details why 
you have this particular setup?



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - JBoss 4 on RH Linux 7 Locking up in EJB deployer?

2005-04-21 Thread javatopia
JBoss 4.0.1sp1
JDK 1.4.2_08
RH Linux 7.0
SQL SERVER 2000 JDBC driver

We have a project with maybe 30 entity beans and some miscellaneous other 
classes.  The application is configured to run as its own server instance 
(exists in jboss/server/project_name/...), so we start it up as run -c 
project_name.

On windows, using the same JDK and JBoss version, the application deploys just 
fine.  On the RH Linux box, though, JBoss always locks-up in the EJB deployer.

One thing we *did* was to map the DECIMAL type to BigDecimal.  I remember 
seeing someting about that once in the JBoss docs - could that be the culprit??

After turning on -verbose when jboss starts up and enabling TRACE mode for 
the EJB deployer, I see:

 [EjbModule] Deploying last bean in the list
[Loaded $Proxy75]
...
[Loaded org.jboss.ejb.plugins.local.LocalProxy]
[Loaded org.jboss.ejb.plugins.local.LocalHomeProxy]
[Loaded 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory$ClassLoaderAction$UTIL]
[Loaded org.jboss.ejb.plugins.local.BaseLocalProxyFactory$ClassLoaderAction]
[Loaded org.jboss.ejb.plugins.local.BaseLocalProxyFactory$3]
[Loaded org.jboss.ejb.plugins.local.BaseLocalProxyFactory$2]
[ ... ]
[Loaded org.jboss.proxy.ejb.EJBMetaDataImpl]
[Loaded org.jboss.proxy.ejb.handle.HomeHandleImpl]
[Loaded org.jboss.naming.NamingContextFactory]
[Loaded org.jboss.proxy.ejb.GenericEJBInterceptor]
[Loaded org.jboss.proxy.ejb.HomeInterceptor]
[Loaded org.jboss.proxy.ejb.EntityInterceptor]
[Loaded org.jboss.proxy.ejb.ListEntityInterceptor]
[ ... ]
[Loaded org.jboss.proxy.ejb.StatelessSessionInterceptor]
[ ... ]
[Loaded sun.rmi.transport.DGCAckHandler from 
/usr/java/j2sdk1.4.2_08/jre/lib/rt.jar]
[Loaded sun.rmi.transport.DGCAckHandler$1 from 
/usr/java/j2sdk1.4.2_08/jre/lib/rt.jar]
[ ... ]
[Loaded org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader]
[ ... ]
[Loaded org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge$1]
[Loaded org.jboss.resource.connectionmanager.IdleRemover]
[Loaded org.jboss.resource.connectionmanager.IdleRemover$1]
[Loaded com.microsoft.jdbc.base.BaseDriver]
[Loaded com.microsoft.jdbc.sqlserver.SQLServerDriver]
[ ... ]
[Loaded org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand]
[ ... ]
[Loaded org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler]
[Loaded org.jboss.proxy.compiler.Proxy]
[ ... ]
[Loaded org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGenerator]

and the last thing before it intercepts my ^C:

[Loaded sun.security.provider.NativeSeedGenerator from 
/usr/java/j2sdk1.4.2_08/jre/lib/rt.jar]
[Loaded sun.security.provider.SeedGenerator$4 from 
/usr/java/j2sdk1.4.2_08/jre/lib/rt.jar]
[Loaded sun.security.provider.SeedGenerator$2 from 
/usr/java/j2sdk1.4.2_08/jre/lib/rt.jar]

THEN, when it is shutting down, it always locks up in:

09:39:34,339 INFO  [TomcatDeployer] undeploy, ctxPath=/ws4ee, 
warUrl=file:/home/jboss-4.0.1sp1/server/pace/tmp/deploy/tmp36684jboss-ws4ee.war/

Has anyone experienced any problems like this on their linux installations 
using JBoss 4??  THe SQL server driver works just fine, we use it to initialize 
the database on the same machine, and it doesn't lock-up.

Thanks

-- Jake
[EMAIL PROTECTED]






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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss 4 on RH Linux 7 Locking up in EJB deployer?

2005-04-21 Thread [EMAIL PROTECTED]
The only meaningful diag for a 'lockup' is a thread dump so that the state of 
the server can be identified.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Ideas need for a service.

2005-04-21 Thread leonardosalvatore
I suggest you to assign a JMSqueue/topic to a service.
Send message (Byte or Object ...) is very easy and for receiving you can 
implemente a message listener or use a Message Driven Bean

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread dabramov
Thanks for the quick replies. 

In this case, the MBean that I'm looking up is not extending 
ServiceMBeanSupport. Can I get at the state information via another mehtod 
(MBeanServer.getAttribute()) ? 

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - When to use Apache as a Primary Web Server

2005-04-21 Thread romm
Hello All,

I'm interested in using SSL over JBoss.  Should I consider using Apache as the 
primary Web server in front of JBoss/Tomcat to handle SSL encryption?  When is 
it a good idea to use JBoss/Tomcat as a standalone server, or integrated with 
Apache as the primary?

Any insight or direction is much appreciated!

Ryan

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread [EMAIL PROTECTED]
Not unless you provide it.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread dabramov
Fair enough. Thanks.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Ideas need for a service.

2005-04-21 Thread infectedrhythms
lol It's been a while I havent touched this... :P

But my services are synchronous...

Bassically some client computer connects to them sends a request they process 
the request with a 3rd party connecting to them externally, either through 
http, tcp/ip or any protocol required and they finally respond back to the 
client.

This is also realtime, meaning the client is expecting a response right away.

If I rethink it over now... I would implement them as simple servlets with an 
XMLRPC interface or something to that extent. Like this I wouldn't have to 
worry about life cycle management etc... And web apps can be monitored as well, 
servlets can be reloaded etc... So it's all good.

Thanks

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-04-21 Thread cbradbury
OK,
I've have managed to write a generic test case that can be used to prove that a 
CMP entity's attributes are rendered empty by the Commit Option D refresh 
thread even if you do not call the a find() method a second time.

Using a simple servlet (for want of a better way to talk to the EJBs) I first 
connected my servlet directly to a CMP entity bean. The entity bean transaction 
demarcation was set to RequiresNew.
In-between setting the attributes of the entity I suspended the current thread. 
This allowed the thread that controls the Commit Option D that controls the 
cache to perform a flush(). I then tested the values of the attributes that I 
had just set... and they were fine. Not a problem.

Next I introduced a session bean to act as a processor/proxy for the entity 
bean. The transaction demarcations were set to Required for the Entity bean, 
and RequiresNew for the session bean. The processor had a createEntity() method 
that would create a new entity instance and then start setting the values of 
the new entity's attributes. After setting a couple of attributes I again 
suspended the current thread to allow the flushing of the cache to take place. 
When I inspected the values of the attributes I had just set, they were empty!
The session bean had not performed anymore lookups or called anymore finder 
methods, and yet the entity it was working with had been completely reset.

This doesn't appear to be a particularly robust feature of JBoss, but it may be 
that I am choosing the wrong settings somewhere and would appreciate a little 
investigation into this matter.

I have an EAR file available that can be deployed to show this bug in action, 
but who do I submit it to?

Cheers,
Carl.

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - MySql configuration in Jboss

2005-04-21 Thread Newj2ee
Hello!

I'm reading the tutorial guide of Jboss Greating Started, the chapter 8, but 
finally the instructions the server console display this:


  |  
  | ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
  |  state: CONFIGURED
  |  I Depend On:  jboss.mq:service=Invoker
  | 
  |  Depends On Me:
  | 
  | 
  | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
  | 
  | ObjectName: jboss.jca:service=LocalTxCM,name=MySqlDS
  |  
  | state: NOTYETINSTALLED
  | 
  |  I Depend On:
  |  Depends On Me:  jboss.mq:service=PersistenceManager
  | 
  | 
  | 21:51:36,334 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-0.0.0.0-808
  | 0
  | 21:51:36,464 INFO  [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
  | 21:51:36,474 INFO  [JkMain] Jk running ID=0 time=0/70  config=null
  | 21:51:36,484 INFO  [Server] JBoss (MX MicroKernel) [3.2.6 (build: 
CVSTag=JBoss_3
  | _2_6 date=200410140106)] Started in 18s:206ms   
  | 


It's normally The last message indication of NOTYETINSTALLED

Thanks for your replies!! :P



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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - SMTP Authentication

2005-04-21 Thread gquintana
Hello,

Which properties should I put the mail-service.xml to tell JavaMail to use a 
specific login/password to access my SMTP server?

It must be a simple question, but I can not find the solution by myself,
Thanks for your help,
Grald

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Losing my principals.

2005-04-21 Thread JonHurwitz
Ah, yes.  I am making the call from an unsecured element.  I'm using struts, 
and the call is from the action class, through a service level facade, to the 
sesion ejb.  Only the jsps were defined as secured in the web collection.

If I secure everything in the web-collection (using url-pattern /*) the 
principal is recognized in the session ejb and is available to the next page, 
so it looks like that's the cause.

Thanks very much.  I only wish I'd asked here last week before the dent in the 
wall made by my head had become so deep.


Cheers,

Jon

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - i was sent

2005-04-21 Thread porrael
i was sent to the answer that ocurred in the adress

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

in this adress he asked:
Thats the scenario I have. Can you tell me whats wrong with it?

and it is that I have the same error but the question is not answered there, 
because he makes many questions together and perhaps you did not see 
that

the error is the following one.


2005-04-21 12:05:02,128 DEBUG 
[org.jboss.portal.server.deployment.WebAppAdapter] Seen URL 
file:/home/jboss/jboss_portal_2.0-jboss_4.0.1sp1/server/default/deploy/portal-core.sar/portletsamples.war/
 about to deploy
2005-04-21 12:05:02,129 DEBUG 
[org.jboss.portal.server.deployment.SimpleDeploymentReactor] Handle deployement 
file:/home/jboss/jboss_portal_2.0-jboss_4.0.1sp1/server/default/deploy/portal-core.sar/portletsamples.war/
2005-04-21 12:05:02,140 DEBUG 
[org.jboss.portal.portlet.deployment.transform.PortletAppTransformer] Parsing 
portlet.xml/portletsamples
2005-04-21 12:05:02,150 DEBUG 
[org.jboss.portal.portlet.deployment.transform.PortletAppTransformer] Parsing 
jboss-portlet.xml/portletsamples
2005-04-21 12:05:02,155 DEBUG 
[org.jboss.portal.portlet.deployment.transform.PortletAppTransformer] Detected 
explicit app name = SunSamples for application under path /portletsamples
2005-04-21 12:05:02,158 DEBUG 
[org.jboss.portal.portlet.deployment.transform.PortletAppTransformer] Copied 
portlet.tld file
2005-04-21 12:05:02,196 ERROR 
[org.jboss.portal.server.deployment.WebAppAdapter] Starting failed 
portal:service=Deployer,type=Adapter
java.lang.IllegalArgumentException: Too many children
at org.jboss.portal.common.util.XML.getSingleChild(XML.java:186)
at 
org.jboss.portal.portlet.deployment.builder.PortletBuilder.buildPortletMetaData(PortletBuilder.java:229)
at 
org.jboss.portal.portlet.deployment.builder.PortletBuilder.build(PortletBuilder.java:150)
at 
org.jboss.portal.core.deployment.builder.CorePortletBuilder.build(CorePortletBuilder.java:42)
at 
org.jboss.portal.server.deployment.SimpleDeploymentReactor.build(SimpleDeploymentReactor.java:127)
at 
org.jboss.portal.server.deployment.SimpleDeploymentReactor.build(SimpleDeploymentReactor.java:134)
at 
org.jboss.portal.server.deployment.SimpleDeploymentReactor.build(SimpleDeploymentReactor.java:134)
at 
org.jboss.portal.server.deployment.SimpleDeploymentReactor.process(SimpleDeploymentReactor.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy35.process(Unknown Source)
at 
org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:49)
at 
org.jboss.portal.server.deployment.WebAppIntercepter.startService(WebAppIntercepter.java:193)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:173)
at org.jboss.portal.server.util.Service.start(Service.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at 

[JBoss-user] [JBoss Portal] - WebDav problem on Linux

2005-04-21 Thread imcL
Hi,
I'm using jboss 4.0.1SP1 with Linux (Fedora Core 2) and JBoss Portal 2 Beta1 
downloaded from CVS a few days after it goes beta. DB is postgres 7.4. I have 
problem with WebDav. When developing on Windows XP everything works fine (CMS). 
When deployed on Linux I have following problem:

[org.jboss.portal.core.impl.preferences.MappedPreferenceStore] Preference set 
not found for instance.portal.AdminCMSPortlet.AdminCMSPortletInstance
[org.jboss.portal.core.impl.preferences.MappedPreferenceSet] Using for 1/ name 
(0,instance)
[org.jboss.portal.core.impl.preferences.MappedPreferenceSet] Found for 1/ child 
instance
[org.jboss.portal.core.impl.preferences.MappedPreferenceSet] Using for 1/ name 
(1,portal)
[org.jboss.portal.core.impl.preferences.MappedPreferenceSet] Found for 1/ child 
portal
[org.jboss.portal.core.impl.preferences.MappedPreferenceSet] Using for 1/ name 
(2,AdminCMSPortlet)
[org.jboss.portal.core.impl.preferences.MappedPreferenceSet] Found for 1/ child 
AdminCMSPortlet
[org.jboss.portal.core.impl.preferences.MappedPreferenceSet] Using for 1/ name 
(3,AdminCMSPortletInstance)
[org.jboss.portal.core.impl.preferences.MappedPreferenceSet] Found for 1/ child 
AdminCMSPortletInstance
[org.jboss.web.localhost.Engine] StandardContext[/webdav]webdav: Could not 
initialize domain
org.apache.slide.common.DomainInitializationFailedError: Domain initialization 
error : Domain.xml (No such file or directory)
at org.apache.slide.common.Domain.selfInit(Domain.java:783)
at org.apache.slide.common.Domain.accessNamespace(Domain.java:234)
at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:263)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
[...]

and CMS is not working (blank page).
Is there different way of setting WebDav in Portal when using Linux?



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - build on jboss-forums-2.0-beta1a

2005-04-21 Thread sviluppatorefico
hii've downloaded the sources of the last version of jboss forums but when 
I try to compile under solaris with the command $FORUMS_HOME/forums/build.shI 
have this error :

./build.sh: ./../tools: non esiste
build.sh: *ERROR* The target executable does not exist:
build.sh:
build.sh:/bin/build.sh
build.sh:
build.sh: Please make sure you have checked out the 'tools' module
build.sh: and make sure it is up to date.


I thought that the tools home is the tools directory of JBossPortal (I have 
JBossPortal2.0beta) but if I do:

export TOOLS_ROOT=$JBOSS_PORTAL_HOME/tools

and then i rexecute the command build.sh i have this other error:



bash-2.05$ ./build.sh
build.sh: *WARNING* Ignoring environment value for $ANT_HOME
build.sh: Executing: 
/home/stancapi/sources/jboss-portal-2.0-beta1-src/tools/bin/ant -logger 
org.apache.tools.ant.NoBannerLogger 
Buildfile: build.xml
/home/stancapi/sources/jboss-forums-2.0-beta1a-src/forums/../tools/etc/buildfragments/buildmagic.ent
 could not be found

BUILD FAILED
java.io.FileNotFoundException: 
/home/stancapi/sources/jboss-forums-2.0-beta1a-src/forums/../tools/etc/buildfragments/buildmagic.ent
 (File o directory non trovati)

Total time: 3 seconds



what does it means?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux

2005-04-21 Thread [EMAIL PROTECTED]
the CMS service should start before that the servlet of the CMS webdav access.

could you go in the JMX console  and tell the status of the service 
porta:service=CMS, i.e the value of the StateString attribute.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: build on jboss-forums-2.0-beta1a

2005-04-21 Thread [EMAIL PROTECTED]
try to get the build from the CVS 

cvs -d :pserver:[EMAIL PROTECTED] login
cvs -d :pserver:[EMAIL PROTECTED] co -P jboss-portal-2.0

and see if it can build or not

thanks

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss 4 on RH Linux 7 Locking up in EJB deployer?

2005-04-21 Thread javatopia
Tell me how to get a thread dump from JBoss when it's locked up, and I'll post 
it.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss 4 on RH Linux 7 Locking up in EJB deployer?

2005-04-21 Thread javatopia
http://www.codecomments.com/archive253-2004-7-197824.html

Hmmm, maybe this is an issue with the use of /dev/random in the JDK on RH Linux 
???

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Eclipse can't find generated class

2005-04-21 Thread peterkronenberg
I'm doing my development in Eclipse.  I'm creating class files with Javassist 
directly to my bin directory.  But since Eclipse can't find it, it doesn't 
compile.  How can I fool Eclipse that that it knows about these class files 
even though there is no source?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss 4 on RH Linux 7 Locking up in EJB deployer?

2005-04-21 Thread javatopia
That's it! changing:

The problem seemed to be that the security provider used /dev/random as an
entropy generator, and it somehow wasn't working. By editing the
$JAVA_HOME/jre/lib/security/java.security file and changing the property:

securerandom.source=file:/dev/random

to:

securerandom.source=file:/dev/urandom

did the trick!  now my crypto unit test finishes AND jboss starts up.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux

2005-04-21 Thread Maciej_Leszczynski
StateString is Registered

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: jboss and MySql

2005-04-21 Thread jonghun95
I did what the document said. But jboss does not find MySql DB. Can you 
recommend some places I should check?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - getConnection from pool

2005-04-21 Thread omrikessel
Hi,
I ran a profiler on a test ejb that in a loop call Datasource.getConnection 
after each getConnection I closed it.

for 100 getConnections the garbage collector threw 13,000 allocated in 
WrappedDataSource.getConnection (I don't have more stack information :-( )
for 1000 getConnections the garbage collector threw 450,000 allocated in 
WrappedDataSource.getConnection 

the database is MySQL and configured with pool size of min=max=100

all the getConnections are in the same transaction and JBoss succeeded to 
understand this fact and return a previously acquired ConnectionListener yet 
the amount of memory consumption is huge and its escalating

The JBoss version is 4.0.1 with Java 5
The machine used was a P4 3.4Ghz with 1G DDR2 533

It seems that for a pooled connection . the memory consumption during the 
process of getting the connection is way to high

I am in the process of trying to figure out what is the cause such a behavior 
if someone already understand what can lead to this consumption please let me 
know and save me the time.
If I will figure out what cause it I'll post my finding here

Thanks
Omri

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Eclipse can't find generated class

2005-04-21 Thread bammi
This question is probably more appropriate on an eclipse forum:

In your eclipse project - properties - Java Build Path dialog, press Add 
Class Folder button and add the folder  containing your .class  file,  to the 
Java Build Path, and eclipse will find it. To make it look again, select your 
project and hit F5 (or right click on the project and choose refresh)

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux

2005-04-21 Thread [EMAIL PROTECTED]
something prevents the service to start on your installation perhaps it is the 
database ?

could you tell me the status of the mbean :

jboss.jca:service=DataSourceBinding,name=PortalDS

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - please answer

2005-04-21 Thread porrael
please answer me

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: jboss and MySql

2005-04-21 Thread jonghun95
The following is the error message when I start server.

15:08:44,678 ERROR [DatabasePersistencePolicy] Starting failed jboss.ejb:service
=EJBTimerService,persistencePolicy=database
java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:da
tasource=MySqlDS,service=metadata
at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.init(Ge
neralPurposeDatabasePersistencePlugin.java:81)
at org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(Database
PersistencePolicy.java:93)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:272)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - not using deployed .class files

2005-04-21 Thread wendy.sue
All,

I am using struts so, I deploy a .jar and .war file.  the .war file has all 
my .class files in it.  when I view my app throught the browser the .jsp 
classes look fine but the .class actions are old.  Any ideas where I should 
start looking

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >