[JBoss-user] [Security & JAAS/JBoss] - Startup login problem

2005-03-11 Thread kbogert
Hello all,

I am trying to use a ServletContextListener to start an ejb timed object when I 
deploy the application.  The timed object will run nightly maintenance within 
the application, and needs to be initialized only once.  When the listener 
starts, I get a Password Incorrect exception.  However, if I create a simple 
POJO and execute the listener from it, it works fine.

Here is the relevant code:


  | public void contextInitialized(ServletContextEvent arg0) {
  | 
  | try {
  | 
  | System.setProperty("java.security.auth.login.config", 
"/home/kbogert/jboss-4.0.1/client/auth.conf");
  | UsernamePasswordHandler handler = new 
UsernamePasswordHandler("administrator", "test".toCharArray());
  | LoginContext lc = new LoginContext("secure", handler);
  | lc.login();
  | 
  | Maintenance myMaint = 
MaintenanceUtil.getHome().create();
  | myMaint.initializeTimer(IConstants.MAINTENANCE_TIME);
  | } catch (RemoteException e) {
  | e.printStackTrace();
  | } catch (CreateException e) {
  | e.printStackTrace();
  | } catch (NamingException e) {
  | e.printStackTrace();
  | } catch (LoginException e) {
  | e.printStackTrace();
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | 

Here is the stack trace:

anonymous wrote : 
  | 
  | 00:29:13,965 INFO  [STDOUT] java.rmi.AccessException: SecurityException; 
nested exception is:
  | javax.security.auth.login.FailedLoginException: Password 
Incorrect/Password Required
  | 00:29:13,966 INFO  [STDOUT] at 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:370)
  | 00:29:13,966 INFO  [STDOUT] at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:125)
  | 00:29:13,966 INFO  [STDOUT] at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
  | 00:29:13,967 INFO  [STDOUT] at 
org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613)
  | 00:29:13,967 INFO  [STDOUT] at 
org.jboss.ejb.Container.invoke(Container.java:891)
  | 00:29:13,967 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 00:29:13,967 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 00:29:13,967 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 00:29:13,967 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 00:29:13,967 INFO  [STDOUT] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
  | 00:29:13,967 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | 00:29:13,968 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | 00:29:13,968 INFO  [STDOUT] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | 00:29:13,968 INFO  [STDOUT] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | 00:29:13,968 INFO  [STDOUT] at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
  | 00:29:13,968 INFO  [STDOUT] at 
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
  | 00:29:13,968 INFO  [STDOUT] at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:115)
  | 00:29:13,968 INFO  [STDOUT] at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:101)
  | 00:29:13,969 INFO  [STDOUT] at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
  | 00:29:13,969 INFO  [STDOUT] at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  | 00:29:13,969 INFO  [STDOUT] at 
org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
  | 00:29:13,969 INFO  [STDOUT] at 
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91)
  | 00:29:13,969 INFO  [STDOUT] at $Proxy202.create(Unknown Source)
  | 00:29:13,969 INFO  [STDOUT] at 
com.rad300.web.InitListener.contextInitialized(InitListener.java:66)
  | 00:29:13,969 INFO  [STDOUT] at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
  | 00:29:13,969 INFO  [STDOUT] at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
  | 00:29:13,969 INFO  [STDOUT] at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
  | 00:29:13,970 INFO  [STDOUT] at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
  | 00:29:13,970 INFO  [STDOUT] at 
org.apache.catalina.co

[JBoss-user] [EJB/JBoss] - Re: Stateless Session Bean versus static method calls

2005-03-11 Thread flindet
Okay, I did manage to find one thread discussing a similar topic.  The original 
poster basically had the same question.  There's good conversation here 
explaining that the singleton or static class approach IS a good idea.

http://forum.java.sun.com/thread.jspa?threadID=555658&tstart=255

However, I'm still confused on when it's a good idea to use a Stateless Session 
Bean.  When is it better to use a Stateless Session Bean versus a static class?

Thanks for clarification.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869864#3869864

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869864


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: JBOSS 4.0.1sp1 clustering on gentoo 2004.3

2005-03-11 Thread [EMAIL PROTECTED]
My suggestion is to make sure JGroups work first. You can go to www.jgroups.org 
to check out the troubleshooting section.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869862#3869862

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869862


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering for POJOs

2005-03-11 Thread [EMAIL PROTECTED]
Sounds like to me JBossCache is what you need (coupled with a SLSB for load 
balancing, e.g.). :-)

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869860#3869860

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869860


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Stateless Session Bean versus static method calls

2005-03-11 Thread flindet
Hi, 

I have managed to get myself confused over when to use Stateless Session Beans 
versus just making calls to static methods.  I know there's lots of 
documentation about when to use Session Beans, but I haven't found anything 
discussing this particular comparison.  I'm hoping someone can help me get my 
head around this because I'm pretty new to J2EE.  Thanks.

I am working on a middleware system that basically routes messages between 
several applications state-wide, and indirectly nation-wide.  I wanted to write 
two classes.  One  uses Hibernate to store each message in the database as it 
passes through the middleware.  Then when all the responses for a request come 
in, this class will pass the message bundle to my second class, a router.  The 
router class is meant to do some minor security and then send the message 
bundle off to the proper destination.  I had originally thought these two 
classes would just be Stateless Session Beans that would be invoked from an MDB 
when a new message reaches my JMS Queue.

However, our consultant thought it would be a far better idea to use a class 
with static methods instead of Stateless Session Beans.  Because these classes 
do not have state information, the static approach should work, he said.  The 
static approach would supposedly use less memory because there are no beans 
(other than the MDBs) being pooled, and only one instance would be in memory.  
He claims there will be no concurrency issues because an MDB can still call a 
static method without worry of when the other MDBs call the static method.  
Again, the methods are stateless, and supposedly no MDB would block waiting for 
another MDB to finish (just like how anyone can call System.out.println() 
without worry that some other class called it at the same time).

All of that sounds fairly reasonable, but now I've got myself confused.  With 
this in mind, why does anyone ever use Stateless Session Beans?  I hope that 
doesn't sound accusatory.  I'm certain that Sun know what they're doing!  ;-)  
I'm just confused.  The one benefit is JNDI look-ups, obviously, but if the 
beans are going to be on the same box is there any reason to use the Stateless 
Session Beans?

Please help!  I've gotten myself confused and I'm sure I'm just having a brain 
freeze here.  Anyone who can set me straight would be GREATLY appreciated, so 
that I understand when I should use a Stateless Session Bean, and what the 
trade-offs are for these two approaches.

If I need to better explain anything, just let me know.  I have commercial 
support too, but I hate to bother JBoss with something that is probably so 
obvious to those of you with more experienced.  Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869859#3869859

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869859


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - ValueObject, Serializable, EnitiryBean

2005-03-11 Thread dtn70437
Hi,

im using the auto-increment  function in an entity bean for the primary key.
On https://www.coredevelopers.net/library/jboss/cmp/keys.jsp i was told to use 
java.lang.object as the class for the PK. Here is my xdoclet code:

  | /**
  |  * @ejb.bean name="Kunde" display-name="Name for KundeBean"
  |  *   description="Description for KundeBean" jndi-name="ejb/Kunde"
  |  *   type="CMP" cmp-version="2.x" view-type="local"
  |  * 
  |  * @ejb.value-object match = "*" name = "Kunde" 
  |  * 
  |  * @ejb.util generate = "false"
  |  * 
  |  * @jboss.persistence table-name = "KUNDE" read-only = "false"   
create-table = 
  |  *"false" remove-table = "false" 
  |  * 
  |  * @jboss.entity-command name="postgresql-fetch-seq"
  |  *   
class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCPostgreSQLCreateCommand"
  |  * 
  |  * @jboss.unknown-pk auto-increment = "true" column-name = "KUNDE_ID" 
jdbc-type =
  |  *   "INTEGER" sql-type = "INTEGER" class = 
"java.lang.Integer" 
  |  *
  |  * @ejb.pk class = "java.lang.Object" generate = "false"
  |  *  
  |  * 
  |  */

i want to transfer the PK out of the container - because the
class java.lang.object (my PK) is not serializable, i got
always Exceptions.

Question: How can i get my PK outside the container and still using 
auto-increment for the PK ??

