[JBoss-user] [Installation & Configuration] - Loading resources that are not part of the J2EE application

2005-02-08 Thread karink
Hi,

I try to load property files and other resources from a directory
that is not part of my J2EE application. Resources are not packaged
inside a jar file

I did the following configuration:
Deployment is made via JMX by means of addUrl of the DeploymentScanner.
The deployed directory looks like this


  | * jboss-service.xml
  | * war - file
  | 

The content of the jboss-service.xml looks like this

  | 
  | com.winterthur.jackpot.karin:loader=sample.ear
  | java2ParentDelegation=false
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

I defined the same loader repository in the jboss-web.xml of the War file.

In the servlet I try to load a resource that is located inside the directory
commonresources

  | URL 
url=Thread.currentThread().getContextClassLoader().getResource("myresource.txt");
  | 

In the server.log file the following is logged:

  | 2005-02-08 16:58:05,776 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] 
Added url: file:/C:/commonresources/myresource.txt, to ucl: [EMAIL PROTECTED] 
url=file:/C:/eplatform/jboss/4.0/server/eplatform/tmp/deploy/tmp16962jboss-service.xml
 ,addedOrder=11}
  | 

The file myresource.txt cannot be loaded.
But it can be loaded if I place the file myresource.txt in
a Jar file and put it in the directory C:/commonresources/.
It can be loaded as well when I create a sub-directory in the folder 
C:/commonresources/mydirectory
(e.g.  C:/commonresources/mydirectory) and put my file there.
Is this really the way to do it? Is something wrong with this configuration.
Thanks and regards
Karin

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

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


---
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: Creating Webservice from WSDL

2005-02-08 Thread Andy_Wagg
I used wscompile to create the jaxrpc-mapping.xml using the following option to 
wscompile,

-mapping ${src.dir}/WEB-INF/jaxrpc-mapping.xml

My wsdl was also a .NET document literal and had multiple parameters to the 
operations, so i also had to use the following wscompile option,

-f:wsi

The final problem I had with this was the generated service endpoint interface 
was correct, but the JBoss geneated wsdd was not, this took my operation with a 
IN parameter and a return and produced one with just an INOUT parameter.

To solve this I created a ws4ee-deployment.xml which had to be put in the 
WEB-INF directory, this just included the operations with the correct return 
types and parameters etc.

Hope this helps,

Andy

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

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


---
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] [JBoss.NET] - Re: javax.naming.NameNotFoundException

2005-02-08 Thread wolfc
The jndi-name from web-service.xml doesn't match the jndi-name from the 
SessionBean xdoclet tags.

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

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


---
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] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread [EMAIL PROTECTED]
Go to the j2eetutorial14 directory and unzip jbossj2ee-src.zip INSIDE that 
directory.  As in:


  | [EMAIL PROTECTED] orb]$ cd /tmp/j2eetutorial14/
  | [EMAIL PROTECTED] j2eetutorial14]$ unzip /tmp/jbossj2ee-src.zip 
  | ... lots of output deleted ...
  | [EMAIL PROTECTED] j2eetutorial14]$ # edit jboss-build.properties 
  | [EMAIL PROTECTED] j2eetutorial14]$ cd examples/bank/
  | [EMAIL PROTECTED] bank]$ ant -f jboss-build.xml
  | ... lots of successful building deleted ...
  | 



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

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


---
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 and httpsession

2005-02-08 Thread leeson1125
"sj_bennett" wrote : Actually, I don't think that this is a JAAS issue at all. 
I think that the 2 IE windows share the session information on a single user 
computer. The 2nd window should not require a login at all. 
  | steve

Not exactly:
If there is one username "Admin", and one user login as "ADMIN" and the other 
one login using "AdMin", actually there are two principals, and different 
session for different user.

If both login using exactly same user name. there is only one principla and one 
session.

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

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


---
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: jUDDI part of JBoss 4.0?

2005-02-08 Thread mackenna
Hi Anil 

I have used UDDI4J successfully to register organizations in the directory.  
Will get back to the Scout implementation once I am done with the UDDI4J client 
implementation.  

Thank you for the tips.  

Mackenna



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

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


---
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: Security Propagation between JVM's

2005-02-08 Thread mklaver
After hours and hours of evaluating the differences between the two 
applications I found the difference that caused the problem. To use the 
ClientLoginModule of JBoss in Tomcat you need to add the jbossall-client.jar in 
your classpath. I did that, but I also had this library in WEB-INF/lib of my 
webapp and for some reason this caused that the credentials where not passed 
during my call to the secured EJB. Removing the jbossall-client.jar from the 
WEB-INF/lib directory did the trick.

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

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


---
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 4.0 and struts 1.0

2005-02-08 Thread pittupgd
Hi All,
I am using JBoss 4.0 and struts1.0.
My ear is getting deployed properly but when I give the following url 
http://localhost:8080/userLogin.jsp
it gives me the following error

org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo 
class: org.apache.struts.taglib.html.MessagesTei

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)

org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)

org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:283)

org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:422)

org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)

org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:162)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
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)


root cause 

java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)

org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:419)

org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)

org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:162)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
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)

Doesn't struts 1.0 work with Tomcat 5.0.28  version.
What shud I do to remove this error.
I have to use JBoss 4.0 and Struts 1.0 only.
Any help would be appreciated ..
Thanks.
Regards
p2pgd

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

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


---
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] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread khoa
"[EMAIL PROTECTED]" wrote : To use the getting started guide, try:
  | 
  | jboss-4.0.1
  | Sun J2EE tutorial update 4
  | Getting Started Guide release 3
  | 
  | First install JBoss then unpack the J2EE tutorial.  Next, go to 
j2eetutorial directory and unpack the jbossj2ee-src.zip file.  Then things 
should be in sync.  I wish we could make the process easier, but we can't ship 
the j2ee tutorial code.  It is an unfortunate two-step process...
  | 
  | 
Just to clarify the steps a bit further. Hopefully.
unpack jboss-4.0.1
unpack Sun J2EE tutorial update 4
unpack Getting Started Guide release 4 code
copy jboss-build.properties and jboss-build.xml(from where ever you'd unpacked 
Getting Started Guide release 4 code) to ..\examples\bank(where ever you'd 
unpacked Sun J2EE tutorial)
edit the second line in jboss-build.xml to 
And various other settings(Drop me a line if you want to know more)
Now you can do an ``ant -f jboss-build.xml -verbose compile''

Sorry if I've missed something.
Hope this helps.
Courtesy to  [EMAIL PROTECTED]

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

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


---
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] - "Error reading descriptors" is shown starting "all" server

2005-02-08 Thread anil007
Problem: "Error reading descriptors" is shown starting  "all" server jboss4.0.1.
Steps:
1. Go to command prompt & type: 
run -c all
2. it gives the exception "Error reading descriptors" 

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

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


---
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] - Error reading descriptors

2005-02-08 Thread anil007
11:26:31,343 INFO  [EJBDeployer] Deployed: 
file:/C:/jboss-4.0.1/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/
11:26:32,656 ERROR [MbeansDescriptorsIntrospectionSource] Error reading 
descriptors
java.lang.NullPointerException
at 
org.apache.commons.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:348)
at 
org.apache.commons.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:128)
at 
org.apache.commons.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:121)
at org.apache.commons.modeler.Registry.load(Registry.java:819)
at 
org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931)
at 
org.apache.commons.modeler.Registry.findManagedBean(Registry.java:719)
at 
org.apache.commons.modeler.Registry.findManagedBean(Registry.java:1047)
at 
org.apache.commons.modeler.BaseModelMBean.initModelInfo(BaseModelMBean.java:1304)
at 
org.apache.commons.modeler.BaseModelMBean.setModeledType(BaseModelMBean.java:1277)
at org.apache.commons.modeler.BaseModelMBean.(BaseModelMBean.java:204)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1212)
at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:239)
at 
org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:299)
at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:325)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)

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

