[JBoss-user] [Security & JAAS/JBoss] - How to get the Authentication Error messages.

2004-05-23 Thread tosenthu
Hai,
   Am using my own custom class for authendicating users. Apart from password, the 
user get authendicated on various other conditions like expiry of users and so on. so 
when an authendication fails i need to show the user what went worng. is there any 
possiblity to do this
Thanks in advance.
Senthil kumar M Rangaswamy

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET & SOAP] - Re: ClassNotFoundException in Axis1.2 integration in HEAD

2004-05-23 Thread donlyon1
I'm getting the same thing with DR4.  Any resolution so far?

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Unable to invoke setDelegate on class loader:org.jboss.w

2004-05-23 Thread [EMAIL PROTECTED]
This warning is incorrect and is not causing your problems (see FAQ). Your error is 
somewhere else. Check the log for any exceptions.


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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Unable to invoke setDelegate on class loader:org.jboss.w

2004-05-23 Thread moratelli
To complemente:
I'm using JBoss 3.2.3 in Windows 2000

Thanks.


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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Unable to invoke setDelegate on class loader:org.jboss.web.t

2004-05-23 Thread moratelli
Hi!

I'm beggining in development with JBoss and don't have success to deploy a simple 
session bean.

The following message warning is displayed in the log:
2004-05-23 23:51:03,562 WARN  [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Unable 
to invoke setDelegate on class loader:[EMAIL PROTECTED]


ejb-ar.xml:
...

ejb/HelloBean
hello.HelloBeanHome
hello.HelloBean
hello.ejb.HelloBeanClass
Stateless
Container

...

servlet that access the bean:
...
public class HelloServlet extends HttpServlet
{
public void doGet (HttpServletRequest req, HttpServletResponse res)
throws IOException, ServletException
{
HelloBean hello = getEJB ();
res.setContentType ("text/html");
PrintWriter pw = new PrintWriter (res.getOutputStream());
pw.println ("");
pw.println ("");
pw.println ("Test Servlet");
pw.println ("" + hello.sayHello ());
pw.println ("");
pw.println ("");
pw.flush ();
pw.close ();
}
  
private HelloBean getEJB () throws ServletException {
try {
InitialContext ctx = new InitialContext ();
Object ref = ctx.lookup ("HelloBean");
HelloBeanHome home = (HelloBeanHome)PortableRemoteObject.narrow (ref, 
HelloBeanHome.class);
return home.create ();
}
catch (Exception e) {
throw new ServletException (e);
}
}
}
...


The message displayed when the servlet is executed:
...
javax.naming.NameNotFoundException: HelloBean not bound
...

In the JMX MBean View -> List the bean was not visible, nor in jboss.j2ee of the JMX 
Agent View.

I think that the warning when I deploy the war file is the root of problem. How I can 
fix this problem? What's wrong?

Thanks in advance.

moratelli
[EMAIL PROTECTED]

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - how can i make an EJB be deployed first

2004-05-23 Thread plantule
I use jboss-3.0.7_jakarta-tomcat-4.1.24 .
In my project I have an EJB in an EAR called uniportal.ear .
Also I have many servlets in many WARs . In some servlets' Init method ,we need call 
EJB's method . How can i make the EJB be inited before all WARs deployed ?

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB to talk to remote queue via HTTP tunelling

2004-05-23 Thread tmjkeeney
I had to solve this problem recently and would like to contribute a new class, 
HttpJBossMQProvider, providing HTTP-based lookups to JBossMQ connection factories.  
The implementation was rather easy, since you only have to modify the current 
JBossMQProvider code slightly to enable HTTP-based lookups.  Since I do not have 
committer privileges on the src tree, I'll just post it here.  I hope this helps 
others addressing the same problem.

--Tom

package org.jboss.jms.jndi;
  | 
  | import java.util.Hashtable;
  | 
  | import javax.naming.ConfigurationException;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | 
  | import org.jboss.logging.Logger;
  | 
  | /**
  |  * A JMS provider adapter for JBossMQ using HTTP-based JNDI.  
  |  * The JMS provider loader MBean must declare the URL to the HttpInvoker 
  |  * JNDIFactory Servlet in the "ProviderUrl" attribute.
  |  */
  | public class HttpJBossMQProvider extends AbstractJMSProviderAdapter 
  | {
  | 
  |   /** The initial context factory to use. */
  |   public static final String INITIAL_CONTEXT_FACTORY =
  |  "org.jboss.naming.HttpNamingContextFactory";
  | 
  |   /** Instance logger. */
  |   private transient Logger log = Logger.getLogger(this.getClass());
  | 
  | 
  |   /**
  |* Default no-argument constructor.
  |*/
  |   public HttpJBossMQProvider() 
  |   {
  |  log.debug("initializing");
  |   }
  | 
  |   /** Override of standard de-serialization to re-create logger. */
  |   private void readObject(java.io.ObjectInputStream in)
  |  throws java.io.IOException, ClassNotFoundException 
  |   {
  |  in.defaultReadObject();
  |  this.log = Logger.getLogger(this.getClass());
  |   }
  | 
  |   /**
  |* Create a new InitialContext suitable for this JMS provider.
  |*
  |* @return  An InitialContext suitable for this JMS provider.
  |*
  |* @throws NamingException  Failed to construct context.
  |*/
  |   public Context getInitialContext() throws NamingException 
  |   {
  | boolean debug = log.isDebugEnabled();
  | 
  | if (providerURL == null) 
  | {
  |   throw new ConfigurationException("no ProviderUrl specified");
  | }
  | 
  | Hashtable props = new Hashtable();
  | props.put(Context.INITIAL_CONTEXT_FACTORY,
  |   INITIAL_CONTEXT_FACTORY);
  | props.put(Context.PROVIDER_URL, providerURL);
  | 
  | if (debug) 
  | {
  |   log.debug("connecting to remote HTTP-based JNDI with props: " + props);
  | }
  | 
  | Context ctx = new InitialContext(props);
  | 
  | if (debug) 
  | {
  |   log.debug("created context: " + ctx);
  | }
  | 
  | return ctx;
  |   }
  | 
  | }
  | 

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Dynamic Topic Creation - Source Code Modification

2004-05-23 Thread afinnell
I agree that an administration set of commands would be an excellent addition to JMS 
to provide for a more portable solution across providers. Until then I support we all 
will make due with what we have. Possibly a standarized JMX solution could be brought 
into JMS for configuration of queue's and topic's. 

This discussion was enlightening as to the reasons createTopic does not create a 
physical representation of the Topic. It's reassuring to know that JBoss was following 
the spec and didnt drop the ball on creating topics. I was having doubts as to 
JBossMQ's viability until our discussion. Thanks. 

Andrew T. Finnell

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: javax.servlet.jar is missing from jboss-3.2.4RC2.zip

2004-05-23 Thread [EMAIL PROTECTED]
server/default/deploy/jbossweb-tomcat50.jar/servlet-api.jar

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Dynamic Topic Creation - Source Code Modification

2004-05-23 Thread [EMAIL PROTECTED]
There are no architectural considersations. It is purely a case of following the spec.
I have little interest in how other jms implementations break the spec, especially
on a method that is explicity described as non-portable.

I don't see how it can be made portable. Although most vendors implement the JMS spec
in a fairly literal manner, the jms api can be used to wrap disparate messaging 
systems.
e.g. it could wrap an e-mail system, then you could have:

Queue queue = session.createQueue("[EMAIL PROTECTED]");
Topic mailingList = session.createTopic("[EMAIL PROTECTED]");

My prefered solution would be for the spec to standardize on a set of jms messages that
could be sent to a spec defined destination (e.g. JMS_ADMIN) to configure the server.

e.g.

  | ...
  | QueueSender sender = session.createSender(jmsAdmin);
  | AdminMessage adminMessage = session.createAdminMessage();
  | adminMessage.setType(AdminMessage.CREATE_TOPIC);
  | adminMessage.setName("MyTopic");
  | adminMesasge.setProperty(...);
  | adminMessage.setRoles(...);
  | sender.send(adminMessage);
  | 

But I guess that suggestion will have to wait until work starts on JMS2.0,
there are no plans for such a review that I'm aware of.


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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - javax.servlet.jar is missing from jboss-3.2.4RC2.zip

2004-05-23 Thread mz02
Hi,

I just downloaded jboss-3.2.4RC2.zip and I got compilation error when compiled my 
application against it. because javax.servlet.jar is not included in the zip file. I 
checked the jar file is also missing from jboss-3.2.4RC1.zip.  Does anyone know why 
the jar file is not included in 3.2.4RC1 and 3.2.4RC2?

Thanks,

mz02

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Dynamic Topic Creation - Source Code Modification

2004-05-23 Thread afinnell
Adrian,

You bring up an excellent point however I must say that requiring the user to 
administratively create topics to enable them to establish topic's of interest makes 
for an unsound architecture. In many architectures dynamic topic's need to be created 
that cannot be known ahead of time. The only solution then is to create these topic's 
by remote administration such as JMX or the URL approach provided in many JBoss 
examples. This breaks down the standardization of the JMS API that should allow the 
same code to be used with different providers. 
While TemporaryTopic's can be used to establish true dynamic topic's they may not 
always be practical as the topic's may be dynamic but might need to confirm to some 
specific naming structure. What are the architectural reasons for not allowing 
createTopic() to create the logical representation of the Topic on the server side? 
Many JMS providers automatically create the topic without requireing the need for 
customization to the provider. Maybe we can get some other feedback as to the 
architectural disadvantages to automatically creating the topic. I believe if the 
topic's can be administratively added through outside means it can only furthur the 
ease of use and abilities of JBoss to allow the automatic creation of the Topics in 
the server through createTopic.

Andrew T. Finnell

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: LIKE keyword in ejb ql with an input parameter CANT MAKE

2004-05-23 Thread ram_iyer
thanks to sesques! it works!!
i have had a couple of frustrating days trying to solve the 'like ?1%' problem.

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem, when

2004-05-23 Thread gorano
Did you add "SelectMethod=Cursor" in your connection string to MSSql?

Using the jdbc driver from MS do not using cursors for larger resultsets if this 
parameter is not specified, and it fails.

/Goran

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Default page not found when precompiled

2004-05-23 Thread treespace
To reiterate, JspC generates the mappings with the leading slash. That works fine 
except for the isolated problem with the welcome file. When compiled as a servlet, the 
welcome file no longer shows up by default. You have to exlicitly enter the name of 
the URL.  I will try using  with that file but it is in fact a servlet now. 
Is this a known problem with entries in the welcome-file-list under tomcat?



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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: starting JBOSS server services at the time of system reb

2004-05-23 Thread sumesh_ps
if you are using linux copy the <>/bin/redhat_init_jboss.sh 
to /etc/init.d and rename it to jboss and set correct jboss_home and java_home  path 
then you can set jboss as service .

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem, when

2004-05-23 Thread ironbird
It works fine for me under JBoss 3.2.3 with a collection of 1000 elements (with the 
MSSQL XA driver).
So for me 3 solutions:

1) JDBC XA procedures perhaps not installed
2) CMP engine for JBoss 3.2.4 bugged (other topics in this forum seems to prove that).
3) Use read-ahead with fixed page size to prevent the CMP engine making its own 
choices.


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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem, when