Hope, someody can help me - i scanned the newsgroups but i
found no answer for this.

Thanks for helping

Danny



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869856#3869856

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869856


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Data transfer between streams in a cluster.

2005-03-11 Thread abitha
Hi all. I am still in the beginning stages of my investigation, and would 
really like your input...

We have a servlet that reads from an input stream and writes to a output 
stream. The data comes in byte by byte, and the servlet transfers the data.

Now the issue is - in a cluster, what if the input request and output requests 
are on two different machines? ie, the input byte comes in on one instance, but 
the output request has connected to another instance. Now it becomes necessary 
to transfer data (byte by byte) between two instances/machines.

I could make this a singleton service so that all the streaming requests go to 
the same machine. However, since this is a big part of what we do, having just 
one machine to do it sort-of defeats the purpose of having a cluster.

Any other ideas? Hope my question is clear - if not, just ask and I will 
provide more info.

Thanks, Abby.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869852#3869852

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869852


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Error launching a command line Client

2005-03-11 Thread Newj2ee
I developed a simple EJB, and I can execute a client from eclipse, tryin "run 
as aplication" but when I try to run it from a command line client I have this 
error:


Exception in thread "main" java.lang.NoClassDefFoundError: cliente (wrong name:
calculadora/ejb/Cliente)
at java.lang.ClassLoader.defineClass1(Native Method) at 
java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

I attach libraris on eclipse's project, I don't know what can I do to attach it 
 when I run the client from command line. 

Thank you!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869851#3869851

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869851


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering for POJOs

2005-03-11 Thread abitha
To give some more info, I have this cache class which contains a hashmap that 
the client can talk to and pickup whatever is assigned to it (based on the key 
value). What I would really like to do is to share this cache among the entire 
cluster, such that no matter which app server instance the request lands on, it 
will be able to have the right and latest information about the cache.

Two considerations are:
1. We dont want to change the logic inside the class.
2. It is okay to change the form of the class (ie, convert to EJB).

Any ideas are appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869849#3869849

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869849


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering for POJOs

2005-03-11 Thread abitha
I have some state - but it is not necessarily related to the session. Basically 
there is a hashmap that contains lot of information about different clients, 
but any client can have access to it.

So, can I make this into a stateless session bean? If so, will I lose my 
hashmap contents during a fail-over? 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869848#3869848

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869848


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null

2005-03-11 Thread milkygto
what would be the best practice for using JAAS model in web application?

If I don't want to use j_security_check in the jsp form for user to log in, and 
I wouldn't want to save the username and password in session to do the 
authentication everytime, can anyone point me to the right direction?



  | public void MasterServlet extends HttpServlet{
  | 
  |   public abstract void onService(HttpServletRequest request, 
HttpServletResponse response);
  | 
  |   public void service(HttpServletRequest request, HttpServletResponse 
response){
  | 
  |doSecurityCheck();  // this is where I do authentication
  |onService();
  |  }
  | 
  | }
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869844#3869844

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869844


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: There is no database failover capability in JMS Persiste

2005-03-11 Thread [EMAIL PROTECTED]
This properly belongs in the jdbc driver/database layer.

There is a feature request to add a simple version of this feature to JBoss's
jdbc rar.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869842#3869842

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869842


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS HASinglton Failover configuration

2005-03-11 Thread [EMAIL PROTECTED]
Use a HAJNDI config that better matches your setup
rather than using ports, use udp discovery, e.g.


  | 
  |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |java.naming.factory.url.pkgs=org.jnp.interfaces
  |jnp.partitionName=DefaultPartition
  | 
  | 

The docs have lots of parameters on initial context config.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869841#3869841

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869841


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS disconnects when w32time service runs

2005-03-11 Thread [EMAIL PROTECTED]
Windows is stupid. It bases the socket timeouts on the system clock
rather than cpu ticks or something more reliable.
If your clock jumps forwards it thinks it timed out.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869840#3869840

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869840


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Authentication and JAAS

2005-03-11 Thread [EMAIL PROTECTED]
Client JMS does not use JAAS.
It is a TODO in the spec for a future version.

The JMS Resource Adapter deployed within JBoss will use JAAS
because it is wrapped with a JCA connection manager that understands it.

The only portable solution is to write your own JMS wrapper that understands 
JAAS
and redirects createXXXConnection() to createXXXConnection(jaasUser, 
jaasCredential)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869838#3869838

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869838


---
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=6595&alloc_id=14396&op=click
___
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.il.oil.OILServerILService] Connection failu

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: FAQ

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869839#3869839

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869839


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Is JBoss JAAS LDAP suitable for a large enterprise ?

2005-03-11 Thread [EMAIL PROTECTED]
The current LdapLoginModule has a simple schema that in general does not map to 
enterprise schemas. There is a jira task to generalize it to be more flexible:

http://jira.jboss.com/jira/browse/JBAS-1525

If you have patches that achieve this add them to that task.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869837#3869837

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869837


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Beginner needs help with clusters

2005-03-11 Thread nickman
Julien;

Your jboss.xml should have an entry that looks something like this:


Clustered Stateless SessionBean

The Clustered Stateless SessionBean is one of the container configurations in 
the conf/standardjboss.xml.

Also, are you sure you are running the all server configuration ?

//Nicholas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869836#3869836

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869836


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS authentication using a MySQL database ?

2005-03-11 Thread [EMAIL PROTECTED]
See the jndi section in the admin/devel guide. You need to use the 
jboss-web.xml/jboss.xml descriptors to map the j2ee deployment descriptor 
reference to a jndi name.

http://www.jboss.org/docs/index

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869835#3869835

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869835


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Connection not authorized to addMessages to destination:

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: READ THIS FIRST

And you might be interested in TRACEing org.jboss.security?

Showing the output from those two queries would also be a good idea,
so we can see it rather than trusting your assertions.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869834#3869834

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869834


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: help w/ user/passwd login

2005-03-11 Thread [EMAIL PROTECTED]
Try going through the JAAS howto examples first. See the first posting in this 
forum.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869833#3869833

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869833


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Duplicate messages

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: Test it with an up-to-date version before reporting bugs.

My guess is this is OIL, which we don't even use anymore.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869832#3869832

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869832


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: 3.2->4.0 : user creation by StateManager service not pos

2005-03-11 Thread [EMAIL PROTECTED]
There is an open task to implement this feature for the jdbc state manager:
http://jira.jboss.com/jira/browse/JBAS-1346

The old file sm is still available, lookin docs/examples/jms

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869831#3869831

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869831


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jms over https: trustAnchors parameter must be non-empty

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: Questions about SSL config belong in the security forum.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869830#3869830

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869830


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: pyJMSException: Cannot authenticate user (nested throwab

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: FAQ

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869829#3869829

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869829


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Null Persitence manager with a Delegate

2005-03-11 Thread [EMAIL PROTECTED]
The example is wrong.
It should be DelegatePM not DelegateName.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869828#3869828

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869828


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Sending message with delay

2005-03-11 Thread [EMAIL PROTECTED]
Moderated FAQ: scheduled delivery property

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869827#3869827

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869827


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Basic Clustering/Load Balancing Question

2005-03-11 Thread [EMAIL PROTECTED]
Most likely it some OS configuration related to keep-alive config of tcp/ip 
sockets?
Your 20 minutes is some kind of network (notwork :-) timeout

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869826#3869826

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869826


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 4.0 JMS Cluster Support

2005-03-11 Thread [EMAIL PROTECTED]
For completeness, since nobody answered the load balancing policy question:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQReceiverImpl

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869825#3869825

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869825


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-03-11 Thread [EMAIL PROTECTED]

  | DELETE FROM JMS_MESSAGES WHERE TXID=1410 AND TXOP='D
  | which needs more than a minute to complete ! 
  | 

So the query is not supported by a db index? Talk to your DBA.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869823#3869823

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869823


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Not able to receive JMS Messages.

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: Newbies should try the examples in the getting started guide.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869822#3869822

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869822


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Durable Subscription authentication error

2005-03-11 Thread [EMAIL PROTECTED]
No, you modify the security config on the topic such that is allows one of the 
roles
assigned to the user.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869821#3869821

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869821


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Remote ConnectionFactory/Queue reconnection

2005-03-11 Thread [EMAIL PROTECTED]
JBoss's JMS Resource Adapter already implements the ExecptionListener
for you.

But it does not work in some versions, because some developers
didn't understand how it interacts with the pool and broke the code.
There is now a comment in the code, to stop people breaking it:


  |  // If we are destroying, check the connection is not in the pool
  |  if (kill)
  |  {
  | // Adrian Brock: A resource adapter can asynchronously notify 
us that
  | // a connection error occurred.
  | // This could happen while the connection is not checked out.
  | // e.g. JMS can do this via an ExceptionListener on the 
connection.
  | // I have twice had to reinstate this line of code, PLEASE DO 
NOT REMOVE IT!
  | cls.remove(cl);
  |  }
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869820#3869820

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869820


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: xml file for configuring connection pool

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: Read the documentation (including the getting started guide)
before posting frivilous questions.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869818#3869818

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869818


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Can a text file be used as a resource?

2005-03-11 Thread jma24
Well, thanks anyway. If I include the text files in the jar, that makes them 
available at the context level. So I can access them with a URL.

Still curious about whether the only thing you can define as a resource is some 
sort of data source...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869817#3869817

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869817


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: what does idle-timeout-minutes mean?

2005-03-11 Thread [EMAIL PROTECTED]
If the application does not close the connection and jboss has not been told
to keep track of unclosed connections (i.e. jboss closes it for the application 
when it is buggy),  the connection is treated as still in use.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869816#3869816

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869816


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: IMS Connection Factory

2005-03-11 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
  | ObjectName: jboss.jca:name=imsico.rar,service=RARDeployment
  |  state: NOTYETINSTALLED
  | 

The rar is not deployed

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869815#3869815

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869815


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] How unsubscribe ..