Reply to the post : 
http://www.jboss.org/index.html?mod

[JBoss-user] [EJB/JBoss] - query

2005-02-08 Thread prashanthkumar
I am using jboss-4.0.0. ejbLoad() method is called every time when i called 
remote method from client.

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

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


---
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: Help cannot datasource from Schedulable

2005-02-08 Thread frenchmb
Ignore forgot the java: prefix brain dead. 

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

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


---
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] - Help cannot datasource from Schedulable

2005-02-08 Thread frenchmb
Hi,

I have written a schedulable class which requires a database connection but 
everytime I try to get it via JNDI with jdbc/Smd4 a naming exception is thrown. 
Do i need a resource ref in the jboss-service.xml?

Cheers

Mark

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

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


---
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] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread [EMAIL PROTECTED]
You don't need to configure the build.xml file.  You need to use the 
jboss-build.xml file in the getting started guide code.  It really does work 
and there is no magic to making it work.  Put the JBoss with the sun code and 
follow the instructions in the getting started guide. 

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

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


---
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] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread khoa
"[EMAIL PROTECTED]" wrote : To use the getting started guide, try:
  | 
  | jboss-4.0.1
  | Sun J2EE tutorial update 4
  | Getting Started Guide release 3
  | 
  | 
You suggested following the Getting Started Guide release 3 tutorial. Am I 
using the correct one then? Or is it worthwhile for me to look up some ant 
tutorials and configure the build.xml file?
Thanks.

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

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


---
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: Where do you put .jar files?

2005-02-08 Thread ramjav
Thank you, darranl.  That's very helpful.

However, what I am asking is  that say you have THAT jar file  in the correct 
directory and say you have another .jar file that you've previously created 
that you want to call from the bean implementation where do you put it?  In the 
lib directory of jboss?  Where?

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

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


---
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] - How to map external files outside jboss folder

2005-02-08 Thread holyhail
Hi guys,
   How can i map external files outside jboss? For example, the files I want to 
access is in C:/External_Files/. So if i am testing it in my localhost, the url 
would still be http://localhost:8080/project/file.pdf and not 
C:/External_Files/file.pdf.

Many thanks.

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

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


---
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] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread [EMAIL PROTECTED]
Obviously the 3.2 getting started guide is not the correct choice.

 The getting started guide explains how to build, and you'll notice that every 
ant command has "-f jboss-build.xml".  The jboss build targets are all in 
jboss-build.xml.  



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

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


---
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: Basic problem with HTTPS

2005-02-08 Thread sj_bennett
Mine works and this is what is in my server.xml file.

 
  |   

Then I don't use the ':8443' on the URL string. I do this because using port 
8443 didn't work through our firewall.

steve

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

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


---
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: Basic problem with HTTPS

2005-02-08 Thread pemorob
I tried that but with no success.

Rob


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

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


---
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: Basic problem with HTTPS

2005-02-08 Thread sj_bennett
Try this:

The keystore should go in
D:\jboss-3.2.3\server\default\conf 

Then your path to the keystore file should be
keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"

steve

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

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


---
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 and httpsession

2005-02-08 Thread sj_bennett
Actually, I don't think that this is a JAAS issue at all. I think that the 2 IE 
windows share the session information on a single user computer. The 2nd window 
should not require a login at all. 

steve

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

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


---
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] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread khoa
"[EMAIL PROTECTED]" wrote : To use the getting started guide, try:
  | 
  | jboss-4.0.1
  | Sun J2EE tutorial update 4
  | Getting Started Guide release 3
  | 
  | 
I obtained JBoss Getting Started Guide 3.2.x from 
http://www.jboss.org/docs/index
 However, it does not seem to correspond to Sun J2EE tutorial update 4. For 
instance, there's no target compile in build.xml. So, ant compile will not work.
Is there a tutorial that corresponds Sun J2EE tutorial update 4 Duke Bank tute.
Thanks.
P.S. I tried  JBoss Getting Started Guide 4.0 (v3) too.

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

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


---
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: Help needed creating an MDB Container for WebSphere MQ X

2005-02-08 Thread [EMAIL PROTECTED]
It would be helpful to know which WIKI post you are talking about?
i.e. post the link

The mdb works in the following fashion:

ConnectionConsumer (WSMQ) -> ServerSessionPool (org.jboss.jms.asf) -> 
JMSContainerInvoker (org.jboss.ejb.plugins.jms) -> MDB instance (your code here)

You could instead of creating a ServerSessionPool do:
Background thread(s) -> JMS Session with receiver.receive()
-> JMSContainerInvoker -> MDB instance

But you would have to do the XASession.getXAResource()
and enlist into the transaction yourself.

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

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


---
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: DataSource cannot be found by JNDI-Name

2005-02-08 Thread [EMAIL PROTECTED]
Moderated: FAQ

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

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


---
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: No suitable driver

2005-02-08 Thread [EMAIL PROTECTED]
And your connection-url is pants (a technical term meaning broken :-).

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

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


---
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] - How do I define JNDI in order to call the session bean from

2005-02-08 Thread ngoclongy2k
hi,

How should I define the JNDI name in descriptor file ?
And which file should I modify the JNDI name ?


Thank you very much for your help.



ngoclongy2k

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

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


---
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: How to get the native Oracle Connection

2005-02-08 Thread [EMAIL PROTECTED]
Moderated: FAQ

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

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


---
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] - How can a Servlet call an session bean ?

2005-02-08 Thread ngoclongy2k
hi,

I am new in JBoss.

And I wonder how can I call an session bean from a servlet ?

If you can post the description XML, that will be really great.

Do you have any website to show example codes ?

Thank you very much in advance and your time.



ngoclongy2k

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

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


---
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: INSERT never rolls back

2005-02-08 Thread [EMAIL PROTECTED]
Moderated FAQ: Use a database/table implementation that actually supports 
transactions.

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

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


---
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: Secure DataSource connection informations

2005-02-08 Thread [EMAIL PROTECTED]
Moderated: RTFM

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

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


---
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: Cursor and Jboss-?????

2005-02-08 Thread [EMAIL PROTECTED]
This is NOT the Oracle jdbc driver support forum.

Google is your friend:
http://www.google.com/search?hl=en&lr=lang_en&safe=off&q=SQL+Types.OTHER+oracle+%22Invalid+column+type%22&btnG=Search

Why you haven't already done this is beyond me.

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

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


---
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: multiple inbound resource adapter instances

2005-02-08 Thread [EMAIL PROTECTED]
Moderated: Ignored due to lack of information.

Logging, config files, etc.

Please anything except "IT DOES NOT WORK".

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

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


---
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: Template engine

2005-02-08 Thread Praline
I just find velocity:
http://jakarta.apache.org/velocity/

If there are some other it will be great but Velocity seems to be very nice.

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

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


---
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: Where do you put .jar files?

2005-02-08 Thread darranl
Assuming your jar file contains: -

The bean implementation.
The remote interface (And / Or possible local interface).
The home interface (And / Or possible the local home interface)
And the ejb-jar.xml in the META-INF folder.

If you started JBoss with the run script with no arguments.

Put the jar in '{jboss.home}/server/default/deploy'



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

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


---
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] - Template engine

2005-02-08 Thread Praline
Hello,

I'm new in servlet.
Before I was used to use PHP with a template engine named SMARTY.

I just want to know if there are some template engine like SMARTY but for 
servlet. It can help to manage multi design web site.

Thank a lot.

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

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


---
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: no META-INF/application.xml found on new deployment