2004-05-23 Thread acoliver
It says teh database has given an unspecified error.  I think the read-ahead with 
pagesize might help.  Also, I think you're using the XA datasource version of the 
driver.  Give the NON-XA version a try if you're not using distributed transactions 
(and if you don't know if you are then you probably aren't).  Writing good XA drivers 
is hard, I highly doubt Microsoft's fairly new driver for Java is a very successful 
implementation.

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem, when

2004-05-23 Thread ironbird

  | java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Die Datenbank 
hat ein unspezifizierter Fehler zurÃÂckgegeben 
  | 
??? English please !

Transation type not required ?
Do you try with JBoss 3.2.3 (3.2.4 series not stable for me) ?
Try also to specify read-ahead option with a fixed page-size.



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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: change the default theme on nukes 1.0.0

2004-05-23 Thread sgwood

In the core module, there is a DefaultTheme property, currently imagic. You can change 
this in the nukes.sar deployment descriptor, or in the database. You can change the 
nukes_services_attributes table row 
pn_sid="org.jboss.nukes.core.modules.core.CoreModule/core", pn_aid="DefaultTheme".

Sherman

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: change the default theme on nukes 1.0.0

2004-05-23 Thread cooper
change the value of the attribute DefaultTheme on the core module. you can use the JMX 
console to do that.

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: inserting duplicated members

