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 =
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
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
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
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 :
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:
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
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
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 :
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 :
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.
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
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
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
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,
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
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
|
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
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
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
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 :
21 matches
Mail list logo