2005-02-08 Thread darranl
Gemerally if you are copying a large file (Even on the same partition), every 
byte needs to be copied to the new file - the file appears before the copy is 
complete which is why JBoss is raising an error.

If instead you move the file to a different location on the same partition, 
there is no need for it to be copied byte by byte, instead just the pointer to 
the file is updated so JBoss will be able to read the entire file without 
attempting to read a partly written file.

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

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


---
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: Where do you put .jar files?

2005-02-08 Thread ramjav
I guess what I am trying to do is write a simple session ejb where the 
implementation (bean part) calls a framework that I made (jar file).  I just 
want to know where to put this jar file.  Does that make sense?

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

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


---
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] - possible to tell JBoss when it's ok to accept client connect

2005-02-08 Thread khohl
My application contains a servlet with an init() method that can take quite a 
while (could be minutes) to complete.  I want to prevent JBoss from being used 
by clients until it is complete.  The rest of my application consists of a set 
of stateless session EJBs and I don't want clients to be able to lookup home 
interfaces or create remote interfaces from the home.

Is there any way I can tell JBoss when it's ok to start accepting connections?


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

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


---
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] - Creating Webservice from WSDL

2005-02-08 Thread ranaaich
Hello All,

I have read several threads in this forum (JBossWS). Previously I wrote 
web-service using JBoss.net. However we have decided to rewrite it using 
JBossWS.

Previously I was using WSDL2Java tool from Axis - Now as recomended by JBOSSWS 
I intend to use wscompile to generate the service's RMI interface and a 
template of the class that implements the interface.

I am using the following command:

wscompile -import -keep  -d  config.xml

Config.xml points to the WSDL file.
My intension is to write the Custom Code in the Implementation file after 
generationg the code. 

My question is - do I need to write jaxrpc-mapping.xml by hand or we can use 
the wscompile tool for creating jaxrpc-mapping.xml.

If yes, then which option of wscompile shall I invoke to create 
jaxrpc-mapping.xml.

If we have to write by hand how will I input the RequestType and ResponseType 
mapping in jaxrpc-mapping.xml? I'm not sure If I have to write 
ws4ee-deployment.xml also.

Can anyone pleaase throw some light?
Thanking all in advance.


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

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


---
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: JSPs not compiling with JBOSS 3.2.5(Tomcat5.0) on Solari

2005-02-08 Thread dsbernie
Also,

I am using JDK 1.4.2 and the Solaris box is an Old Sparc Ultra 5.  

Thanks

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

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


---
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] - remote call from jboss 4.0.1 (client) to jboss 3.2.3 (server

2005-02-08 Thread madeonmoon
hello all,

i have a session bean deployed under jboss 3.2.3 and i am trying to call it 
remotely from a session bean deployed under jboss 4.0.1. i am getting

javax.naming.CommunicationException [Root exception is 
java.io.InvalidClassException: org.jboss.util.id.GUID; local class 
incompatible: stream classdesc serialVersionUID = 6926421946503004889, local 
class serialVersionUID = 3289509836244263718]

even though the code on the calling bean is the same as the called one. is it 
not possible to interchange the two (should both beans be deployed under the 
same version of jboss for it to work)?

thanks for any help!
james   

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

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


---
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] - JSPs not compiling with JBOSS 3.2.5(Tomcat5.0) on Solaris 8

2005-02-08 Thread dsbernie
When JBoss is launched everything starts fine but when I hit my first .jsp page 
I just see the white page before the .jsp is compiled and then rendered to the 
browser.  The jsp never is compiled by jasper.  I have checked the work 
directory and a _jsp.java file is created but it is size of 0.  

I have confirmed that jasper does work by compiling smaller jsp pages but it 
will not work withgthe larger ones.  I have tried precompilation on startup but 
it still hangs.

On JBoss startup I noticed abotu 70% CPU usage so maybe the machine isnt stout 
enough to handle the jasper compilation. 

Has anyone seen this activity?  Any thoughts?

Thanks,

Dsbernie

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

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


---
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] - Jboss/Hibernate accessed from Coldfusion

2005-02-08 Thread tlh1005
 
Hi, I have JBoss 4.0.1RC1 sitting on one machine and ColdfusionMX7 sitting on 
another. I have a har deployed on Jboss as well as a session ejb to act as a 
DAO. Now all of these things work fine when I access the har or the DAO from a 
java client. I can access the DAOejb from a ColdFusion page, but when I use a 
getter to transport the persistance class 

student = DAOejb.getStudent() 


I get an internal server error and this is printed to the screen: 

org/jboss/invocation/MarshalledInvocation$DeclaredMethodsAction 

This is very odd as it is causing an internal server error on coldfusion but 
there is no stack trace, ONLY what above is shown on the screen and in the 
erros logs, no other information is given. Does anyone have any idea why the 
name of this class would be printed to the screen, it seems like there is a 
problem transporting the student object from jboss to CFServer. 


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

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


---
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] - Initial Start Date for startup class

2005-02-08 Thread kongdy
Hi,

I am trying to write a MBean startup class to startup my ejb scheduler when 
deploy.  In my MBean class, I have

protected void startService() throws Exception {
   ...
  timer.initializeTimer(getFirstDate(), getInterval(), getName());
}

My question is, what value do I put for the attribute 'firstDate' in the 
jboss-service.xml if I want it to always set to the current date time?


 .
 ??
  6
  MyTimer
  .


Thanks.

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

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


---
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] - Reagrding Custom Container Interceptors

2005-02-08 Thread vainq
Hi,
 I have written a custom client interceptor and have included that in the 
interceptor stack in the jboss configuration for CMP entity bean related 
container Configuration.

I was thinking that the interceptor would be instantiated only once in a 
container.
However, the create() method of the container interceptor seems to be invoked 
when each entity is deployed in the container.
 
What am I missing here?

Thanx,
_Narain

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

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


---
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: state replication of non-serializable fields

2005-02-08 Thread keyurva
Thanks for your reply... I'll try the interceptor approach... Do you have 
thoughts into what the workflow of this interceptor should be like?

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

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


---
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] - Best Practices

2005-02-08 Thread john_anderson_ii
I'm writing an application that I plan on securing with JAAS.  The 
application's user will be authenticating/authorizing against a SQL database.  
I need a bit more functionality than provided by 
org.jboss.security.auth.spi.DatabaseServerLoginModule.

Is it  workable to extend DatabaseServerLoginModule and distribute it with my 
application?  If so, will the standard conf/login-config, web.xml, 
jboss-web.xml scheme still work even though the module code is in a different 
package?   On the other hand, is it considered best practice to implment 
LoginModule myself and if so, how will the http invoker know to execute this 
code?

Thanks for your patience.

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

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


---
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] - Tomcat & JBoss EJB question

2005-02-08 Thread [EMAIL PROTECTED]
CAN SOMEBODY TELL ME WHY objRef IS NULL?

Configuration
Tomcat 5.0.28 single instance running outside of JBOSS on 8080
+ Web application running on this instance
+ This is the EJB client
JBoss 4.0.1 running with Tomcat on 9090


  | InitialContext ic = new InitialContext();
  | Object objRef = ic.lookup("java:comp/env/FirmBean");
  | 

ejb-jar.xml

  | 
  | http://java.sun.com/xml/ns/j2ee";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  |  http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";
  |  version="2.1">
  | 
  | 
  | FirmBean
  | com.q4i.wealth.ejb.FirmHome
  | com.q4i.wealth.ejb.FirmRemote
  | com.q4i.wealth.ejb.FirmBean
  | Stateless
  | Container
  | 
  | 
  | 
  | 
  | 
  | 

application.xml

  | 
  | http://java.sun.com/j2ee/dtds/application_1_2.dtd";>
  | 
  | 
  |   Wealth_Management_EJB
  |   
  | wealth-ejb.jar
  |   
  | 
  | 