2004-05-23 Thread chiba
Yes, a field is identified by a pair of name and type
at the bytecode level.

BTW, I found the answer.  The JVM Spec book says in Sec 4.5:

Each field is described by a field_info structure. No two fields in one class file may 
have the same name and descriptor.

So at the bytecode level, two fields can share the same name if their types are 
different.  I didn't
know this fact. :<


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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - change the default theme on nukes 1.0.0

2004-05-23 Thread jkarstedt
Hi.
I really tried hard but I can't change the default theme from imagic to my own for a 
user entering the main site.
Any ideas ?

thanks   jens  

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Problem using distributed transactions

2004-05-23 Thread Adrian Brock
http://www.jboss.org/wiki/Wiki.jsp?page=JBossFrequentlyAskedQuestions

On Sun, 2004-05-23 at 16:46, Dasarath Weeratunge wrote:
> Hi,
> 
> Can you please help me understand the meaning of this
> warning? What is a transaction branch? Is this
> critical?
> 
> 21:14:50,656 WARN  [TxConnectionManager] Prepare
> called on a local tx. Use of local transactions on a
> jta transaction with more than one branch may result
> in inconsistent data in some cases of failure.
> 
> Thanks.
> 
> Dasarath
> 
> 
>   
>   
> __
> Do you Yahoo!?
> Yahoo! Domains  Claim yours for only $14.70/year
> http://smallbusiness.promotions.yahoo.com/offer
> 
> 
> ---
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g. 
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
 
