[JBoss-user] [Beginners Corner] - getResourceAsStream in ear/jar

2006-06-14 Thread osterday
I'm trying to load an XSL file into a POJO that's packaged in a JAR deployed within an EAR, but nothing I try seems to work. It worked when deployed in a WAR in the EAR. I've tried: | String xslFile = file.xsl; // xslFile IS in the same dir/package as the class | InputStream is =

[JBoss-user] [Beginners Corner] - Re: Url rewriting ?

2006-06-14 Thread osterday
If you are using the Apache web server in front of JBoss/Tomcat, this is fairly easy to do. Otherwise, I think you need to change your JBoss settings to run Tomcat on the standard http port 80 (if on Linux, has to run as root) and deploy your application as the ROOT context. Another option on

[JBoss-user] [Management, JMX/JBoss] - XMBean from EJB3 session bean?

2006-05-30 Thread osterday
I'm trying to create an XMBean from a EJB3 session bean. I've got my sar deploying with my ear and can see the method I wish to expose in the jmx console in JBoss (AS 4.0.4 CR2) but when I invoke the method, I get a handleInvocationExceptions exception with the root cause being a null pointer

[JBoss-user] [JBossWS] - Re: jboss 4 and axis 1.1

2006-05-04 Thread osterday
cpirro, If you _need_ to use Axis 1.1 as I did, I think just removing the jbossws.sar (from JBoss AS 4.0.4CR2) worked for me. I deploy the Axis 1.1 jars with my ear and it seems to be working fine - but I do plan on migrating to the new JBossWS as soon as I can get my app ported. View the

[JBoss-user] [JBossWS] - Re: Abstract types and simple types not generated

2006-04-25 Thread osterday
Thomas, Thanks for the reply. I had to revert back to using Axis 1.1 for now because of deadlines, etc. I will try JBossWS again in a week or so, once I have this version up and running. Thanks again, Pat View the original post :

[JBoss-user] [JBossWS] - Abstract types and simple types not generated

2006-04-13 Thread osterday
I'm using JBoss 4.0.4CR2 and the wstools.bat from the svn code. I'm trying to generate the stubs from the eBay API wsdl. So far I got the basics working and generating some of the stubs, but some that were generated using Axis, aren't with wstools. Namely the problems are with the following:

[JBoss-user] [EJB 3.0] - Re: Accessing an EJB from a Servlet

2006-04-12 Thread osterday
I haven't had any luck using the class.getName() lookup either. The only way I got it to work is using sm = (SiteManager)ic.lookup(SiteManagerImpl/local); - which I can see in the Global JNDI Namespace. (ic being my InitialContext variable, SiteManager being the stateless session bean

[JBoss-user] [JBossWS] - wstools ant help

2006-04-12 Thread osterday
Can someone lend a hand trying to get the wstools ant tasks working for me? I just switched from Axis to give JBossWS a go and am having some trouble finding documentation. I'm using JBoss AS 4.0.4CR2 and MyEclipse/Eclipse IDE. When I run ant, I get this error: Error running jbossws: with no

[JBoss-user] [JBossWS] - Re: wstools ant help

2006-04-12 Thread osterday
This post shows someone trying to accomplish the same thing, but maybe from the command line? So I'm guessing what I'm trying to do should work. http://www.jboss.com/index.html?module=bbop=viewtopict=79568 View the original post :

[JBoss-user] [JBossWS] - Re: wstools ant help

2006-04-12 Thread osterday
Ok, I do get a little more error message than I originally thought: Cannot load config from: jbosswsConfig.xml - do I need to specify an entire path? Running from the command line works fine - although I need to figure out why some classes aren't being generated. View the original post :

[JBoss-user] [EJB 3.0] - Re: No ClassLoaders found