wealth.xml located in C:\jakarta-tomcat-5.0.28\conf\Catalina\localhost

  | 
  | 
  | 
  | 
  | java.naming.factory.initial
  | org.jnp.interfaces.NamingContextFactory
  | 
  | 
  | java.naming.provider.url
  | jnp://localhost:1099
  | 
  | 
  | java.naming.factory.url.pkgs
  | org.jboss.naming:org.jnp.interfaces
  | 
  | 
  | 

web.xml

  |   
  | FirmBean
  | Session
  | com.q4i.wealth.ejb.FirmHome
  | com.q4i.wealth.ejb.FirmRemote
  |   
  | 

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

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


---
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: JBoss and struts

2005-02-08 Thread bamajob.nl
I searched everywhere and I still don't found how to solve the problem. Does 
somebody know if it is a bug?

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

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


---
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] [Javassist user questions] - Re: Get a private final static field

2005-02-08 Thread dechamps
Thanks you Chiba, I'll do my best with the low-level API  
 I have tried the solution you give.
My field private final static String JDEdoc was created thru javassist using a 
static initializer.
Here under the output I obtain trying to get the value of JDEdoc in the class 
bytecode. According to the output,the JDEdoc field has no Attribute and no 
index in the Constant pool
Using the "ByteCode Viewer" tool, I can see the value in the clinit code

ldc #22 <..1p1yga here is the value I need .>
invokespecial #25 
putstatic #18 
...
So I have to decompile the clinit bytecode and fetch inside it the relationship 
beetween entry 14 and entry 21? 
Scanning for LDC/INVOKESPECIAL/PUTSTATIC sequence in clinit,I can obtain the 
value I need.
 0=aconst_null
1=astore_1
2=jsr
5=return
6=astore_0
7=new
10=dup
11=ldc #22 1p1yga .here is the value I need .
13=invokespecial 25
16=putstatic 18 JDEdoc

Sequence found
FieldName=JDEdoc
Value=1p1ygaqw3uj here is the value I need .

In that case, is there an easiest way to proceed?
Is it possible to find directly in constant pool the relation #22 <==> #18?

Dominique 
 

 THE OUTPUT 
  Field JDEdoc descriptor is Ljava/lang/String;
Field JDEdoc is private static final
Field JDEdoc has a constant_pool table.
1 Method #3, name&type #10
2 Class #11
3 Class #12
4 UTF8 ""
5 UTF8 "()V"
6 UTF8 "Code"
7 UTF8 "LineNumberTable"
8 UTF8 "SourceFile"
9 UTF8 "BCLASS.java"
10 NameAndType #4, type #5
11 UTF8 "JA/Tools/jdep/test/BCLASS"
12 UTF8 "java/lang/Object"
13 UTF8 ""
14 UTF8 "JDEdoc"
15 UTF8 "Ljava/lang/String;"
16 Class #11
17 NameAndType #14, type #15
18 Field #16, name&type #17
19 UTF8 "java/lang/String"
20 Class #19
21 UTF8 "1p1yga here is the value I need "
 22 String #21
23 UTF8 "(Ljava/lang/String;)V"
24 NameAndType #4, type #23
25 Method #20, name&type #24
26 UTF8 "getDocumentation"
27 UTF8 "()Ljava/lang/String;"
28 NameAndType #14, type #15
29 Field #16, name&type #28
30 UTF8 "JA/Utils/Gzip"
31 Class #30
32 UTF8 "gunzip36"
33 UTF8 "(Ljava/lang/String;)[B"
34 NameAndType #32, type #33
35 Method #31, name&type #34
36 UTF8 "([B)V"
37 NameAndType #4, type #36
38 Method #20, name&type #37
39 UTF8 "JA/Interfaces/JDEDocumentation"
40 Class #39
41 UTF8 "JA/Interfaces/JDESource"
42 Class #41
43 UTF8 "JA/Interfaces/JDE"
44 Class #43
Field JDEdoc has no index into the constant_pool table.
FieldInfo for Field JDEdoc has 0 Attributes
Field JDEdoc has a null ConstantValue


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

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


---
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: principal=null even if request.getUserPrincipal() does n

2005-02-08 Thread bamajob.nl
I think it is a bug in Jboss. I have the someproblem. After authentication 
IsUserInRole always returns false. 

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

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


---
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: no META-INF/application.xml found on new deployment

2005-02-08 Thread [EMAIL PROTECTED]
Deployment has to be an atomic operation. If your copying large files then copy 
it to an ignored name (x.ear.bak) and then move it to the deployable name 
(x.ear).

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

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


---
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] [Advanced Documentation] - Server/all - Server/default - Server/minimal

2005-02-08 Thread cberrouard
Hi,

I am a junior with JBoss.

First, I want to know, if we can use others directories Server/all - default - 
minimal. If yes, how do I prodeed to make and use my own drectories.

Second, it is possible to have his own application directory to deploy many 
applications. I means, I want to deploy 5 applications in different directory, 
to get structured, and three of them will use common EJB.  How I can structure 
directories on the same Jboss Server.

My pleasure,

Colin Berrouard

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

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


---
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: no META-INF/application.xml found on new deployment

2005-02-08 Thread dhill
The ear is 22mb and if we copy over then it deploys correctly, any thought ?

don

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

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


---
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: Getting attribute change notifications

2005-02-08 Thread [EMAIL PROTECTED]
The easiest way to do it, is write an MBean that extends 
ListenerServiceMBeanSupport:

http://www.jboss.org/wiki/Wiki.jsp?page=ListenerServiceMBeanSupport

And configure it's subscription list to receive the notifications you are 
interested in:

http://www.jboss.org/wiki/Wiki.jsp?page=SubscriptionList

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

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


---
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] [JBoss Getting Started Documentation] - restarting a specific EAR file

2005-02-08 Thread caesarkim
i  have been reading documentation, but i am just wondering if I can restart a 
specific EAR file without deploying EAR file.
it would be great if someone can tell me how to do it.

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

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


---
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] [JBoss Getting Started Documentation] - Re:

2005-02-08 Thread sguy_yugs
Thank a lot.  Works great now.

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

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


---
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: HAJMS and Oracle TAF

2005-02-08 Thread [EMAIL PROTECTED]
I don't want to know what you "*think* is going on".
I want to see what *is* going on from the logging.

"JBoss console is dead" .
If you mean the jmx console, this is just Tomcat with no interaction on the 
database. 
If I understand you correctly, this probably means your JVM has crashed 
(assuming no funny network interactions).

I'd guess (and it is a guess) that you are using OCI which is native code.
And that this native code has caused the jvm to crash due to a bug

Trying to take a thread dump as explained in "READ THIS FIRST"
will tell you whether the jvm is still active and what it is doing.

If I don't see something more concrete about the problem in your future posts
I will be ignoring this thread.

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

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


---
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] - how to config to make the transaction work?

2005-02-08 Thread yetang
hi, i am using jboss 3.2.5, mysql 4.0, Eclipse 2.1, lomboz 2.1, xdoclet

i dont know why the operation(insertUser) does not roll back even i call 
setRollbackOnly().