2005-03-11 Thread Girish Patil
<>

[JBoss-user] [JCA/JBoss] - Re: JDBC + CMP working different in HSQLDB and Oracle8 in JB

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: CMP question -> CMP forum.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869814#3869814

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869814


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: NestedSQLException: Apparently wrong driver class specif

2005-03-11 Thread [EMAIL PROTECTED]
It means the driver-class/url are incompatible.

I've also seen this problem when there is an internal problem within the driver,
e.g. classes missing or other bizarre internal error.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869813#3869813

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869813


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: RMI + SSL

2005-03-11 Thread [EMAIL PROTECTED]
Check the admin guide:
http://www.jboss.org/docs/index


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869812#3869812

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869812


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Preventing Execution of Malicious Java Code inside the c

2005-03-11 Thread [EMAIL PROTECTED]
You can only enforce that which can be validated using a security manager and 
permission check. Java does not have sufficient notion of thread resources or 
permission checks that would allow you to stop a thread that exceeds some cpu 
usage or memory usage threshold.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869811#3869811

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869811


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - JBOSS 4.0.1sp1 clustering on gentoo 2004.3

2005-03-11 Thread FunkyHippy
I am attempting to install and configure some gentoo server for running jboss 
(the reason i went with gentoo is that we need only jboss and some remote 
access ssh,webmin,etc) i run into a problem.  Jboss starts ok (starting "all" 
configuration as I want to cluster them) but I get an error with GMS.  I am 
running on AMD64 with 64 bit version of latest jdk from sun (1.5.0_1).  I'm 
sorry I can't give anymore detailed only the servers are work and I am home now 
(I need to try and sort it first thing monday morning!). Anyone got any ideas 
or pointers as I need to figure this out fairly soon.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869810#3869810

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869810


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Is EJB read-only methods participating in transaction ?

2005-03-11 Thread [EMAIL PROTECTED]
Moderated: Ignored, CMP questions belong in the CMP forum not the JCA forum.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869809#3869809

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869809


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JCA : JNDI in the work

2005-03-11 Thread [EMAIL PROTECTED]
Yes, but only global jndi, not java:comp

For an MDB, you can get the MDB's java:comp environment by invoking
MessageEndpoint.beforeDelivery()

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869808#3869808

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869808


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - InstantiationException creating CMP entity bean from session

2005-03-11 Thread mburbidg
I've built a very simple CMP entity bean called StatisticsBean. It has two 
fields name and value. They are both of type java.lang.String and the name 
field is the primary key. I'm using xdoclet to generate the related files from 
the bean. The bean deploys without warnings or errors. From my session bean I 
execute the following:

StatisticLocalHome statHome = StatisticBeanUtil.getLocalHome();
  | StatisticLocal stat = statHome.create("foo-cnt", "0");

When I do, I get the following exception and stack trace:

anonymous wrote : 10:32:58,576 ERROR [LogInterceptor] 
TransactionRolledbackLocalException in method: public abstract 
sample.StatisticLocal sample.StatisticLocalHome.create(java.l
  | ang.String,java.lang.String) throws javax.ejb.CreateException, causedBy:
  | java.lang.InstantiationException
  | at 
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
  | at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
  | at java.lang.Class.newInstance0(Class.java:308)
  | at java.lang.Class.newInstance(Class.java:261)
  | at 
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.createBeanClassInstance(JAWSPersistenceManager.java:165)
  | at 
org.jboss.ejb.plugins.CMPPersistenceManager.createBeanClassInstance(CMPPersistenceManager.java:114)
  | at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createBeanClassInstance(CachedConnectionInterceptor.java:250)
  | at 
org.jboss.ejb.EntityContainer.createBeanClassInstance(EntityContainer.java:221)
  | at 
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:168)
  | at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:78)
  | ...

I cannot see what I'm doing wrong. I'm sure it's something very small.

Here's my bean:

package sample;
  | 
  | import javax.ejb.EntityBean;
  | import javax.ejb.EntityContext;
  | import javax.ejb.RemoveException;
  | import javax.ejb.CreateException;
  | import javax.ejb.FinderException;
  | import java.lang.String;
  | 
  | /**
  |  * 
  |  * @ejb.bean
  |  *  name="StatisticBean"
  |  *  jndi-name="ejb/StatisticBeanRemote"
  |  *  local-jndi-name="ejb/StatisticBeanLocal"
  |  *  cmp-version="2.x"
  |  *  primkey-field="name"
  |  *  schema="StatSchema"  
  |  *
  |  * @ejb.interface
  |  *  remote-class="sample.Statistic"
  |  *  local-class="sample.StatisticLocal"
  |  *
  |  * @ejb.home
  |  *  remote-class="sample.StatisticHome"
  |  *  local-class="sample.StatisticLocalHome"
  |  *
  |  * @ejb.pk
  |  *  class="java.lang.String"
  |  *  generate="false"
  |  *
  |  * @ejb.util generate="physical"
  |  *
  |  * @jboss.container-configuration name="Standard CMP EntityBean"
  |  *
  |  * @jboss.persistence
  |  *  datasource="default"
  |  *
  |  */
  | 
  | public abstract class StatisticBean implements EntityBean
  | {
  | /**
  |  * @ejb.create-method
  |  * @return Primary Key
  |  * @throws CreateException
  |  */
  | public String ejbCreate(String name, String value) throws CreateException
  | {
  | setName(name);
  | setValue(value);
  | 
  | return null;
  | }
  | 
  | public void ejbPostCreate(String name, String value) throws CreateException
  | {
  | }
  | 
  | /**
  |   * @ejb.select query="select o.name from Stats o where o.name = ?1"
  |   * @param s Name we are searching with
  |   * @return Set of Primary Keys with that name
  |   * @throws FinderException
  |   */
  | public abstract String ejbSelectByName(String name) throws FinderException;
  | 
  | /**
  |   * @ejb.interface-method
  |   * @ejb.persistence jdbc-type="VARCHAR" sql-type="VARCHAR"
  |   * @ejb.pk-field
  |   * @return the name of this bean
  |   */
  | public abstract String getName();
  | /**
  |  * @ejb.interface-method
  |  * @param s Set the name of this bean
  |  */
  | public abstract void setName(String s);
  | 
  | /**
  |  * @ejb.interface-method
  |  * @ejb.persistence jdbc-type="VARCHAR" sql-type="VARCHAR"
  |  * @return the value of this bean
  |  */
  | public abstract String getValue();
  | /**
  |  * @ejb.interface-method
  |  * @param s Set the value of this bean
  |  */
  | public abstract void setValue(String s);
  | 
  | }

Here's the bean implementation class, derived from this that is generated by 
xdoclet:

