[JBoss-user] [Beginners Corner] - JSP 2.0 tag file latest syntax doesn't work in JBoss 4.0

2005-01-22 Thread cjohan
Here is an example tag file:
<%@ attribute name="greeting" required="true" %>
  | <%@ attribute name="name" required="true" %>
  | ${greeting}, ${name}!
  | 

I try to use the tag in a simple page, such as:

  | <%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
  | 
  | 
  | 
  | Tag Files Example
  | 
  | Tage Files Example
  | 
  | 
  | 
  | 

Deploys to JBoss 4.0.1 OK, but when accessing the above page it gets:

java.lang.RuntimeException: org.apache.jasper.JasperException: 
/WEB-INF/tags/test2.tagx(1,2) The markup in the document preceding the root 
element must be well-formed.

org.apache.jasper.compiler.ImplicitTagLibraryInfo.getTagFile(ImplicitTagLibraryInfo.java:129)
org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1306)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1560)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)

org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


However, older style tag files do work OK, such as the following:
http://java.sun.com/JSP/Page"; version="2.0">
  |   
  |   
  | 
  |   A sample link:  ${b} 
  | 
  | 

Does JBoss 4.0.1/Tomcat support the newer syntax?  Do I need to configure 
something special to enable that syntax?


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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Configuring JBoss 4.0.1 to use SonicMQ 6.1

2005-01-22 Thread headljd
I had problems getting Sonic's example for Configuring JBoss 3.2.5 with Sonic 
6.1(http://www.sonicsoftware.com/cgi-bin/sonic.cgi/dx_view_entry.w?entry_id=188)
 to work in JBoss 4.0.1.  When JBoss started it gave the following exception:

550 ERROR [org.jboss.jms.jndi.JMSProviderLoader] Starting failed 
jboss.mq:name=JBossMQProvider,service=JMSProviderLoader
java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.jms.jndi.JBossMQProvider
at 
org.jboss.mx.loading.LoadMgr3.beginLoadTask(Lorg.jboss.mx.loading.ClassLoadingTask;Lorg.jboss.mx.loading.UnifiedLoaderRepository3;)Z(LoadMgr3.java:292)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(Ljava.lang.String;ZI)Ljava.lang.Class;(RepositoryClassLoader.java:464)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(RepositoryClassLoader.java:374)
at 
java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown 
Source)
at 
org.jboss.jms.jndi.JMSProviderLoader.startService()V(JMSProviderLoader.java:195)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart()V(ServiceMBeanSupport.java:272)
...

The fix is to edit the sonicmq-service.xml file in the deploy directory and 
change 
 org.jboss.jms.jndi.JBossMQProvider  to org.jboss.jms.jndi.JNDIProviderAdapter. 
 Restart JBoss and the example MDBs will work as advertised.

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

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


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


[JBoss-user] [Installation & Configuration] - Configuring JBoss to work with Hibernate 3...

2005-01-22 Thread BigCanOfTuna
I am trying to configure JBoss 4.0.1 to use Hibernate3b instead of 2.x. I 
believe this should be possible, but I am encountering some errors.

First, here is how the server is configured:

  | ./deploy/jboss-hibernate.deployer   < (as downloaded with distribution)
  | /hibernate3.jar   <-(replaced hibernate2.jar)
  | /cglib-full-2.0.2.jar  < (replaced 2.0.1)
  | /odmg-3.0.jar
  | /jboss-hibernate.jar
  | 
./deploy/application.jar<- (My new HAR with domain objects)
  |/ *domain class files*
  |/ *domain class mappings (hbm.xml)
  |/ meta-inf
  | / hibernate-service.xml
  | 
hibernate-service.xml:



  | 
  | java:/DefaultDS
  | net.sf.hibernate.dialect.HSQLDialect
  | java:/hibernate/SessionFactory
  | 
  | net.sf.hibernate.cache.HashtableCacheProvider
  | 
  | 
  | 
  |  

AuditInfoType.java:

public class AuditInfoType implements org.hibernate.usertype.UserType {
  |   ..
  | }

PROBLEM:

When I deploy my application.har file, I get the following exception:

net.sf.hibernate.MappingException: Could not interpret type: 
com.myapplications.hibernate.AuditInfoType
  | at net.sf.hibernate.cfg.Binder.getTypeFromXML(Binder.java:934)
  | at net.sf.hibernate.cfg.Binder.bindSimpleValue(Binder.java:435)
  | at net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:1047)
  | at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:362)
  | at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1256)
  | at net.sf.hibernate.cfg.Configuration.add(Configuration.java:252)
  | at 
net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:
  | 288)
  | at net.sf.hibernate.cfg.Configuration.addJar(Configuration.java:396)
  | at 
org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:
  | 574)
  | at 
org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:551)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
  | upport.java:272)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
  | eanSupport.java:222)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch


Any idea what the problem could be? Have I configured JBoss correctly for 
Hibernate3? 