/** 
* @ejb.interface-method 
* @ejb.transaction type="Required" 
*/ 
public void processPass (Hashtable order) throws Exception { 
insertUser(); //db connection is fine. succeed all the time 
try { 
processOrder(order); //i made this throw a fileNotFound exception 
} catch (Exception e) { 
e.printStackTrace(); 
sessionContext.setRollbackOnly(); 
//coz processOrder() fails, i expect insertUser() 
//rolls back...but it never happened } 
} 

i can not figure out what is wrong. here are my config files: 
{jboss_home}/server/default/config/jboss-service.xml never been changed 
{jboss_home}/server/default/deploy/transaction-service.xml never been changed 
{jboss_home}/server/default/deploy/mysql-ds.xml is like this: 

 
DefaultDS 
jdbc:mysql://localhost:3306/mytest 
com.mysql.jdbc.Driver 
root 
1234 
 

the code should have no problem, i guess i might missed something in one config 
file...any help plz.

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

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


---
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: Faster EJB Development without redeploying ?

2005-02-08 Thread danconde
Have you ever tried JBoss IDE for Eclipse ?
Using it, your EJBs are updated when you save the methods (well, sometimes it 
doesn't work...), without redeployment...





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

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


---
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: problem deploying IIOP entity bean

2005-02-08 Thread danconde
I never tried to set entity beans to use IIOP invoker, only session beans. And, 
as happened to you, it worked.

I don't have any clue of what you have to do to make them work, but, can't you 
use a session faÃade for you entity beans ?

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

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


---
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] [Persistence & CMP/JBoss] - Re: Auto generating keys in MsSQL Server

2005-02-08 Thread sbrytskyy
Your jbosscmp-jdbc.xml file must look like:


  
java:/MsSQLDataSource
MS SQLSERVER2000

  
  

  Customer
  CUSTOMER
  
id

  
  
lastName

  
  
firstName

  
  
java.lang.Long
id

  

  



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

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


---
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: Transaction Manager

2005-02-08 Thread danconde
> Doesn't this problem make the default TM unusable
> in a production environment???

The default TM is unusable (or, at least, is not safely usable) when you have a 
transaction that must be propagated to other servers, or a transaction that 
uses more than one XA resource.



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

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


---
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: Collections as return types

2005-02-08 Thread javajedi
Grr.  "Returns Collection < CustomType > "

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

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


---
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: Collections as return types

2005-02-08 Thread javajedi
Sorry, that should have read "returns Collection"

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

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


---
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] - Collections as return types

2005-02-08 Thread javajedi
I have an EJB that I'm working on exposing as a web service.  One of my methods 
returns Collection, where CustomType is a POJO JavaBean.  When I run this 
through wscompile, it complains:

Collection types are not supported in literal mode - Type: 
"java.util.Collection"

I'll admit I'm a newbie to web services, so I don't get why this is a problem.  
I've been searching the web and these forums for a while and I'm still kind of 
puzzled.  So my first question is, why aren't collection types supported, and 
what should I use instead?

Next I tried modifying my method signature to return an array (e.g. 
CustomType[]).  This made it through wscompile with no problem, but when I 
deployed my ear, I got the following warning:
Cannot find jaxrpc-mapping for type: 
{http://hmsonline.com/arrays/com/hmsonline}CustomTypeArray

and when I tried to invoke my web service, JBoss threw an IOException:
java.io.IOException: No serializer found for class com.hmsonline.CustomType in 
registry [EMAIL PROTECTED]

even though my wsdl file has a  definition, and if I modify the method 
signature to return CustomType instead of CustomType[], it works fine.

I downloaded samples.zip from the Wiki and looked at the complexbean example.  
It looks like in that case, the author has created some contrived CustomerArray 
class that just wraps an array of Customers.  Do I need to something like this? 
 If so, why?  It seems ridiculous to write a custom class just to wrap an 
array.  Am I missing something obvious?  What's the problem with returning 
Collections?  I would really appreciate any pointers.  Thanks.

--Tim

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

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


---
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] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread [EMAIL PROTECTED]
To use the getting started guide, try:

jboss-4.0.1
Sun J2EE tutorial update 4
Getting Started Guide release 3

First install JBoss then unpack the J2EE tutorial.  Next, go to j2eetutorial 
directory and unpack the jbossj2ee-src.zip file.  Then things should be in 
sync.  I wish we could make the process easier, but we can't ship the j2ee 
tutorial code.  It is an unfortunate two-step process...



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

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


---
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] [JBoss Getting Started Documentation] - Re:

2005-02-08 Thread [EMAIL PROTECTED]
Good catch.  I didn't get client code checked back into CVS.  The JNDI names 
changed.  In addition, since the EJBs now have a security domain enabled by 
default, I added the necessary code to make allow the client application to 
preperly authenticate to the server.

I've refreshed the code.  Let me know if it works for you.  

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

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


---
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] - multiple inbound resource adapter instances

2005-02-08 Thread jj_ht
Hi,

Does anyone know how to make multiple instances of an inbound resource adapter 
work in JBOSS?

I have one resource adapter inbound package (RAR), and has four endpoints (MDB) 
and each has its own activation properties defined, which means I want to have 
four resource adapter INSTANCES running and each will delivery certain message 
to its endpoint. I have the EAR deployed in JBOSS, however only one inbound 
resource adapter instance is up running after deployment instead of four.

Any idea?

Thanks a lot in advance,
JJ

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

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


---
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: configuring virtual hosts in jboss 4.0.1

2005-02-08 Thread madeonmoon
sorry about that. i saw that page but the jboss version ( JBoss3.2.4) threw me 
off. 

another question qhich i could not find teh answer for: how to configure 
different virtual hosts to run on different ports.

i tried doing what worked in jboss 3.2.3 (my previous installation): creating 
my-service-bindings.xml with the port numbers i need and pointing to it from 
/server/myinstance/conf/jboss-service.xml

the application is only available on the default port 8080 while i am trying to 
use 8280

thanks for any help




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

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


---
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: Unable to load .properties file

2005-02-08 Thread fbiaggi
Hi,
try:
PropertyResourceBundle prs = new PropertyResourceBundle(
Thread.currentThread(  ).getContextClassLoader(  ).getResourceAsStream( 
"my.properties" ) );

or add a / on the file name if it is on the files system (bin directory).



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

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


---
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 conf directory?

2005-02-08 Thread [EMAIL PROTECTED]
I downloaded 3.2.6, started the script, and everything worked fine

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

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


---
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] - Help needed creating an MDB Container for WebSphere MQ XA Co

2005-02-08 Thread llivings
Hi,

I've implemented the WebSphere MQ JMS provider as per the wiki and yes, as the 
wiki states, MDB's using an XA connection factory never receive messages from 
WSMQ.  Unfortunately for me, I can't stop here.

So I've begun the task of creating a MDB container invoker which will solve 
this problem.  The readme from the wiki states that the best solution would be 
to implement an MDB container invoker using JCA TX inflow "stuff".  
Unfortunately there is no free JCA resource adapter for MQ.  I did find a 
commercial one here 
http://www.sun.com/software/connectors/iway_webspheremq.xml.  So it looks like 
I will need to try the other suggestion (unless someone has a better idea) of 
writing a new MDB container invoker that does synchronous Receiver.receive() 
calls to get messages.

Anyways, I've cloned the JMSContainerInvoker and JMSContainerInvokerMbean and 
renamed them by putting a WSMQ in front of the names.  I've removed some 
JBossMQ specific stuff when creating destinations and a couple other minor 
mods.  I've built and tested and they are ok so far.

Now I need to do the change suggested in the wiki.  Can somebody help by 
filling in some details.  I'm guessing the suggested change is in the OnMessage 
method?  Are there any other classes I'll need to change?  Is there a better 
way to do this.

Any help is greatly appreciated.  I will contribute everything back and I've 
also already modified the MBean code in the wiki to support topics and durable 
subscriptions and tested.

Thanks,

Lyndon







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

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


---
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: JSP compile with deprecation turned on

2005-02-08 Thread tool
Everyone,

This one was all our fault. We had some conflicting JARs due to a recent 
integration with another product. The core JBoss JARs were replicated in 
multiple areas within the deploy directory. We removed these offending 
duplicate JARs and everything is back to operating as normal.