/*
  |  * Generated by XDoclet - Do not edit!
  |  */
  | package sample;
  | 
  | /**
  |  * CMP layer for StatisticBean.
  |  */
  | public abstract class StatisticBeanCMP
  |extends sample.StatisticBean
  |implements javax.ejb.EntityBean
  | {
  | 
  |public void ejbLoad() 
  |{
  |}
  | 
  |public void ejbStore() 
  |{
  |}
  | 
  |public void ejbActivate() 
  |{
  |}
  | 
  |public void ejbPassivate() 
  | 

[JBoss-user] [JCA/JBoss] - Re: JCA : How to call getWorkManager method

2005-03-11 Thread [EMAIL PROTECTED]
I think you guys need to understand that this is the JBossJCA forum,
where is your *JBOSS* issue?

It is not the I don't understand (can't be bothered reading) the spec forum. 
Go fill up Sun's j2ee forums if you think the spec is unclear.

This is the only time I'm going to answer this, so I'm going to help the
search function:

RESOURCEADAPTER
WORKMANGER
DOWORK
BOOTSTRAPCONTEXT
WORK


  | public class TestResourceAdapter implements ResourceAdapter
  | {
  |public void start(BootstrapContext ctx) throws 
ResourceAdapterInternalException
  |{
  | WorkManager wm = ctx.getWorkManager();
  | wm.doWork(new MyWork());
  | etc.
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869807#3869807

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869807


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null

2005-03-11 Thread [EMAIL PROTECTED]
The problem is that this cannot work. The jaas login only affects the current 
calling thread for subsequent access to secured resources. It does not 
magically inform the web container that all sendRedirects should be trusted. 
This is impossible in general as its the web client that has to provide the 
identity and proof of identity and the form depends on the authentication 
scheme selected by the war deployment.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869805#3869805

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869805


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] (no subject)

2005-03-11 Thread Girish Patil
<>

[JBoss-user] [JCA/JBoss] - Re: MySQL database configuration

2005-03-11 Thread [EMAIL PROTECTED]
Moderated FAQ: The topic at the top this forum where I say 
will you stop posting questions about resource-refs in the JCA forum.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869804#3869804

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869804


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: BMT + nested transactions

2005-03-11 Thread [EMAIL PROTECTED]
What a mess.

javax.transaction.Transaction is NOT a user api.
It is intended for J2EE Server <-> TM integeration.

If you are going to use it, make sure you read the spec.

You certainly shouldn't be switching transaction mid ejb method,
CMT already has this notion it is called RequiresNew.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869803#3869803

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869803


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Oracle 10g / JBoss 4.0 / XA Config Problem

2005-03-11 Thread [EMAIL PROTECTED]
Moderated FAQ: - deploy the jdbc driver

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869801#3869801

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869801


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: keep getting tx marked for rollback error

2005-03-11 Thread [EMAIL PROTECTED]
I can see a number of problems with your code
1) If by outside an EJB you mean a servlet you should use 
java:comp/UserTransaction
(although in JBoss there is no difference it optimizes away the client 
transaction to the server user transaction)
2) Some of the status checking is wrong
3) The commit/rollback logic is wrong

I could help you fix it, but then I don't feel the need since we already provide
this feature, it is called CMT and it works.
If you don't want to use tried and tested code, you'll have to debug it 
yourself.

On your main question, I have no idea. 
You don't post any useful information -- "READ THIS FIRST".
My *guess* would be a transaction timeout.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869800#3869800

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869800


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Beginner needs help with clusters

2005-03-11 Thread balteo
Thanks for your reply Nicholas,

in the ejb jar:

  | 
  | 
  | 
  |  
  |   
  |  EJBTwo
  |  EJBTwoHome_L
  |  EJBTwoHome_R
  |  true
  |   
  |  
  | 
  | 
  | 


jboss service

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  |
  | 
  | 
  |
  |
  |
  |
  |   jboss.system:service=MainDeployer
  |   jboss.system:service=ServiceDeployer
  |   jboss.j2ee:service=EARDeployer
  |   jboss.ejb:service=EJBDeployer
  |   jboss.jca:service=RARDeployer
  |   jboss.jca:service=ConnectionFactoryDeployer
  |   jboss.web:service=WebServer
  |   jboss:service=Mail
  |   jboss.mq:service=DestinationManager
  |   jboss:service=Naming
  |   jboss:service=TransactionManager
  |   jboss:service=ClientUserTransaction
  |   jboss:service=CorbaORB
  |
  | 
  |
  |
  |   
  |
  |   
  |
  |   
  |
  | 
  |
  |
  |   JBoss System Threads
  |   System Threads
  |   
  |   6
  |   
  |   10
  |   
  |   1000
  |   
  |   run
  |
  | 
  |
  | 
  |
  |
  |
  | 
  |
  |   resource:log4j.xml
  |   
  |   true
  |   
  |   60
  |
  | 
  |
  |
  |
  |
  |   java.rmi.server.RMIClassLoaderSpi
  |   org.jboss.system.JBossRMIClassLoader
  |
  | 
  |
  |
  |
  | 
  |
  |
  | 
  | 
  | ${jboss.server.name}
  | 
  | ${jboss.server.base.dir}/chap10ex1-bindings.xml
  | 
  | 
  | org.jboss.services.binding.XMLServicesStoreFactory
  | 
  | 
  | 
  | 
  | 
  | 
  |
  |
  |
  | 
  |
  |   8083
  |   
  |   true
  |   ${jboss.bind.address}
  |   ${jboss.bind.address}
  |
  | 
  |
  |
  |
  | 
  |
  |   
  |   false
  |   
  |   1099
  |   
  |   ${jboss.bind.address}
  |   
  |   1098
  |   
  |   ${jboss.bind.address}
  |   
  |   jboss.system:service=ThreadPool
  |
  | 
  |
  |
  | 
  |
  |
  |
  | 
  |
  |   jboss.security:service=XMLLoginConfig
  |
  |
  |   login-config.xml
  |
  | 
  |
  |
  |   org.jboss.security.plugins.JaasSecurityManager
  |   anonymous
  |   
  |   1800
  |   
  |   60
  |
  | 
  |
  |
  |
  |
  |
  |   
  |
  | 
  |
  |
  |   300
  |   
  |   true
  |   jboss:service=XidFactory
  |
  |
  |
  |   
  |  
  | jboss:service=invoker,type=jrmp
  | jboss:service=ClientUserTransaction
  | UserTransactionSessionFactory
  | org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory
  | 
  |
  |   
org.jboss.proxy.ClientMethodInterceptor
  |   
org.jboss.invocation.InvokerInterceptor
  |
  | 
  | jboss:service=invoker,type=jrmp
  |  
  |   
  |   
  |  
  | jboss:service=invoker,type=jrmp
  | jboss:service=ClientUserTransaction
  | 
  | org.jboss.tm.usertx.interfaces.UserTransactionSession
  | 
  |
  |   
org.jboss.proxy.ClientMethodInterceptor
  |   
org.jboss.invocation.InvokerInterceptor
  |
  | 
  | jboss:service=invoker,type=jrmp
  |  
  |   
  |
  | 
  |
  |
  |
  | 
  |
  |
  |   
  |   ${jboss.bind.address}
  |   
  |   jboss:service=TransactionManager
  |
  | 
  |
  | 
  |   jboss:service=TransactionManager
  |
  | 
  |
  |   1
  |   300
  |   300
  |   6
  |   ${jboss.bind.address}
  |   4445
  |   ${jboss.bind.address}
  |   0
  |   false
  | 
  |   jboss:service=TransactionManager
  |
  | 
  |
  |
  |
  | 
  |
  | 
  |
  | 
  |
  |
  |
  | 
  |
  | 
  |
  |
  |
  | 
  |
  |
  | 
  |   
  |   jboss.system:service=MainDeployer
  | 
  |   
  |   org.jboss.deployment.DeploymentSorter
  |   
  | 
  |   
  |   org.jboss.deployment.scanner.DeploymentFilter
  | 
  |   5000
  | 
  |   
  | 
  |   True
  | 
  |
  | 
  | 
  | 
  | 


cluster service

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  |   
  |   
  |   
  | 
  |   
  |  
  | 
  | ${jboss.partition.name:DefaultPartition}
  | 
  | 
  | ${jboss.bind.address}
  | 
  | 
  | False
  |  
  | 
  | 3
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   