Adrian Brock
Director of Support
Back Office
JBoss Inc.
 
-- 
 
Adrian Brock
Director of Support
Back Office
JBoss Inc.
 



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Problem using distributed transactions

2004-05-23 Thread Dasarath Weeratunge
Hi,

Can you please help me understand the meaning of this
warning? What is a transaction branch? Is this
critical?

21:14:50,656 WARN  [TxConnectionManager] Prepare
called on a local tx. Use of local transactions on a
jta transaction with more than one branch may result
in inconsistent data in some cases of failure.

Thanks.

Dasarath




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Problem, when "finder" gets to much results! Caching Problem

2004-05-23 Thread westmeier
Hi,

i have a problem with the results of a CMP2.0 Finder-Query.
My code works correct, when the collection has a small size (in test 20), but if the 
Collection has a bigger size (test with 791 entries leads to the error code below). 
The shown Collection size is ok, but if I try to get Information out of the 
Collections elements, then the error occurs.

May there be a problem with the cache entries for CMP in the standardjboss.xml or wht 
may cause this error?

Thanks for your help,
Thorsten


Have a look at the following informations:

System Information:

I use JBoss 3.2.4 with MS SQLServer2000 DB and the JBuilderX EJB-Designer.


Session-Bean Code:

...
Context context = new InitialContext();
Object tPCOref = context.lookup("TParentChildObject");

TParentChildObjectHome tPCOhome = (TParentChildObjectHome)
   PortableRemoteObject.narrow(tPCOref, TParentChildObjectHome.class);

Collection baumElemente = 
   tPCOhome.findProjectTreeNodes(parentObjectID, metaParentID);

   System.out.println("Size: " + baumElemente.size());

   Iterator iter = baumElemente.iterator();
   while (iter.hasNext())
   {
  TParentChildObject tPCO = (TParentChildObject)
 PortableRemoteObject.narrow(iter.next(),
 TParentChildObject.class);

  bed = new BaumElementDaten();
  bed.setChildObjectID(tPCO.getChildObjectID());
  this line causes the error, but the problem would be in the creation of the 
Collection
...


(TParentChildObject) Entity-Bean Finder:

FinderName: findProjectTreeNodes
Return Type: java.util.Collection
Input Parameters: Integer parentObjectID, Integer metaParentID
Home interfaces: local home
Query: SELECT DISTINCT OBJECT(tpco) FROM TParentChildObject AS tpco WHERE 
tpco.childViewType = 'ViewProject'  AND tpco.parentObjectID = ?1 AND tpco.metaParentID 
= ?2 AND tpco.parentChildType = '-1' AND tpco.childStatus <> '-1'


JBoss StdOut Error-Message:

16:59:49,283 INFO  [STDOUT] Size: 791
16:59:55,382 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: 
public abstract java.lang.Integer prometaEJB.TParentChildObject.getChildObjectID(), 
causedBy:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Die Datenbank hat 
ein unspezifizierter Fehler zurÃÂckgegeben
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown 
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown 
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:299)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:158)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:72)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:611)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:593)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:381)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:352)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:249)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:118)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:175)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:147)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFind

[JBoss-user] [Persistence & CMP/JBoss] - Problem, when

2004-05-23 Thread westmeier
Hi,

i have a problem with the results of a CMP2.0 Finder-Query.
My code works correct, when the collection has a small size (in test 20), but if the 
Collection has a bigger size (test with 791 entries leads to the error code below). 
The shown Collection size is ok, but if I try to get Information out of the 
Collections elements, then the error occurs.

May there be a problem with the cache entries for CMP in the standardjboss.xml or wht 
may cause this error?

Thanks for your help,
Thorsten


Have a look at the following informations:

System Information:

I use JBoss 3.2.4 with MS SQLServer2000 DB and the JBuilderX EJB-Designer.


Session-Bean Code:

...
Context context = new InitialContext();
Object tPCOref = context.lookup("TParentChildObject");

TParentChildObjectHome tPCOhome = (TParentChildObjectHome)
   PortableRemoteObject.narrow(tPCOref, TParentChildObjectHome.class);

Collection baumElemente = 
   tPCOhome.findProjectTreeNodes(parentObjectID, metaParentID);

   System.out.println("Size: " + baumElemente.size());

   Iterator iter = baumElemente.iterator();
   while (iter.hasNext())
   {
  TParentChildObject tPCO = (TParentChildObject)
 PortableRemoteObject.narrow(iter.next(),
 TParentChildObject.class);

  bed = new BaumElementDaten();
  bed.setChildObjectID(tPCO.getChildObjectID());
  this line causes the error, but the problem would be in the creation of the 
Collection
...


(TParentChildObject) Entity-Bean Finder:

FinderName: findProjectTreeNodes
Return Type: java.util.Collection
Input Parameters: Integer parentObjectID, Integer metaParentID
Home interfaces: local home
Query: SELECT DISTINCT OBJECT(tpco) FROM TParentChildObject AS tpco WHERE 
tpco.childViewType = 'ViewProject'  AND tpco.parentObjectID = ?1 AND tpco.metaParentID 
= ?2 AND tpco.parentChildType = '-1' AND tpco.childStatus <> '-1'


JBoss StdOut Error-Message:

16:59:49,283 INFO  [STDOUT] Size: 791
16:59:55,382 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: 
public abstract java.lang.Integer prometaEJB.TParentChildObject.getChildObjectID(), 
causedBy:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Die Datenbank hat 
ein unspezifizierter Fehler zurÃÂckgegeben
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown 
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown 
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:299)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:158)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:72)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:611)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:593)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:381)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:352)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:249)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:118)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:175)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:147)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFind

[JBoss-user] [Installation & Configuration] - Re: Classloader Exception while accessing STRUTS based appli

2004-05-23 Thread raja05
Well. as it says, cannot find the class. Howz ur packaging structure. Can you verify 
if this class is in ur package and available in the deploy directory? A Stack Trace 
isnt going to help much

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem update database

2004-05-23 Thread johan_tre
hi there, 

I xprienced the same kind of problem.
It would be interesting to know HOW you solved it.

Thx in advance!

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Sticky sessions not working with jk

2004-05-23 Thread julien.dubois
Yes, I have some idea :-)
You need to set the jvmRoute in JBoss, see 
http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss (at the end of the page).

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Default page not found when precompiled

2004-05-23 Thread ironbird
Your precompiled jsp page must be mapped as a servlet with a "/"  as url-pattern.
Use  instead of  in the declaration.

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Dynamic Topic Creation - Source Code Modification

2004-05-23 Thread [EMAIL PROTECTED]
The javadocs say this method is creating the topic identity, i.e. the 
javax.jms.Topic object.

It explicitly excludes the creation of the physical destination.


  | CreateTopic
  | 
  | public Topic createTopic(java.lang.String topicName)
  |   throws JMSException
  | 
  | Creates a topic identity given a Topic name.
  | 
  | This facility is provided for the rare cases where clients need to dynamically 
manipulate topic identity. This allows the creation of a topic identity with a 
provider-specific name. Clients that depend on this ability are not portable.
  | 
  | Note that this method is not for creating the physical topic. The physical 
creation of topics is an administrative task and is not to be initiated by the JMS 
API. The one exception is the creation of temporary topics, which is accomplished with 
the createTemporaryTopic method.
  | 

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

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


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user