For those who did, thanks for taking a look, and hopefully someone else can 
benefit from this mistake.

Brian

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

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


---
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] - Missing conf directory?

2005-02-08 Thread [EMAIL PROTECTED]
Just downloaded jboss-3.2.7_jdk13.tar.gz; ran with "sudo sh ./run.sh -c all" 
and the server died with the message:

Failed to boot JBoss:
org.jboss.deployment.DeploymentException: url 
file:/var/opt/jboss-3.2.7/server/all/conf/jboss-service.xml could not be 
opened, does it exist?

Checking ./server/all, I notice there's no conf directory.  Do I need to 
install a different version?  Thanks!

--ian coleman

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

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


---
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] - Token generation on login

2005-02-08 Thread rworsnop
I would like to generate a token on successful password login, and then be able 
to use that token to access EJBs.

I found this relatively straightforward to implement for a fat client: the 
client uses a LoginModule that generates a token, and then shares that token 
with ClientLoginModule, which ensures that it is sent with each subsequent EJB 
call. The EJBs are associated with a security domain whose LoginModule 
validates the token.

I have a problem trying to do something similar with web applications. It seems 
that j_security_check/j_password will be passed as the credential to the EJBs. 
Because the EJBs' LoginModule is expecting a token, authentication fails.
The password seems to be placed on the session during login, within a 
JBossGenericPrincipal. It gets picked up by the SecurityInterceptor on EJB 
calls and passed to the security manager for authentication.

Is there a straightforward way to get JBoss to remember my token instead of the 
password?

Thanks,
Rob.

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

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


---
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] [JBoss Getting Started Documentation] - "MyCustomerController not bound" error with ant target "run-

2005-02-08 Thread sguy_yugs
I have successfully deployed the DukesBanking application.  It works fine via 
the web interface.  When I try to run the swing client, it fails to properly 
find the ejbs in the client's jndi space.  I looked in the jmx-console and 
everything looks like it is registered.  The server log looks fine too.  Any 
ideas?

I'm using Jboss 4.01 and java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)

jndi tree snippet (from jboss jmx console):
===
  +- ebankNextId (proxy: $Proxy99 implements interface 
com.sun.ebank.ejb.util.LocalNextIdHome)
  +- bank-client (class: org.jnp.interfaces.NamingContext)
  |   +- ejb (class: org.jnp.interfaces.NamingContext)
  |   |   +- customerController[link -> MyCustomerController] (class: 
javax.naming.LinkRef)
  |   |   +- accountController[link -> MyAccountController] (class: 
javax.naming.LinkRef)


ant log follows:
===

/c/temp/j2eetutorial14/examples/bank $ant -debug -f jboss-build.xml run-client
Apache Ant version 1.6.2 compiled on July 16 2004
Buildfile: jboss-build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.4 in: c:\Tools\Java\Java_1.4.2_06\jre
Detected OS: Windows XP
Adding reference: ant.ComponentHelper
Setting ro project property: ant.version -> Apache Ant version 1.6.2 compiled 
on July 16 2004
Setting ro project property: ant.file -> 
c:\temp\j2eetutorial14\examples\bank\jboss-build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile C:\temp\j2eetutorial14\examples\bank\jboss-build.xml with URI 
= file:///C:/temp/j2eetutorial14/examples/bank/jboss-build.xml
Setting ro project property: ant.project.name -> jboss-dukes-bank
Adding reference: jboss-dukes-bank
Setting ro project property: ant.file.jboss-dukes-bank -> 
C:\temp\j2eetutorial14\examples\bank\jboss-build.xml
Project base dir set to: C:\temp\j2eetutorial14\examples\bank
 +Target: 
Adding reference: client.classpath
Adding reference: axis.classpath
Adding reference: build.classpath
Adding reference: hsql.classpath
 +Target: prepare
 +Target: compile
 +Target: package-ejb
 +Target: package-ws
 +Target: package-client
 +Target: package-web
 +Target: wsdl
 +Target: tcpmon
 +Target: deploy-ws
 +Target: run-ws
 +Target: assemble-app
 +Target: deploy
 +Target: run-client
 +Target: db-create-table
 +Target: db-insert
 +Target: db-list
 +Target: db-delete
 +Target: clean
 +Target: db-all
 +Target: all
 [property] Loading C:\temp\j2eetutorial14\jboss-build.properties