[JBoss-user] [Persistence & CMP/JBoss] - Re: What TX attribute to read for READ-ONLY operation?

2005-03-11 Thread aparaapara
Sorry, what I wanted to ask was "What TX attribute to set for READ-ONLY 
operation"?

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869798#3869798

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869798


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null

2005-03-11 Thread milkygto

  | 
  | 
  | Username:
  | 
  | 
  | 
  | Password:
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869797#3869797

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869797


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - What TX attribute to read for READ-ONLY operation?

2005-03-11 Thread aparaapara
Dear Members:

I have an READ operation which returns Entity objects.  This operation is 
currently marked with a TX of Required.  In actuality I don't need a TX in this 
case, however, when I attempted to change TX to Supports/NotSupported I 
experienced a SELECT from the DB for every getXXX operation which occured on an 
Entity.

This was last tested sometime ago with JBOSS 3.2.3 server.

I get an exception during my READ operation when system is under load (attached 
at the end).

What I would like to do, is not lock the Entity, however, not refresh it during 
this READ operation.  

What should I do in the ejb-jar.xml, jbosscmp.xml or another deployment 
descriptor to make this happen?  Can this be done?  Am I approaching this 
problem incorrectly?

Here is the exception which I get:

org.jboss.util.deadlock.ApplicationDeadlockException: Application deadlock 
detected, [EMAIL PROTECTED], bean=ComponentType, [EMAIL PROTECTED] id: picture, 
refs=3, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=web1//720555, 
BranchQual=], synched=Thread[TP-Processor8,5,jboss], timeout=5000, 
queue=[TXLOCK waitingTx=TransactionImpl:XidImpl [FormatId=257, 
GlobalId=web1//720589, BranchQual=] id=0 thread=Thread[TP-Processor4,5,jboss] 
queued=true], holder=TransactionImpl:XidImpl [FormatId=257, 
GlobalId=web1//720599, BranchQual=], [EMAIL PROTECTED], bean=Component, [EMAIL 
PROTECTED] id: 56346, refs=2, tx=TransactionImpl:XidImpl [FormatId=257, 
GlobalId=web1//720589, BranchQual=], synched=null, timeout=5000, queue=[], 
waitingResourceHolder=TransactionImpl:XidImpl [FormatId=257, 
GlobalId=web1//720589, Branc!
 hQual=]
at 
org.jboss.util.deadlock.DeadlockDetector.deadlockDetection(DeadlockDetector.java:48)


Thanks.
-AP_

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869796#3869796

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869796


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - jgroups.protocols.UDP

2005-03-11 Thread aoggi
Hello everyone,

I am using jboss 4.0.0, i am seeing the follwoing message almost every 3 milli 
seconds, can some one tell me what is the problem and how to supress this..

help Plz..

Thanks
Anil

Mar-11-2005 14:39:33 ERROR jgroups.protocols.UDP handleIncomingUdpPacket.691  - 
exception=java.lang.ClassCastException
at org.jgroups.Message.readExternal(Message.java:471)
at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:686)
at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1294)
at java.lang.Thread.run(Thread.java:534)

Mar-11-2005 14:39:36 ERROR jgroups.protocols.UDP handleIncomingUdpPacket.691  - 
exception=java.lang.ClassCastException
at org.jgroups.Message.readExternal(Message.java:471)
at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:686)
at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1294)
at java.lang.Thread.run(Thread.java:534)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869794#3869794

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869794


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null

2005-03-11 Thread milkygto
I got it to work. Instead using my servlet to login, i use





Username:



Password:











View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869793#3869793

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869793


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Beginner needs help with clusters

2005-03-11 Thread nickman
Julien;

Can you post your EJB descriptors ?

//Nicholas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869791#3869791

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869791


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Beginner needs help with clusters

2005-03-11 Thread balteo
Hello Nicholas,

Still get the same behavior with the following:


  | <%@ page import ="javax.ejb.*" %>
  | <%@ page import ="javax.naming.*" %>
  | <%@ page import ="java.util.*" %>
  | <%@ page import ="java.rmi.*" %>
  | <%@ page import ="com.mycompany.*" %>
  | 
  | 
  | 
  | <%
  | 
  | try{
  | Properties p = new Properties();
  | 
p.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
  | p.put(Context.PROVIDER_URL,"127.0.0.1:1099,127.0.0.1:1199");
  | p.put(Context.SECURITY_PRINCIPAL,"sa");
  | p.put(Context.SECURITY_CREDENTIALS,"");
  | Context context = new InitialContext(p);
  | 
  | 
  | EJBTwoHome home;
  | EJBTwo ejbtwo;
  | 
  | 
  | 
  | if(session.isNew()){
  | System.out.println("new");
  | home = (EJBTwoHome) context.lookup("EJBTwoHome_R");
  | ejbtwo = home.create();
  | session.setAttribute("home", home);
  | session.setAttribute("ejbtwo", ejbtwo);
  | }
  | else{
  | System.out.println("not new");
  | home=(EJBTwoHome)session.getAttribute("home");
  | ejbtwo=(EJBTwo)session.getAttribute("ejbtwo");
  | }
  | 
  | ejbtwo.print();
  | }
  | catch(CreateException e){
  | e.printStackTrace();
  | }
  | 
  | catch(RemoteException e){
  | e.printStackTrace();
  | }
  | 
  | %>
  | 
  | 

Any help?

Thanks in advance,

Julien.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869790#3869790

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869790


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Invalidating all http sessions through the jmx console

2005-03-11 Thread balteo
Hello,
Is it possible to invalidate all http session through the jmx console?
If so what do I look for?
Thanks in advance,
Julien.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869789#3869789

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869789


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Prinicpal = null

2005-03-11 Thread milkygto
Can anyone point out what is the problem here? I followed the jaashowto, but I 
still can't get the principal to work.

After I do the loginContext.login(), my user and role are set. If I do a 
forward(), I can get to the restricted resources.
But if I do a request.sendRedirect, I will lost all the principal. So I tested 
it by getting it out from request.getUserPrincipal(), 
and it didn't suprise me for returning me a null. I am tested it jboss 4.0.1 
RC1 and RC2, and both of them doesn't work.

Thanks,

--- 
LoginServlet
---

String username = request.getParameter("username");
String password = request.getParameter("password");

try {   
if (username != null && password != null) {

SecurityAssociationHandler handler = new 
SecurityAssociationHandler();
SimplePrincipal user = new SimplePrincipal(username);
handler.setSecurityInfo(user, password.toCharArray());
LoginContext loginContext = new LoginContext("equilar-login",
(CallbackHandler) handler);
loginContext.login();

Subject subject = loginContext.getSubject();
Set principals = subject.getPrincipals();
principals.add(user);  
   
Principal p = request.getUserPrincipal();  
if (p != null)
log.info("Principal = " + p.getName());
else
log.info("Principal is null");

try {
response.sendRedirect("/index.jsp");
return;
} catch (IOException e) {
log.error("sendRedirect failed", e);
}
} else {
try {
response.sendRedirect("/login.jsp");
return;
} catch (IOException e) {
log.error("Failed redirecting", e);
}
}
} catch (LoginException e) {
log.info("Login failed for " + username +". Reason: " + 
e.getMessage());
try {
response.sendRedirect("/login.jsp?login=failed");
return;
} catch (IOException ee) {
log.error("Failed redirecting", ee);
}
}

---
Auth.conf in jboss/server/default/conf
---
client-login
{
org.jboss.security.ClientLoginModule required;
};

equilar-login
{
org.jboss.security.ClientLoginModule required
;

org.jboss.security.auth.spi.UsersRolesLoginModule required
usersProperties="users.properties"
rolesProperties="roles.properties"
unauthenticatedIdentity=nobody
;

};

---
Auth.conf in jboss/client
---

client-login
{
org.jboss.security.ClientLoginModule required;
};

equilar-login
{
org.jboss.security.ClientLoginModule required
;

org.jboss.security.auth.spi.UsersRolesLoginModule required
unauthenticatedIdentity=nobody
;
};

---
login-config.xml
---


 
 
 
  
 
users.properties
roles.properties
nobody 
 
   
   

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869788#3869788

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869788


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: run jboss as a service for 'all' server configuration on