Please let me know if you need any more information..
thanks!
BCOT.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: oracle blob bug exposed in org.jboss.mq.pm.jdbc3.Persist

2005-01-22 Thread javajedi
Check out the Oranxo JDBC driver for Oracle at 
http://www.inetsoftware.de/English/Produkte/ORANXO/.  We are using this because 
it doesn't have the ridiculous 4k blob problem that Oracle's JDBC drivers do.

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

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


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


[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP Bean Finder expression error

2005-01-22 Thread fbiaggi
Hi,
the >= operator is not supported on ejb-ql specifications.
Use jboss-ql instead

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

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


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


[JBoss-user] [Beginners Corner] - HelloWorldMBean using JBoss

2005-01-22 Thread amerigo5
Hi, how can I run the HelloWorldMBean sample by Sun on JBoss? Thanks?

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

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


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


[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.1 and xalan

2005-01-22 Thread nkerickson
Thanks for the quick response!



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

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


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


[JBoss-user] [Persistence & CMP/JBoss] - Re: Memory Leak: Read-Only Method

2005-01-22 Thread [EMAIL PROTECTED]
Is there a chance you could try also 3.2.6 and provide deployment descirptors 
and any changes you applied to standardjboss(cmp-jdbc.xml) files?
Also please open an issue in jira.jboss.com for this. Thanks.

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

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


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


[JBoss-user] [Persistence & CMP/JBoss] - Re: delete and insert vs update

2005-01-22 Thread [EMAIL PROTECTED]
Since there is no a testcase attached to the issue, it would be nice if you 
could provide one. Thanks.

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

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


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


[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.1 and xalan

2005-01-22 Thread [EMAIL PROTECTED]
You have to use the xerces parser found in the jboss-4.0.1/lib/endorsed 
directory so you need a -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" option as 
is done with the run.sh/run.bat scripts.

Alternatively if your not using jaxr you can just remove the 
all/deploy/ebxmlrr-service.sar directory.


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

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


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


[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.1 and xalan

2005-01-22 Thread nkerickson
I am getting the same using jdk j2sdk1.4.2_6. I am starting JBoss using the 
JBoss IDE plugin for eclipse. Any ideas?

Thanks,
Neil

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

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


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


[JBoss-user] [JBossWS] - Unable to deploy with a custom container configuration

2005-01-22 Thread forkbomb
Using JBoss 4.0.1, I get an error when attempting to deploy with a custom 
container configuration:


  | org.jboss.deployment.DeploymentException: Failed to find 
InvokerProxyBindingMetaData for: 'session-webservice-invoker'. Check the 
invoker-proxy-binding-name to invoker-proxy-binding/name mappings in jboss.xml
  | 

standardjboss.xml doesn't even define a session-webservice-invoker invoker 
proxy binding... The only thing I'm trying to do in my custom container 
configuration is add an interceptor. Here's the relevant portion from jboss.xml:


  | 
  | 
  | My Custom Stateless SessionBean
  | 
  | my.custom.Interceptor
  | 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
  | org.jboss.ejb.plugins.LogInterceptor
  | 
org.jboss.ejb.plugins.SecurityInterceptor
  | 
  | org.jboss.ejb.plugins.TxInterceptorCMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | org.jboss.ejb.plugins.MetricsInterceptor
  | org.jboss.webservice.server.ServiceEndpointInterceptor
  | org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
  | 
  | org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
  | org.jboss.ejb.plugins.TxInterceptorBMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | org.jboss.ejb.plugins.MetricsInterceptor
  | org.jboss.webservice.server.ServiceEndpointInterceptor
  | 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
  | 
  | 
  | 
  | 

This is just a cut and paste of the container interceptors from 
standardjboss.xml with my own interceptor added. All session beans will deploy 
properly with this configuration exception the service endpoints. The service 
endpoints will deploy properly with the standard container configuration. I 
have not changed standardjboss.xml in any way. Any ideas on why JBoss is 
looking for session-webservice-invoker?

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

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


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


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

2005-01-22 Thread [EMAIL PROTECTED]
Whatever your hostname command returns needs to map to a valid interface  so 
that is what is needed in the hosts file.

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

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


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


[JBoss-user] [Persistence & CMP/JBoss] - Re: EJB QL/JBoss QL possible across a collection?

2005-01-22 Thread HariV
 query="SELECT OBJECT(h) FROM Parent AS h , Child AS d WHERE d.commodityCode=?1 
AND d MEMBER OF h.details"


This query check for a commodity code in the child and checks whether the 
matching child belongs to a parent.


In your case

 query="SELECT OBJECT(h) FROM GrandParent AS GP , Children AS CH, GrandChildren 
AS GC, Gender GT WHERE GT.id=1 AND GT MEMBER OF GC AND GC MEMBER OF CH AND CH 
MEMBER OF GP


Please try this

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

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


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


[JBoss-user] [Persistence & CMP/JBoss] - Re: Memory Leak: Read-Only Method

2005-01-22 Thread HariV
what is the configuration  you are using. Are you using "Instance Per 
Transaction"? If you are using Instance per transaction, an instance will be 
created for every transaction. 

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

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


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


[JBoss-user] [Beginners Corner] - Problem in running the Duke Bank Example

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

I am using jboss 4.0.1 with java 1.4.1 on WinXP SP2

Thanks in advance. 

The lserver logs are :- 



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

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

java.lang.NoClassDefFoundError: $Proxy77

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

at org.jboss.mx.server.Invocation.invoke(Invocation.java

[JBoss-user] [HTTPD, Servlets & JSP] - apache 5 tomcat with jboss 4.01

2005-01-22 Thread zdavidlnx
Hi

is Apache tomcat 5 "emdebed" with jboss 4.0.1?

Tomcat 5 is use as the default server for JSP and Servets. isnt it?

so i have to use Apache tomcat configuration files or have i to use specific 
files from jboss to use it as JSP/Servlets Server?

are configuration different when using JSP/Servlets with jboss/tomcat or  
tomcat alone? for JSP/Servets applications .

Thank you in advance, and sorry for my english.

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

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


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


[JBoss-user] [Installation & Configuration] - DHCP woes

2005-01-22 Thread chrismalan
Since getting the broadband JBoss does not start without problems anymore.  I 
used to connect to the old computer via an ethernet card and use the dial-up 
modem of the old computer.  An ISA modem which worked many years without 
problem.  Now the same ethernet card is connected to the ASDL modem.  My 
provider supports Dynamic Host Configuration Protocol.

That means I get assigned a new IP address every time I boot up.  My initial 
line in a term window looks like this:   [EMAIL PROTECTED] chris]$

/etc/hosts looks like this: 127.0.0.1 localhost
That is all.

The same exeption gets thrown in many places:

11:59:18,831 ERROR [HttpInvokerHA] Starting failed
java.net.UnknownHostException: d220-236-86-83.dsl.nsw.optusnet.com.au: 
d220-236-86-83.dsl.nsw.optusnet.com.au
at java.net.InetAddress.getLocalHost(InetAddress.java:1191)

The above is JBoss/Jetty 3.2.0

In JBoss/Tomcat 4.0.0 the exception is:

12:35:23,188 ERROR [CorbaORBService] Starting failed jboss:service=CorbaORB
org.omg.CORBA.INITIALIZE: Could not resolve configured listener host  vmcid: 
0x0  minor code: 0  completed: No
at org.jacorb.orb.iiop.IIOPListener.getHost(IIOPListener.java:436)

With the summary at the end:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss:service=CorbaORB
 state: FAILED
 I Depend On:
 Depends On Me:  jboss:service=invoker,type=iiop
 jboss:service=CorbaNaming
 jboss:service=CorbaTransaction
org.omg.CORBA.INITIALIZE: Could not resolve configured listener host  vmcid: 
0x0  minor code: 0  completed: No

The UnknownHostException also gets thrown in JBoss4 if I start JBoss as -c all

Should I add another line to /etc/hosts?  If so, what form should it take?

Thanks,


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

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


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


[JBoss-user] [Installation & Configuration] - Re: what are username and pwd

2005-01-22 Thread chrismalan
The username and password of a user with full access and privileges to the 
database in question.  Mostly, the username and password of the user who creted 
the database.  By database I don't mean MSSQL Server (the database server), but 
something like "ClientsDatabase" or whatever.

Of course, in a Windows world there may be no username and password.  I am not 
sure if MSSQL Server will allow that.  In that case I suppose an empty string 
would do.

Hope this helps.

Chris

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Connection pooling???

2005-01-22 Thread arnold
Hi Adrian,

I have set up JMS connection pooling using java:/JmsXA, but running into 
problem with durable subsctriptions.

Is there a way to set the client ID on the connection obtained from the pool? 
JBoss throws error when I try to call setClientID() on the connection object. 

I am using JBoss 3.2.4

Regards,
Arnold

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

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


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


[JBoss-user] [HTTPD, Servlets & JSP] - How to disable Automatic Redirection to last accessed resour

2005-01-22 Thread poojac20
Hi 

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

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

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

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

Thanx
--- Pooja. 

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

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


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


[JBoss-user] [EJB/JBoss] - null returned for DOUBLE value after a findByPrimaryKey()

2005-01-22 Thread lahirukarunatilake
HI,

Im using JBOSS 3.2.3 and mysql 5. My table has a field with DOUBLE(5,2) as 
the data type. When I try to do a findByPrmaryKey on that table using the EJB 
it returns a null value. but I can use ejbCreate and insert values to that 
field. Further I can get the value to that field by using an EJB-QL. The type 
of the cmp field is of java.lang.Double.

The funny thing is when I change the data type of the cmp field to 
java.math.BigDecimal it works fine.

Any ideas ???

Thanks in advance...
Lahiru.

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

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


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