Setting project property: jboss.server -> 
C:/Tools/jboss4/jboss-4.0.1-src/build/output/jboss-4.0.1/server/default
Setting project property: jboss.home -> 
C:/Tools/jboss4/jboss-4.0.1-src/build/output/jboss-4.0.1
Setting project property: jboss.deploy.dir -> 
C:/Tools/jboss4/jboss-4.0.1-src/build/output/jboss-4.0.1/server/default/deploy
Setting project property: lib.dir -> ../../libs
Setting project property: src.dir -> C:\temp\j2eetutorial14\examples\bank/src
Setting project property: build.dir -> 
C:\temp\j2eetutorial14\examples\bank/build
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) 
for type image
Adding reference: client.classpath
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) 
for type image
Adding reference: axis.classpath
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) 
for type image
Adding reference: build.classpath
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) 
for type image
Adding reference: hsql.classpath
Build sequence for target `run-client' is [run-client]
Complete build sequence is [run-client, wsdl, prepare, compile, package-ejb, 
package-web, package-client, assemble-app, deploy, all, db-insert, 
db-create-table, db-list, db-all, deploy-ws, run-ws, clean, tcpmon, package-ws, 
db-delete, ]

run-client:
 [echo] 
c:/dev/tools/ant/lib/ant-launcher.jar;c:\temp\j2eetutorial14\examples\bank\c;c:\tools\jintegra\lib\jintegra.jar;c:\dev\tools\ant\lib\ant-antlr.jar;c:\dev\tools\ant\lib\ant-apache-bcel.jar;c:\dev\tools\ant\lib\ant-apache-bsf.jar;c:\dev\tools\ant\lib\ant-apache-log4j.jar;c:\dev\tools\ant\lib\ant-apache-oro.jar;c:\dev\tools\ant\lib\ant-apache-regexp.jar;c:\dev\tools\ant\lib\ant-apache-resolver.jar;c:\dev\tools\ant\lib\ant-commons-logging.jar;c:\dev\tools\ant\lib\ant-commons-net.jar;c:\dev\tools\ant\lib\ant-icontract.jar;c:\dev\tools\ant\lib\ant-jai.jar;c:\dev\tools\ant\lib\ant-jakarta-bcel.jar;c:\dev\tools\ant\lib\ant-jakarta-log4j.jar;c:\dev\tools\ant\lib\ant-jakarta-oro.jar;c:\dev\tools\ant\lib\ant-jakarta-regexp.jar;c:\dev\tools\ant\lib\ant-javamail.jar;c:\dev\tools\ant\lib\ant-jdepend.jar;c:\dev\tools\ant\lib\ant-jmf.jar;c:\dev\tools\ant\lib\ant-jsch.jar;c:\dev\tools\ant\lib\ant-junit.jar;c:\dev\tools\ant\lib\ant-launcher.jar;c:\

[JBoss-user] [JBossWS] - Re: My web services work in 4.0.0 but not in 4.0.1

2005-02-08 Thread Joel.Rosi-Schwartz
Thomas,

I see via Jira that you have been working on this issue, thanks. I am not sure, 
though, whether or not the work arounds that you added are going to resolve the 
issue I reported in the first place. I appears to me that by leaving the checks 
in Mapping.java that I will still be getting the exceptions. I think I am 
missing something here since if you are working towards a resolution this is 
obviously not what is desired.

So what am I missing :-(

Thanks,
Joel

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

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


---
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: configuring virtual hosts in jboss 4.0.1

2005-02-08 Thread [EMAIL PROTECTED]
Maybe a google search would have got u this.  This question has been answered 
in the forums many times.

http://www.jboss.org/wiki/Wiki.jsp?page=VirtualHosts

It will work in 4.0.x

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

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


---
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: Getting attribute change notifications

2005-02-08 Thread yaronz
Dimitris,

 What I'm trying to do should be pretty straigt forward:

I'm trying to get notification for attribute changes for an existing MBean. The 
idea is to be able to react to changes in MBean attribute values without having 
to use pooling.

An example would be:

The MBean - BasicThreadPoolMBean
The attribute - MaximumPoolSize

I would like to know if someone changes the maximum pool size, in order to 
report that to my monitoring tool as a significant event.

Yaron.

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

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


---
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] [The Lizzard's corner] - Packages waiting for a deployer ???

2005-02-08 Thread chitkara
Hie Experts,

I get the following error message when I try to deploy an application to JBoss 
Application Server from within Eclipse IDE:

---
09:47:58,923 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
Packages waiting for a deployer:
[EMAIL PROTECTED] { 
url=file:/D:/Download/jboss-4.0.1RC2/jboss-4.0.1RC2/server/default/tmp/deploy/tmp19403IIMReferralDev.ear-contents/IIMReferralEJB.jar
 }
  deployer: null
  status: Starting
  state: START_SUBDEPLOYMENTS
  watch: 
file:/D:/Download/jboss-4.0.1RC2/jboss-4.0.1RC2/server/default/tmp/deploy/tmp19403IIMReferralDev.ear-contents/IIMReferralEJB.jar
  altDD: null
  lastDeployed: 1107877678903
  lastModified: 1107877678893
  mbeans:
---

As I can make out that the problem is with Jboss deployer BUT the above dump 
does not tell much.

Any suggestions ?

Thanks in advance.

Vishal Chitara

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

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


---
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] - configuring virtual hosts in jboss 4.0.1

2005-02-08 Thread madeonmoon
hi all

does anyone have any examples configuring virtual hosts in jboss 4.0.1? 

thanks a lot
james

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

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


---
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] [Jobs@JBoss] - Web Infrastructure Developer

2005-02-08 Thread [EMAIL PROTECTED]
Come join one of the fastest growing enterprise software and services companies 
and the home of Professional Open Source?.  This opportunity is a tremendous 
chance to become part of a fast-paced, leading edge company that is changing 
the way middleware is developed, sold, supported and marketed.  This position 
reports to the Marketing Director.  For consideration, please visit our website 
at www.jboss.com and then forward your resume with a covering email to [EMAIL 
PROTECTED]

The Web Infrastructure Developer Position

This position will be responsible for a wide variety of software efforts 
including:

?   Salesforce.com (CRM) administration
?   Integration projects between JBoss website, Salesforce.com, and 
Marketing tool (Eloqua)
?   Website-based lead capture and qualification mechanisms
?   Integration projects between various JBoss websites (company website, 
customer portal, e-commerce store, development site) including single sign-on
?   Direct involvement in JBoss website upgrades including implementation 
of new graphical themes
?   Ownership of JBoss e-commerce store including major upgrades
?   Design, build, and maintain company intranet
?   Assist on various other web-based projects as necessary

Required Skills and Experience

?   Computer Science, Engineering, or related degree
?   3+ years of professional work experience including significant 
involvement in developing, implementing, and administering websites and/or CRM 
tool(s)
?   Java and JavaScript experience
?   Must be highly motivated, self-sufficient, perceptive, ambitious, 
flexible and high energy


Preferred Skills and Experience

?   Salesforce.com or similar CRM tool experience; understanding of 
Salesforce.com APIs
?   Experience with Java/J2EE-based portals such as WebLogic Portal, 
WebSphere Portal, or JBoss Portal (Nukes)
?   Ability to deal with change and limited structure


Location

This position is located in the JBoss worldwide headquarters in Atlanta, GA.


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

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


---
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] - Hibernate and JBoss 4.0

2005-02-08 Thread aamir75
Following exception is thrown when I try to deploy my EJB Jar bundle. It 
includes hiberanate jars in lib folder and all are listed in META-INF. 
hibernate.cfg.xml is in root of jar file. and contained specifically these 
entries:


  | net.sf.hibernate.transaction.JTATransactionFactory
  | 
  | 
  | net.sf.hibernate.transaction.JBossTransactionManagerLookup
  | 

Following is the exception is thrown while deploying this package:

org.jboss.deployment.DeploymentException: No ClassLoaders found for: 
org.jboss.resource.connectionmanager.LocalTxConnectionManager; - nested 
throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.resource.connectionmanager.LocalTxConnectionManager)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
at 
org.jboss.system.ServiceController.install(ServiceController.java:200)
at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

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

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


---
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] - cannot access com.sun.xml.rpc.client.BasicService

2005-02-08 Thread Guest
I'm building a web service client from a wsdl. I have used wscompile to 
generate the client stubs etc. However, when compiling the client it seems to 
have missing classes for BasicService and StubBase. I have included all the 
client jars.

I tried the wiki example for hello world, in that case the client fails with,


  | run_client:
  |  [java] Endpoint address = 
http://localhost:8070/simple-ws4ee/exactpath/jse
  |  [java] javax.xml.rpc.ServiceException: Provider 
com.sun.xml.rpc.client.ServiceFactoryImpl not found
  |  [java] at 
javax.xml.rpc.FactoryFinder.newInstance(FactoryFinder.java:44)
  |  [java] at javax.xml.rpc.FactoryFinder.find(FactoryFinder.java:137)
  |  [java] at 
javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:58)
  |  [java] at com.myapp.DIIClient.main(DIIClient.java:30)
  | 

Where should i find the rpc client jar?

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

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


---
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: Why should we use 4.0.1 (vs 3.2.1)?

2005-02-08 Thread dfoulser
There's a serious memory leak related to DB connections in 3.2.1.  I think you 
must move to at least 3.2.4 to avoid it.  When we were running 3.2.1 we had to 
restart app servers every couple weeks to avoid crashes.

/Dave


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

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


---
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: Where do you put .jar files?

2005-02-08 Thread monocongo
Give some more detailed info and exception messages so we can better help you.  
For example do you have the ejb-jar.xml in your JAR ?  What are the specific 
exceptions ("it blows up" is rather vague) ?  etc.

--James

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

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


---
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] - Unable to load .properties file

2005-02-08 Thread monocongo
I have a JBoss application which is deployed in its own directory, for example 
JBOSS_HOME/server/myapp/deploy/myapp.sar.  In this directory is a 
myapp.properties file.  I have been unsuccessful at loading the Properties 
contained in this file, and I can't figure out why.  First I tried a simple 
load using a FileInputStream, for example:


  | String propertiesFileName = "myapp.properties";
  | Properties myProperties;
  | myProperties.load(new FileInputStream(propertiesFileName));
  | 

I have also tried the following:


  | String propertiesFileName = "myapp.properties";
  | Properties myProperties;
  | InputStream inputStream = 
ClassLoader.getSystemClassLoader().getResourceAsStream(propertiesFileName);
  | myProperties.load(inputStream );
  | 


The first example resulted in a FileNotFoundException, and the second results 
in a NullPointerException.  

In the run.sh I use to start JBoss I have made sure that the application's 
directory is in the $JBOSS_CLASSPATH, in order to make the myapp.properties 
file easy to locate.

I am using JBoss 4.0.1.

Thanks in advance for any suggestions as to how I might make this work.


--James

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

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


---
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: ERROR org.jboss.webservice.client.PortProxy

2005-02-08 Thread msargent
I am experiencing an error when running the "Duke's Bank" tutorial.  at first I 
thought that it might just be lack of knowledge (and it still may be) but I 
have now tried this on two different machines and once using startup guide 4.0 
(version 2) and once, this morning, with version 3 and it's new set of code.  I 
can run the web interface fine (http://localhost:8080/bank/main).  when I run 
the "db-list" ant target I get data back.

when I run the ant target "run-ws" I get the error below.  Any direction I can 
get on how to debug and/or info on what "port" it might be conflicking with 
would be helpful.  Thanks in advance, --Mike

D:\java\j2eetutorial14\examples\bank>ant -f jboss-build.xml run-ws
Buildfile: jboss-build.xml

run-ws:
 [java] Customer: 200
 [java] 2005-02-08 10:37:18,476 ERROR org.jboss.webservice.client.PortProxy[
main] - Port error
 [java] java.lang.NullPointerException
 [java] at java.util.Hashtable.put(Hashtable.java:396)
 [java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProp
erty(SAXParserImpl.java:395)
 [java] at org.apache.axis.encoding.DeserializationContextImpl.parse(Des
erializationContextImpl.java:263)
 [java] Exception in thread "main" java.rmi.RemoteException: null; nested ex
ception is:
 [java] java.lang.NullPointerException
 [java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:1
84)
 [java] at $Proxy1.getAccountsOfCustomer(Unknown Source)
 [java] at com.jboss.ebank.WSClient.main(WSClient.java:33)
 [java] Caused by: java.lang.NullPointerException
 [java] at java.util.Hashtable.put(Hashtable.java:396)
 [java] at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.jav
a:657)
 [java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:430)
 [java] at org.apache.axis.Message.getContentType(Message.java:496)
 [java] at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPS
ender.java:386)
 [java] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.j
ava:126)
 [java] at org.apache.axis.strategies.InvocationStrategy.visit(Invocatio
nStrategy.java:73)
 [java] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
 [java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
 [java] at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.
java:126)
 [java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProp
erty(SAXParserImpl.java:395)
 [java] at org.apache.axis.encoding.DeserializationContextImpl.parse(Des
erializationContextImpl.java:263)
 [java] at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.jav
a:657)
 [java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:430)
 [java] at org.apache.axis.Message.getContentType(Message.java:496)
 [java] at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPS
ender.java:386)
 [java] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.j
ava:126)
 [java] at org.apache.axis.strategies.InvocationStrategy.visit(Invocatio
nStrategy.java:73)
 [java] at org.apache.axis.client.Call.invokeEngine(Call.java:3029)
 [java] at org.apache.axis.client.Call.invoke(Call.java:3014)
 [java] at org.apache.axis.client.Call.invoke(Call.java:2608)
 [java] at org.apache.axis.client.Call.invoke(Call.java:2513)
 [java] at org.apache.axis.client.Call.invokeInternal(Call.java:1973)
 [java] at org.apache.axis.client.Call.invoke(Call.java:1914)
 [java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265
)
 [java] at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy
.java:372)
 [java] at $Proxy0.getAccountsOfCustomer(Unknown Source)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
 [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:585)
 [java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:1
11)
 [java] at $Proxy1.getAccountsOfCustomer(Unknown Source)
 [java] at com.jboss.ebank.WSClient.main(WSClient.java:33)
 [java] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
 [java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
 [java] at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.
java:126)
 [java] at org.apache.axis.client.Call.invokeEngine(Call.java:3029)
 [java] at org.apache.axis.client.Call.invoke(Call.java:3014)
 [java] at org.apache.axis.client.Call.invoke(Call.java:2608)
 [java] at org.apache.axis.client.Call.invoke(Call.java:2513)
 [java] at

[JBoss-user] [JCA/JBoss] - Cursor and Jboss-?????

2005-02-08 Thread svdath
Hi , 
I have the following piece of code: 

cstmt.registerOutParameter(4, java.sql.Types.OTHER); 

This is used to call a package on Oracle8.1.7. When i run this code, it gives 
the below error. The package is returning a result set. Also i have noticied a 
lot of place where if i use .setObject() for any prepared statement, it gives 
me a similar error. 
Can anyone please throw some light on this. 

I am using a Jboss3.2.1 and JDK1.3. This is for porting from WL7.0SP2 to Jboss. 
This code works fine in WL. 

Thanks 

09:40:43,453 ERROR [STDERR] java.sql.SQLException: Invalid column type 

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

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


---
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: principal=null for JMS invoked call, have a valid princi

2005-02-08 Thread pytaghoras
I have the some problem. The IsUserInRole always returns false.

try {
SecurityAssociationHandler handler = new 
SecurityAssociationHandler();
Principal user = new SimplePrincipal(userName);
handler.setSecurityInfo(user, password.toCharArray());
LoginContext loginContext = new LoginContext("MyRealm",
(CallbackHandler) handler);
loginContext.login();
subject = loginContext.getSubject();
Set principals = subject.getPrincipals();
principals.add(user);
} catch (LoginException e) {
System.out.println("Error LoginException: " + e);
}

if (request.isUserInRole("Admin")) {
System.out
.println("User with role admin is 
forwarded to admin page");
return mapping.findForward("Admin");
} else if (request.isUserInRole("ViewBills")) {
System.out
.println("User with role ViewBills is 
forwarded to ViewBills page");
return mapping.findForward("ViewBills");
} else {
System.out
.println("User has no role. He needs to 
be forwarded to login page");
return mapping.findForward("failure");
}

}

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

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


---
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] - Re: org.jboss.ejb.plugins.LogInterceptor not printing SQLExc

2005-02-08 Thread frankgrimes
Any chance of finding out if/when this issue will be addressed?

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

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


---
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: principal=null even if request.getUserPrincipal() does n

2005-02-08 Thread pytaghoras
Hello j_ri,

I use jboss-4.0.1RC1. I still have the some problem. Do you know how i can 
solve the problem?

Regards, 

Pyta.

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

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


---
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: Stop Displaying Exception PrintStackTRace in Server Cons

2005-02-08 Thread amii_2009
Remove the CONSOLE appender reference from  tag from \conf\log4j.xml. Beware 
this will stop all your logging messages from displaying on Console.

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

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


---
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] - Why should we use 4.0.1 (vs 3.2.1)?

2005-02-08 Thread ecantori
Hello:
We are migrating an app from a commercial AS to JBOSS. The corporate (defacto) 
standard is v3.2.1. The app is a run of the mill J2ee app : we won't be using 
hibernate, AOP or any other non-J2EE package other than struts.

As developers, we would prefer to work with the latest and greatest - I'm 
looking for good reasons to justify moving to v4.0.1. The obvious reasons are 
lots of bug fixes - what else?

Thanks


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

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


---
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] - init method

2005-02-08 Thread alessandro.zambonelli
can i call a method just after jboss start ?
i must load some data BEFORE calling any JSP or SERVLET, i can not use the 
init() method of a servlet

thank you
Zambo

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

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


---
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: mysql-ds.xml setting

2005-02-08 Thread max_ten
Finally i solved the problem by using the other way.


  | datasources>
  |   
  | MySqlDS
  | 
jdbc:mysql://localhost:3306/myApp?zeroDateTimeBehavior=convertToNull
  | com.mysql.jdbc.Driver
  | user
  | password   
  |   
  |  mySQL
  |   
  |   
  | 
  | 
  | 

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

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


---
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: Remote client and EJB

2005-02-08 Thread amii_2009
Guys please use different threads for different questions/problems. To address 

"Anybody know the code for remote client if using JBoss 4? "

There shouldn't be any change on client code to access EJB while migrating from 
3.2.x to 4.x. I did it my self and didn't had any problems. Can you post your 
code, so that we can just make a sanity check?

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

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


---
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   >