2005-03-11 Thread aalberini
Hi:
Can you tell me how to obtain the file /etc/inet.d/functions for run Jboss as a 
service?

Thanks.
Alejandro

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869787#3869787

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869787


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - keep getting tx marked for rollback error

2005-03-11 Thread berkgypsy
I am using jboss4.0.1 with hibernate, and I created my own HibernateUtil class 
to manage the sessions and transactions (outside any EJBs).  I've posted the 
code below.  However sometimes when committing a random transaction I get this:

Caused by: javax.transaction.RollbackException: Already marked for rollback 
TransactionImpl:XidImpl[FormatId=257, GlobalId=***.com/26137, BranchQual=, 
localId=26137]
at org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1068)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:296)
at org.jboss.tm.TxManager.commit(TxManager.java:200)
at 
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:126)
at 
com.scilearn.dao.HibernateUtil.commitTransaction(HibernateUtil.java:135)


I'm not sure why a transaction would be marked for rollback, because I never 
mark a transaction for rollback in my code, i only commit or rollback right 
away.  I don't see any errors in my logs, however I do see some explicit calls 
to HibernateUtil.rollbackTransaction.  Shouldn't these calls end the 
transaction?  Are there any ideas as to why these transactions marked for 
rollback may be hanging around?


  | 
  | public class HibernateUtil {
  | 
  | private static org.apache.log4j.Logger log = 
org.apache.log4j.Logger.getLogger(HibernateUtil.class);
  | 
  | /**
  |  * First, start a transaction so that HibernateContext can join the 
Hibernate session to it
  |  * @return
  |  * @throws InfrastructureException
  |  */
  | public static net.sf.hibernate.Session getSession() throws 
InfrastructureException{
  | 
  | try{
  | UserTransaction tm = getTransactionManager();
  | if(tm.getStatus() == Status.STATUS_NO_TRANSACTION)
  | {
  | tm.begin();
  | //log.info("started tx " + tm.toString());
  | }
  | 
  | Session session = 
HibernateContext.getSession("java:/HibernateFactory");
  | 
  | return session;
  | 
  | }catch(Exception e)
  | {
  | throw new InfrastructureException(e);
  | }
  | }
  | 
  | 
  | /**
  |  * The session is tied to the transaction (HibernateContext did this 
for us),
  |  * so ending the transaction will return the session and connection to 
the pool.
  |  * If the transaction has been left active, roll it back
  |  */
  | public static void closeSession()  {
  | 
  | try {
  | UserTransaction tx = getTransactionManager();
  | 
  | if(tx.getStatus() == Status.STATUS_ACTIVE || tx.getStatus() == 
Status.STATUS_MARKED_ROLLBACK)
  | {
  | log.debug("session to close has an active transaction, will 
rollback");
  | rollbackTransaction();
  | }
  | 
  | } catch (Exception e) {
  |log.error("Error closing session: " + e);
  | } finally {
  | 
  | }
  | }
  | 
  | 
  | /**
  |  * Leave this blank for now since we do it automatically when we get a 
session
  |  * @throws com.scilearn.dao.InfrastructureException
  |  */
  | public static void beginTransaction()  throws 
com.scilearn.dao.InfrastructureException {   
  | }
  | 
  | public static void commitTransaction()  throws 
com.scilearn.dao.InfrastructureException {
  | log.debug("COMMITTING HIBERNATE TRANSACTION");
  | try {
  | UserTransaction tx = getTransactionManager();
  | if(! (tx.getStatus() == Status.STATUS_NO_TRANSACTION))
  | tx.commit();
  | 
  | } catch (Exception e) {
  | log.error("Error committing transaction: " + e);
  | rollbackTransaction();
  | throw new InfrastructureException(e);
  | }
  | 
  | }
  | 
  | public static void rollbackTransaction() {
  | log.info("ROLLING BACK HIBERNATE TRANSACTION");
  | try {
  | UserTransaction tx = getTransactionManager();
  | 
  | if (tx != null && ! (tx.getStatus() == 
Status.STATUS_NO_TRANSACTION)) {
  | tx.rollback();
  | }
  | 
  | } catch (Exception e) {
  |log.error("Error rolling back transaction: " + e);
  | } finally {
  | 
  | }
  | }
  | 
  | public static void flushSession() throws InfrastructureException
  | {
  | try
  | {
  | getSession().flush();
  | }catch(HibernateException e)
  | {
  | throw new InfrastructureException(e);
  | }
  | }
  | 
  | private static UserTransaction getTransactionManager() throws 
InfrastructureException
  | {
  | try{
  | InitialContext context = new InitialContext();
  | UserTransaction tm = (UserTransaction) 
context.lookup("User

[JBoss-user] [Management, JMX/JBoss] - Re: Does JBoss 4.0.x support JSR-160 (JMX Remote API).

2005-03-11 Thread qdotlu
Is there a road map for the support of JMX Remote API?

Thanks,

"[EMAIL PROTECTED]" wrote : We don't fully suppor jsr160 yet, but Tom Elrod 
from the JBossRemoting project is working on this.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869782#3869782

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869782


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Error compiling EJB-QL statement -- Jboss 4.0.0

2005-03-11 Thread aoggi
Hi Guys,

I am using jboss 4.0.0, trying to deploy entity bean. I am getting following 
error for EJB-QL. I have tried modifying the EJB-QL little bit, Finally i got 
to a point that if i remove "'F' = ?2" this kind of check in the EJB-QL it is 
getting deployed.
Can some one help me to make the bellow EJB-QL work as it is..

ERROR LOG***
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 
'SELECT DISTINCT OBJECT(a)  
FROM bbsoft  a 
WHERE 
a.bNbr = ?1
AND ('F' = ?2 OR a.tStatus = ?3)
ORDER BY a.tId'; - nested throwable: 
(org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "\'F\'" at line 5, 
column 42.
Was expecting one of:
"ABS" ...
"LENGTH" ...
"LOCATE" ...
"SQRT" ...
"MOD" ...
"(" ...
"+" ...
"-" ...
 ...
 ...
 ...
 ...
"NOT" ...
 ...
 ...
"CONCAT" ...
"SUBSTRING" ...
 ...
 ...
 ...
 ...
)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:52)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:60)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:272)

ERROR LOG***


Thanks
Anil

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869778#3869778

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869778


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread JimDwyer
Excellent!

I am all over it like spilt coffee!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869776#3869776

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869776


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread [EMAIL PROTECTED]
You should wrap it as an MBean, as it is an extension to the server itself.

There's examples on how to write MBeans and deploy them on JBoss at 
docs.jboss.org.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869774#3869774

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869774


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Reloading stateless session beans programmatically in JB

2005-03-11 Thread jamesstrachan
There isn't a good way to reload stateless Session Beans, and there isn't meant 
to be.

Suggestions :-

a)Move the read only data from the Session Beans to a singleton Java class 
within the application Server.  Reload data in the Singleton either when a 
timestamp expires or by touching the singleton from a servlet.

b)   Do something very similar using an Entity Bean with a single, constant key 
to hold the read only data.  Refresh using the same techniques.

You could use an Mbean to force reload in either alternative but a servlet will 
be quicker to develop and test.

Code for alternative (a) 



  | public class ReadOnlyCache  {
  | 
  |   private ReadOnlyCache mySingleton;
  | 
  |   private HashMap properties;
  | 
  |   private ReadOnlyCache()  {}
  | 
  |   public ReadOnlyCache getInstance()  {
  | 
  | if ( mySingleton == null )  {
  |   mySingleton = new ReadOnlyCache();
  |   loadProperties();
  |   }
  | 
  | return mySingleton();
  | 
  |   }
  | 
  |   public String getProperty( String key )  {
  | 
  | return properties.get( key );
  | 
  |   }
  | 
  |   public void refreshProperties()  {
  | 
  | loadProperties();
  | 
  |   }
  | 
  |   private void loadProperties()  {
  | 
  | // Load the cached data from a properties file or whatever.
  | 
  |   }
  | 
  | }
  |   

This example is deliberately simplified but shows a possible pattern to use.  
The servlet (code omitted) just gets the singleton instance and calls 
refreshProperties().

James

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869773#3869773

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869773


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread JimDwyer
Thanks Juha.  I will look at that.  I need to review my networking.