2006-04-11 Thread osterday
I could never figure out the what the problem was here. The sample from LaLiLuna still worked as did the EJB3Trail.ear. I really have no clue what the problem was - maybe something in MyEclipse or Eclipse or JBoss, but it was really hosed - even stripping it down to the bare ejbs didn't help.

[JBoss-user] [EJB 3.0] - No ClassLoaders found

2006-04-10 Thread osterday
On Friday I had an EJB3 app with a few entity and session EJB3s working fairly well on JBoss 4.0.4RC1. This morning I tried to redeploy the app and now I'm get a No ClassLoaders found error. I have no idea what could have changed - I went ahead and tried the JBoss AS 4.0.4CR2 release, but

[JBoss-user] [JNDI/Naming/Network] - Re: accessing remote EJBs thru an external load balancer

2005-10-17 Thread osterday
I don't know if you've solved your problem yet or not, so I thought I'd post some info. I don't use F5s now, but we did use F5's BigIP products at my last company. We didn't do any EJB/JNDI stuff through the BigIP, but we did use Sticky Sessions for HTTP requests to our web server farm. I'm

[JBoss-user] [Beginners Corner] - Re: SMTPAppender working example?

2005-10-06 Thread osterday
Ok, it seems that I must not have checked the sendmail logs well enough, but the emails were being generated, but since the from address wasn't valid (the user [EMAIL PROTECTED] didn't exist) the emails bounced. Also it seems to only send out error logs even if the threshold is set to debug or

[JBoss-user] [Beginners Corner] - SMTPAppender working example?

2005-09-27 Thread osterday
I've just started getting to proper logging on JBoss and have our application logging to server.log, and setup a category and such. Now I'm trying to get the SMTPAppender working to email me on errors but can't get it to email. Tried setting the Threshold to INFO or DEBUG to get more emails,

[JBoss-user] [EJB/JBoss] - Re: JBossQL, XDocletTags, and Date fields

2005-02-15 Thread osterday
Maybe you could clarify what your date/time problem is with the finder method. I had a similar problem recently because I was using java.sql.Date which doesn't use time information. After switching to java.sql.Timestamp, my problems went away. I'm using JBoss 4 and MySQL 4. The MySQL table

[JBoss-user] [EJB/JBoss] - Re: JBossQL, XDocletTags, and Date fields

2005-02-15 Thread osterday
What you are describing sounds exactly like the problem I was having using java.sql.Date - based on finding auctions ending withing a certain date/time. I'm using XDoclet and MyEclipse. My XDoclet finder is: | @ejb.finder | signature=java.util.Collection |

[JBoss-user] [EJB/JBoss] - Re: Running EJBs from JBoss via web

2005-02-14 Thread osterday
Have you used EJBs before? I'm new to the EJB world and haven't used EJB3 yet. I would recommend learning EJB2 first - although the EJB2 might be just as applicable to EJB3. I also found the J2EE patterns very valuable. Best to code the EJBs with only LOCAL interfaces and use a session

[JBoss-user] [Management, JMX/JBoss] - Accessing MBeans via JSP

2005-01-27 Thread osterday
I'm new to MBeans, so I hope this question isn't too idiotic sounding. I've searched the docs, forums posts, and google and haven't found an answer to my problem. How can I access the properties/methods of an MBean via a JSP page in my webapp? I have a simple HelloWorld Mbean with a Message

[JBoss-user] [Management, JMX/JBoss] - Re: Accessing MBeans via JSP

2005-01-26 Thread osterday
Thanks for the quick response! Yeah, that's what I thought, but couldn't get anything to work. I started to implement it in a JSP using the EJB code example, but on my import statements, I get a strange error: cannot access javax.management.MBeanServer: bad class file: C:\Program

[JBoss-user] [Management, JMX/JBoss] - Re: Accessing MBeans via JSP

2005-01-26 Thread osterday
Thanks Dimitris! In MyEclipse I changed the webapp to use JDK 1.4 and that did the trick! My JSP is working fine now. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863798#3863798 Reply to the post :