What I don't understand is what type of object (bean I guess) I need to create 
for such a service.  All of the examples show how to build J2EE Session and 
Entity Beans.  Would I wrap the TCP connection into a J2EE session bean?  J2EE 
seems to be a bit of overkill without a database.  Does JBoss manage the socket 
connections to such primative services?Any suggestions would be 
appreciated. 

Jim

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869772#3869772

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869772


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - URLComparator and Filter config in jboss-service.xml

2005-03-11 Thread balteo
Hello,
I am wondering how to disable hot deployment for *.zip files using 
URLComparator or Filter. Can anyone please give me a sample code to put into 
the jboss-service.xml?
Thanks in advance,
Julien.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869770#3869770

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869770


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread [EMAIL PROTECTED]
Trail: Custom Networking


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869769#3869769

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869769


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Oracle 10g / JBoss 4.0 / XA Config Problem

2005-03-11 Thread alg007
Hi all, 

I need help to make Oracle 10g and JBoss 4.0 working together. 

In fact when I configure an XA datasource to work with distributed transaction 
I receive these error: "java.lang.ClassNotFoundException: No ClassLoaders found 
for: oracle.jdbc.xa.OracleXAException". 

I have followed the recommendations from the reference guide: 
1/ jboss-service.xml with pad set to true 
2/ oracle-xa-ds.xml copied to the deployed directory 

Here part of the stack trace. 
Thanks a lot for your help. 
/ Xavier 

17:15:25,745 INFO [WrapperDataSourceService] Bound connection factory for 
resource adapter for ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=XAOracleDS to JNDI name 
'java:XAOracleDS' 
17:15:25,775 ERROR [OracleXAExceptionFormatter] Starting failed 
jboss.jca:service=OracleXAExceptionFormatter java.lang.ClassNotFoundException: 
No ClassLoaders found for: oracle.jdbc.xa.OracleXAException 
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198) 
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
 
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
 
at java.lang.ClassLoader.loadClass(ClassLoader.java:251) 
at 
org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter.startService(OracleXAExceptionFormatter.java:80)
 
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
 
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869768#3869768

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869768


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Can a text file be used as a resource?

2005-03-11 Thread jma24
Short question: what types of resources can you define using a a  
tag? All the examples I see are SQL examples, where someone defines a 
datasource used as a reference. I want a text file to be used by a web 
application that uses EJB's, but I can't find any examples of how to do that.

More detail: I am a grad student in an EJB class. So naturally, I have very 
little experience with them. But I am doing a project wherein I use some text 
files to populate some data into the database. This was no problem as I was 
developing the beans, since the text files were available in the same directory 
as my build.xml that contained the ANT targets for my test cases. I would call 
an ANT target from the command line, it would fire up a Session Bean that 
connected through a remote interface into the JBoss container, send it the text 
files, and away we went. Now that everything works, I want to use it as a web 
app. And here I have a problem. I can include the text files in the ear, but 
when I call my application through the web app, it has no idea where to find 
the text files.

Any advice? 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869767#3869767

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869767


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Oracle 10g / JBoss 4.0 / XA Config Problem

2005-03-11 Thread alg007
Hi all,

I need help to make Oracle 10g and JBoss 4.0 working together.

In fact when I configure an XA datasource to work with distributed transaction 
I receive these error: "java.lang.ClassNotFoundException: No ClassLoaders found 
for: oracle.jdbc.xa.OracleXAException".

I have followed the recommendations from the reference guide:
1/ jboss-service.xml with pad set to true
2/ oracle-xa-ds.xml copied to the deployed directory

Here part of the stack trace.
Thanks a lot for your help.
/ Xavier

17:15:25,745 INFO  [WrapperDataSourceService] Bound connection factory for 
resource adapter for ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=XAOracleDS to JNDI name 
'java:XAOracleDS'
17:15:25,775 ERROR [OracleXAExceptionFormatter] Starting failed 
jboss.jca:service=OracleXAExceptionFormatter java.lang.ClassNotFoundException: 
No ClassLoaders found for: oracle.jdbc.xa.OracleXAException
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at 
org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter.startService(OracleXAExceptionFormatter.java:80)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869766#3869766

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869766


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Oracle 10g / JBoss 4.0 /

2005-03-11 Thread alg007
Hi all,

I need help to make Oracle 10g and JBoss 4.0 working together.

In fact when I configure an XA datasource to work with distributed transaction 
I receive these error: "java.lang.ClassNotFoundException: No ClassLoaders found 
for: oracle.jdbc.xa.OracleXAException".

I have followed the recommendations from the reference guide:
1/ jboss-service.xml with pad set to true
2/ oracle-xa-ds.xml copied to the deployed directory

Here part of the stack trace.
Thanks a lot for your help.
/ Xavier

17:15:25,745 INFO  [WrapperDataSourceService] Bound connection factory for 
resource adapter for ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=XAOracleDS to JNDI name 
'java:XAOracleDS'
17:15:25,775 ERROR [OracleXAExceptionFormatter] Starting failed 
jboss.jca:service=OracleXAExceptionFormatter java.lang.ClassNotFoundException: 
No ClassLoaders found for: oracle.jdbc.xa.OracleXAException
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at 
org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter.startService(OracleXAExceptionFormatter.java:80)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869765#3869765

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869765


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering for POJOs

2005-03-11 Thread [EMAIL PROTECTED]
It really depends if you have state in your POJO. If not, SLSB is great for 
load balancing.

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869764#3869764

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869764


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread JimDwyer
BTW,

I am going to use this as a front end for a realtime box.  There is no 
database.  I need security, naming.  I will probably be controlling a C program 
if I can.  I need a long lived connection on TCP.  I will be doing streaming 
out of a UDP.  I know this is outside of the normal for JBoss but I know it 
will work.  Just need a jump start on some things.

Jim

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869758#3869758

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869758


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: redeploying production app

2005-03-11 Thread [EMAIL PROTECTED]
http://www.jboss.org/wiki/Wiki.jsp?page=MakeSureRequestsBeingProcessedAreNotImpactedByHotDeployments

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869757#3869757

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869757


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Lookup WebSphere EJBs in a JBoss EJB client

2005-03-11 Thread RAPHEAD
Hi, same problem here. Did you solve it?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869756#3869756

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869756


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Remote ConnectionFactory/Queue reconnection

2005-03-11 Thread gquintana
I can not call connection.setExceptionListener() because the problem occurs 
before I get the connection. This what I do:
Context  context = new InitialContext();
  | ConnectionFactory connectionFactory = 
context.lookup("java:/JMSExploitationXA");
  | Queue queue = context.lookup("java:/external/RemoteJBoss/queue/MyQueue");
  | Connection connection = connectionFactory.createConnection();
  | 

I don't know exactly where an exception is raised (I will look at this ASAP):
* In the context.lookup("...")
  | * In the connectionFactory.createConnection()

The ExceptionListener is useful when you want watch what's happening when you 
send/receive a message but it is not my case. 

By the way, I thank you very much,
GÃrald

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869754#3869754

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869754


---
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_ide95&alloc_id396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - 'error: the following naming conflicts occurred: xxx' issue

2005-03-11 Thread zeroman
What's the main reason for such error?

'wscompile' tool generates this error for the existed service - sforce.com. 

error: the following naming conflicts occurred: 
com.sforce.soap.enterprise.DescribeLayout_Type

As I get it WSDL is not compatible with WS spec. Is it correct? I would not 
like to post the full WSDL listing as it's big.

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869752#3869752

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869752


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - J2SE application, non J2EE

2005-03-11 Thread JimDwyer
Hey,

I understand how to do a J2EE application.  How do I do an old fashioned 
application (non-J2EE) with a Gui on a TCP port and another UDP stream hookup?  
Is there any tutorials for that type of server?

Jim

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869750#3869750

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869750


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Preventing Execution of Malicious Java Code inside the conta

2005-03-11 Thread arokde
Hi All
I know this forum will not be appropriate one for this kind of question but 
still i will be really interested how jboss handles this kind of thing.

We have product  which is runing inside a  servlet container 
(tomcat/jetty).This product allows the user to attach external java code which 
defines application logic.

This java class runs inside same jvm as our server is running.What i would like 
to prevent is execution of any malicious code ( ex infinite loop) which would 
bring entire sever down.
First is it possible to prevent this kind of thing .If so what will be design 
strategy for this 
Thanks  a lot 
Amey


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869749#3869749

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869749


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Missing message for key

2005-03-11 Thread [EMAIL PROTECTED]
I finally found out the problem.

Everything is set correctly in struts-config.xml and my resource bundle, etc.
The root cause is that I have several web modules in my ear file. Some of them 
have their own Struts jar files, ranging form 1.0 to 1.2, inside their war 
files. I also have Struts 1.2 jar files included in my ear file used by some 
other modules. 
This causes class loading conflicts and unfortunately, Struts 1.2 seems not so 
backward compatible.
Any ways, my solution is to let each web module has its own Struts jars in the 
war file, remove the copy inside the ear file, and set the UseJBossWebLoader to 
false (in deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml).
This way, different web modules can use different versions of Struts.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869745#3869745

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869745


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - How to force deletion of compiled JSPs on redeploy?

2005-03-11 Thread molecularbear
Let's say that I've deployed foo.jsp and hit it in the web browser, causing it 
to be compiled. Now let's say that I change a method that foo.jsp calls, but do 
not changed foo.jsp itself. This can happen if the method being called looked 
like this:

formatDate(java.sql.Date)

And I change it to this:

formatDate(java.util.Date)

java.util.Date is the parent class and so there is no need to change anything 
within foo.jsp. I repackage and redeploy foo.jsp, hit it in the web browser, 
and get a NoSuchMethodFound exception. The reason (I think) is because foo.jsp 
has not changed, and so jboss doesn't think it needs to recompile the JSP. But 
it *does* need to recompile it. If I simply add some whitespace to foo.jsp, 
then repack/redeploy, everything works fine because jboss thinks that the JSP 
has changed and recompiles.

Is there a way I can make jboss discard all its compiled JSPs on redeploy?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869742#3869742

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869742


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS and C# Interoperability

2005-03-11 Thread jasong
FYI,

Microsoft will incorporate rpc/literal in the 2.0 .NET framework release. It is 
currently available in 2.0 Beta 1, although I haven't had time to test it out.

-Jason

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869741#3869741

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869741


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: configuration variables

2005-03-11 Thread trackingguy
I'm fighting with the same thing!!  If you run from run.bat (on windows or I 
think it's run.sh for *nix), you can do something like this: 
run.bat --host 10.0.0.1

and substitute the appropriate IP address.  If you want to run JBoss as a 
service, that is a little more tricky and we are trying to figure that one out 
now...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869740#3869740

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869740


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: setting up virtual host-VERY URGENT......

2005-03-11 Thread trackingguy
Can you have an index.jsp look at the hostname header and do a redirect based 
upon that? That's the most simple way I can think of

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869739#3869739

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869739


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Beginner needs help with clusters

2005-03-11 Thread nickman
Balteo;

I assume you are using round robin. Your JSP always retrieves a new Home and 
creates a new remote. Doing this will always give you the same member of the 
cluster. Try caching the emote in your session and you should see the EJB be 
invoked on alternating members of the cluster.

//Nicholas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869738#3869738

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869738


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: converting weblogic-ejb-jar.xml to equivalent jboss.xml

2005-03-11 Thread srikanth_uindia
Hi chitrasrivats,

I have got the same issue, steps to follow in migrating a j2ee application from 
weblogic to jboss. If you have got hold of some information and resources on 
this issue, could you please mail them to me. I would be extremely grateful to 
you for your favor.

My email is [EMAIL PROTECTED]   or  [EMAIL PROTECTED]

Thanks in advance,
Srikanth. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869737#3869737

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869737


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss class load order/application class dependancy question

2005-03-11 Thread bkyrlach
I apologize in advance if this is in the wrong place.

I have a question about the order in which JBoss loads classes in the class 
path, and whether or not there is a way to force JBoss to load web-application 
classes first, and/or keep each web applications classes seperate from 
eachother/JBoss.

I'm in the process of developing a small web application that runs functional 
testing on web applications in developement here at my company. I'm using an 
open source project called HTMLUnit (version 1.4), and I'm finding that several 
of the classes that HTMLUnit depends on are also classes being used by JBoss. 
The problem is that HTMLUnit is using the latest releases of said classes, 
including some beta releases (or so I believe). Because JBoss uses older 
versions of these classes, my web application won't run. I experimented a 
little with updating some of the classes that JBoss uses in order to be 
compatible with HTMLUnit, but I've had no success.

Is there a way for me to force JBoss classes to be kept seperate from 
application classes?

Is there a way for me to update JBoss to the latest version of these classes?

Any help would be greatly appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869733#3869733

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869733


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - configuration variables

2005-03-11 Thread albert_steed
Hello,
I see in some xml file the following variable:
${jboss.bind.address}
My question is where and how such variables are defined?
Can anyone tell me?
Albert Steed


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869732#3869732

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869732


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Mapping between SOAP faults and service exceptions

2005-03-11 Thread omatzura
Hi!

The type-mapping was required to get this working..

Maybe because our ws was created from an existing wsdl using wscompile -import?

/Ole

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869731#3869731

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869731


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - cmp using mysql 4.0 and jboss 4.0.1 problems

2005-03-11 Thread taz_is_dave
I am currently using mysql 4.0 and  jboss 4.0.1.  I'm trying to use cmp beans 
but having problems with the deployment.

I've copied the msql-ds.xml file into the deploy directory and successfully got 
the jbosscmp-jdbc.xml file in the jar.  all looks good until I try and access 
the  database via the bean.  an sql syntax error is thrown.  looking in the 
server log indicates that the insert sql being written is
2005-03-11 12:36:37,756 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.G_Audit] Insert Entity 
SQL: INSERT INTO table-name="G_Audit" (pk_G_AuditId, auditText, auditDate, 
auditType) VALUES (?, ?, ?, ?)

This sql doesn't work.  Replacing  table-name="G_Audit" with G_Audit does

Can anybody help with suggestions of what part of my config is wrong


Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869730#3869730

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869730


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS and C# Interoperability

2005-03-11 Thread omatzura
Hi!

I suggest you start by creating your wsdl "manually" so it conforms to .net, 
jbossws and basic-profile requirements, then validate the wsdl with .net (by 
importing it) and finally use wscompile -import to generate jbossws server 
stubs.. this has been our approach and it works "just fine" (ahem)..

good luck!

/Ole

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869729#3869729

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869729


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: getRemoteUser() not working in Apache/JBoss

2005-03-11 Thread erobles
I still have not found a solution :-(

regards,

Eulogio Robles

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869728#3869728

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869728


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Browsing Remote MBeans - Some Missing!

2005-03-11 Thread burakbayramli
I just upgraded to 4.0.1sp1, still the same problem. Should I apply the 
workarounds mentioned in any case? Any other ideas would be appreciated as 
well. 

Thanks, 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869727#3869727

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869727


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - JBossWS and C# Interoperability

2005-03-11 Thread ${bb.Guest}
Hi,

I'm trying to expose a stateless session bean as a web service in order to 
access it via a C# client. The occuring problems are as follows:

1. I can't use RPC/literal SOAP messages since C# tells me during the WSDL file 
import that this style is not supported (ok, I know, this is not JBoss' 
problem). Therefore, I decided to expose the session bean by document/literal 
style where the next problem comes arises:

2. At the end of the document-style wiki, the WSDD-synchronizing problem is 
mentioned, but how do I incorporate this btw. rather bumpy wrapper onto my 
session bean?

3. Failing in exposing the session bean, I used the document-style wiki example 
(with the wrapper solution) to finally get a working example. I tried to write 
a simple method that takes an array of Longs (Long[]) and returns the sum of 
them. The wrapped web service deployes fine and I get the WSDL imported into C# 
as well. But: when trying to invoke the method, JBoss claims an empty namespace 
("Namespace URI cannot be null") which was already addressed in the forum and 
promised to be fixed in 4.0.2.

If you're wondering, what I'm trying to ask: I cut it short: Is there any way 
to make a SLSB expose its methods (that use complex types like arrays) as a 
webservice that can be accessed by a non-Java client, namely C#? I thought 
that's what WS are about but I only find endpoints/clients both written in the 
same language.

Regards,
Matthias


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869725#3869725

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869725


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >