hello all,
i have developed an ejb3 webservice.. which i was successfully able to deploy
on jboss4.0.5.GA.
I was unable to invoke it froma soapGUI, as i receive the following exception
| 2008-04-12 22:52:29,953 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new
SOAPFaultException
hi all,
i have a project that uses wstools to generate wsdl files etc for my EJB
exposed as webservices.
I am using jboss-4.0.5GA, and was using jdk 1.5
now, for various reasons i had to move back to JDK 1.4, and now when i run
wstools (via maven) with following ant task
| taskdef
Hi Charly,
i see.. i have downloaded jboss 4.0.5, probably it was built using java5...
thanx and regards
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4013114#4013114
Reply to the post :
can you pls post her eyour exception?
i remember having same problem and i fixed it by changing a parameter in
ejb3-deployable
regards
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4001360#4001360
Reply to the post :
hello,
didnt read all the post.. it's quite long
deploying ear in jboss is actually straightforward, allyou need to avoid, as
you said, is duplication of classes
so structure your ear:
- war
- ear
jars that are commons needs to be placed outside those war/ear/
those common jars needs to be
Not sure it will be automatically extracted in your deploy dir..
but check your work directory (/server/defalt/work), or the tmp
(/server/default/tmp) and you might be able to see it
hth
marco
View the original post :
Hi,
i see...
ok if you want just a MYSQL datasource foryour own purposes, it's enough to do
step 1/2/3, configure mysql-ds.xml and proper authentication in login-config.
All jboss MQ that comes with default dist i gues it is using hsql as database,
so if you would have gone to do steps 5/6 that
hi,
how do you know that it goes undetected? do you know what's inside? if yes,
have you tried the jmx console to seeif your service was deployed?
mail it tome at [EMAIL PROTECTED], i'll have a look 2morrow if you cant solve
the problem by then
hth
marco
View the original post :
Nope
No luck
Nokia's carbide.j stub creation is screwed up big time.. at least for my WS
which is not a simple HelloWorld webservice..
i think i'll go for some J2ME SOAP packages or back to kXML/kSOAP... if anyone
has any suggestion, they are all welcome..
thanks and regards
marco
View the
Hello,
when i googled jbossws http chunking, found this link
http://jira.jboss.org/jira/secure/ReleaseNote.jspa?projectId=12310050styleName=Htmlversion=12310952decorator=printable
regards
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3992451#3992451
hi all,
i m fighting trying to have myJ2ME cdlient to communicate iwht my EJB3
Webservice..
i noticed posts about http chunking, so i have disabled http chunking by
setting this in deploy/tomcat/server.xml
this is the interface of my WS
| /**
| * Copyright @ 2006
| * By Marco
hi all,
i wrote an EJB3 webservice and i am tryingn to connect to it using J2ME client
written using WTK 2.5
Now, webservice is fine because when i try to connect to it using a java
standalone client, everything works fine
But wihth J2ME, i receive following exception
|
HI ALL,
i have just installed jboss-4.0.5.GA (was coming wth jbossws-1.0.3)...
deployed my app (J2EE-1.4 WS), everything is fine
i have then upgraded to jbossws-1.0.4 (replacing proper files)..and when i
restart the server i got following exception
| 2006-12-04 11:09:50,359 ERROR
Fixed.
solution is here
http://www.jboss.com/index.html?module=bbop=viewtopict=95374
again, apologize fornot being proactive enough..(unfortunatley my leisure time
for jboss is very limited and if i dont find solution within 30 min from
problem i ask list)
regards
marco
View the original
hi all,
been havign this exception after upgrading jbossws to 1.0.4
i have read similar threads that suggest to replace ejb3 files
i have downloaded ejb3-rc9, replaced ejb3-persistence.jar and jboss-ejb3-client
wherever i could, but i am still getting same exception...
i think i am
hi all,
i found solution (and i apologize for not being more proactive..)
i have downloaded ejb3.0-rc9fd and haveupdated followign files:
- ejb3-persistence.jar
- jboss-ejb3-client.jar
- ejb3.deployer (directory)
- jboss-aop-jdk50.deployer (directory)
in jbossAS 4.0.4GA.
all files above
Hello,
got same problems and found solution
it is in this thread
http://www.jboss.com/index.html?module=bbop=viewtopict=95953
hth
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989776#3989776
Reply to the post :
hi all,
i have an existing JSF application that uses Spring + Hibernate.
in my app, i am using Quartz (configured via spring) for scheduling tasks..
I was wondering to move my application to use JBossSeam (it integrates well
with JSF, and i can use EJB3 for persistence), but i am completely
Hello,
had same problem with arrays..
was able to fix it by specifying WebResult and WebParam in my webservice
methods..
As far as i read, the less you annotate your webservice method, the more
jbossws will try to 'figure out' what the parameters/result would be..
No problem with
hi all,
i am deploying EJB3 webservices on jboss4.0.4..
the problem i have is that, no matter the fact that my server is running on
port 9080, the Endpoint address of my webservice is always at
http://localhost:8080/...
here's what i have when i view services deployed in jboss
|
hi all,
is there any way to specify the proper URL for an EJB3 deployed as a
webservice?
in my wsdl, URL is *ALWAYS*at port 8080, while my jboss is runnign at port
9080.
here's wsdl of EJB3 deployed as webservice
| definitions name=WSFacade
Hello Alessio,
looks like i m having difficulties with jbossws..
even though you said that arrays of javabeans are supported, i am still getting
exception while invoking client for my webservice...
i have done another post here that explains my problem..
hi all,
i am exposing an EJB3 SLSB as WebServices
when i call it i am receiving this exception:
| Exception in thread main java.rmi.RemoteException: Call invocation failed
with
| code [Client] because of: Endpoint
{http://org.jboss.ws/ejb3ws}WSRemoteSEIPort
| does not contain
hi,
found out that i was uisng wrong namespace..
.but after fixing it.. i got this exception
| creating service
| Exception in thread main org.jboss.ws.WSException: Cannot obtain java
type map
| ping for: {http://org.jboss.ws/ejb3ws}Agency.Array
| at
hi all,
i have exposed an EJB3 as a webservice
it is deployed fine on jboss, but whenn i try to invoke it from a client i got
this bad exception..
| Exception in thread main java.rmi.RemoteException: Call invocation
failed: Cou
| ld not transmit message; nested exception is:
|
hi all,
i am exposing an EJB3 as a webservice.. and i was wondering if it was
supported to return an array of javabeans in the webservice interface
i have following code
public Agency[] getAgencies()
i was wondering if i can expose it in the webservice, or the array type of
custom objects
hi all,
can anyone help me out in how to generate WSDL for my EJB?
i have this very simple EJB3 that i want to expose a s a webService
here's the interface
| /**
| * Copyright @ 2006
| * By Marco Mistroni
| */
| package com.mm.j2me.ejb;
|
|
| import
hi all,
i am trying to generate a wsdl for my EJB3 webservivce...
i keep on getting this exception
| log4j:WARN Please initialize the log4j system properly.
| Exception in thread main org.jboss.ws.WSException: A service endpoint
interfac
| e should extend Remote
| at
hi all,
i have an app in which i am exposing an EJB as a webservice..
while deploying applicationi keep on receiving this exception
| 14:08:19,953 ERROR [MainDeployer] Could not create deployment:
file:/D:/Sw/jboss
|
solved and sorryf or bothering
i m building using maven2, i forgot to clean the build directory so my
webservices.xml was messed up big time
regards
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3976017#3976017
Reply to the post :
hi all,
i am trying to deploy an EJB3 as webservice
i have no problem on the serverside... however, i have PLENTY of problems while
generating the clientside classes...and i am wondering if my webservice is too
complicatedt o be handled by jboss ws..
here's code of interface of my ws
|
hello,
here they are..
it looks like (from logs), jboss is using log4j.properties which is embedded in
my jar file
here it is
| #
| # Set the redbook EJB code priority to DEBUG
| #
| log4j.category.itso.was4ad.ejb=DEBUG
|
| #
| # Logging properties
| # TC 06.03.03
| #
|
hi all,
i am deploying an EJB 2.0 app on jboss 4.0.4.GA..
i have following code which results always in this exception (only thing that
differs is the local bean involved in the exception)
| 110:52:29,078 ERROR [STDERR] javax.ejb.EJBException: Invalid invocation,
check yo
| ur deployment
hello
i forgot to post ejb-jar.xml
here it is. i m calling a local slsb from a web app deployed in same ear
| ?xml version=1.0 encoding=UTF-8?
|
| ejb-jar id=ejb-jar_1 xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
hello,
problem solved..
i found a post somewhere that was saying that jboss 4.0 upwards is giving
problems when, while deploying an ear, you have ejb classes also in your war
application..
that was my stupid way of packaging things, sorry...
now that ihave removed ejb related classes from
hello,
yes definitively what you mentionedi sthe solution..
had same problems (wrong way of packaging, ejb files in WEB-INF\lib)
my callByVaue probably wasnt the solution but it is ejb files outside .war
thanks and regards
marco
View the original post :
hi all,
ihave been developing webservices ejbs for jdk 1.4 using jbossws
now i would like to expose my ejb3 as webservice using jbossws..
i have one small question:
is it still necessary to generate wsdl and include it in the jar file?
or is it enoug just to use WebService annotations, package
hi all,
i am trying to generate a wsdl file for my Stateless SessioinBean that i want
to expose as a webservice.
here's bean code
| @WebService (name=EndpointInterface,
|
targetNamespace=http://org.jboss.ws/samples/jsr181ejb;,
|
found solution of my problems/ it is described here
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975288
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975293#3975293
Reply to the post :
hi all,
i am having troubles iwth logging with jboss 4.0.4.GA..
I have deployed (successfully) few EJBs in an .ear file on jboss-4.0.4
all my ejbs and web action classes use log4j for logging (i have my own
log4j.properties file).
what happens is that whenever i run my application, log is fine
could you post query as well as saying which rc version are you using for EJB3?
it could be that your query is wrong, or that you are using a newer query with
an old ejb3 release...
please full @NamedQuery, and then we'll see what's wrong
rgds
marco
View the original post :
well appaently yo udont have the license table...for some reason
did yo uspecify @Table in hte ejb.?
pls post ejb annotations..
rgds
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975115#3975115
Reply to the post :
hello,
i am testig ejb3 with microcontainer.. (rc9)
you can lookup JNDI with YourBeanName/local if it is local or ../remote if
it is remote
but you might get a ClassCastException, because rather than having back your
EJBLocal home you could have back a proxy..
that depends on the
where is your License entity bean?
can you post annotations on this?
have you checked for samples of NamedQuery for EJB3?
hth
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975138#3975138
Reply to the post :
hi all,
i am deploying my .ear application in jboss 4.0.4.GA
i encountered problems with logging big time, found out htat jboss configures
alredy its log4j properties. so i added this code into my logger ..
| if(System.getProperty(log4j.configuration) == null) {
|... configure my
hiya..
i found and solved problem... didnt post cos i had no time
somehow, it has to do with naming system in jboss ..
check followign files
conf\jboss-service.xml
deploy\ejb-deployer.xml
deploy\ear-deployer.xml
deploy\naming**something**.xml
you'll see an entry CallByValue.
you have to set it
hi all,
i am trying to test my ejb3 ejbs by starting the jboss microcontainer
i am using release rc9, and its related microcontainer..
here's my persistence.xml
| !-- Persistence file for EJB3 application --
| persistence
| persistence-unit name=j2me
|
small correction.. i forgot to paste hte hwole content of persistence.xml
(SOmehow i mad ea mistake in copy/paste)
| persistence
| persistence-unit name=j2me
| jta-data-sourcejava:/DefaultDS/jta-data-source
| properties
|property name=hibernate.hbm2ddl.auto
|
hello all,
i have just upgraded jboss ejb3 to rc9 release, so ihav updated also the
embeddable alpha to rc9.
i am running junit test by starting jboss microcontainer in my junit (testNG)
test
i am currently using maven2... btw here' smy pom
| project
hello,
looklike i m ok now. i forgot few VERY important lines of code
while starting ejb3 container
deployer = EJB3StandaloneBootstrap.createDeployer();
deployer.getArchivesByResource().add(META-INF/persistence.xml);
deployer.create();
deployer.start();
hi,
solutionis here.. forgot two lines inthe code that starts up microcontainer
http://www.jboss.com/index.html?module=bbop=viewtopicp=3973755#3973755
regards
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3973756#3973756
Reply to the post :
hi all,
i have deployed an .ear application that contains EJB 2.0 ejbs on
jboss4.0.4.GA..
while my bUSINessDelegate looks up EJB, i always receive a ClassCastException
as a result of the ejb lookup.
when i went to see what was the actual object being returned, i got that its
class was $Proxy88
hello all,
it is definitively a classpath problem in my build script
runnign wstools.bat on its own fixes the problem
sorry for messing around
regards
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3970286#3970286
Reply to the post :
hi all,
i am exposing 2 ejbs as webservices using latest jbossws
i am using two different wstools-config files
JIRA JbossWS-1090 contained a fix in the sense that the webservice.xml does not
get overridden by one of hte two services..
however, if my two services have different
hi all,
i m trying to generate a client using jbossws wstools ant task (within
maven2)..
here's my task
| tasks
| taskdef name=wstools
classname=org.jboss.ws.tools.ant.wstools
| classpath refid=maven.dependency.classpath/
|
Hi all,
i think i m having a clash between wsdl4j and jbossall-client.jar, in the
sense that evenif i download (like i hav edone) wsdl4j.jar and replace jar in
jboss, i still have an old copy of jbossall-client.jar which contains same
classes (i installed jboss at end of july)
i try to get
nope.. i aml ost!
even using onlyneeded jar files, plus the updated wsdlj4 from this link
http://www.jboss.org/index.html?module=bbop=viewtopicp=3968854
doesnot work
and that sounds more strange... i have done a javap on the missing class's
method, and the method shows just fine
|
THanx alex, it worked just fine!!
regards
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3969654#3969654
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969654
___
hi all,
i have deployed an EJB webservice in jboss4.0.4GA.. using latest download of
jbossws..
this is my wsdl-config
| configuration xmlns=http://www.jboss.org/jbossws-tools;
|
| java-wsdl
| service name=MessengerService style=rpc
hi all,
sorry it was my fault.. my bean's name in DD is Responder..
sorry for bothering
regards
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3969871#3969871
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969871
Hello Thomas,
thanks for your reply.. Unfortunately, i am trying to port an existing app
(done with j2ee 1.3, currently deploying on websphere) to jboss..
THE problem i have is that i have more than 1 webservice in the same
application, and putting them in the same wsdl-config results in one
Hello,
i have just downloaded jbossws-1.0.3GA, and installed jars properly in my
jboss directories
i am currently using Maven2, to build my application, here' sthe ant task that
i have defined
| tasks
| taskdef name=wstools
classname=org.jboss.ws.tools.ant.wstools
|
hello heiko,
i have just downloaded jbossws-1.0.3ga, but it looks like JBWS-1090 is not
solved... unless i am doing something wrong
can you please chekc my post in this forum
http://www.jboss.org/index.html?module=bbop=viewtopict=89665
my guess is that somehow in my classpath some files gets
hi all,
i am trying to expose an EJB via webserviecs using XDoclet
i have checked plenty of docs on the wbe on how to do that... and basically i
end up with 2 different way of doing that:
- one where , using xdoclet, we generate proper ejb-jar.xml,then wsdl file,
mapping.xml and
hi all,
i am trying to expose an EJB via webserviecs using XDoclet
i have checked plenty of docs on the wbe on how to do that... and basically i
end up with 2 different way of doing that:
- one where , using xdoclet, we generate proper ejb-jar.xml,then wsdl file,
mapping.xml and
hi all,
i m really lost in this problem... :(
i have been deploying EJBs which inside have a log4j.properties file
i have been receiving following error
ERROR: invalid console appender config detected, console stream is looping
by browsing web, i found that as a solution ((since also jbos
hi all,
i have written few EJBs (2.0)and have generated releted classes using
xdoclet..
i have deployed them on jboss 4.0.2, and as a result i got this followign
exception
| ..
| Bean : StatusRecipient
| Method : public abstract Collection findStatusRecipients(String, String)
throws
solved
solution is here
http://myeclipseide.com/PNphpBB2+file-viewtopic-t-4757.html
i have to replace String with java.lang.String when i define query
regards
marco
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3965532#3965532
Reply to the post :
hi all,
i m trying to deploy an EJB3 ejb as a webservice
i followed steps outlined in the tutorial (comeswith jboss-ejb3.0-rc7), but
after deploying the code
on 4.0.4GA, when calling webservice i got following exception
org.jboss.util.NotImplementedException: HTTP GET not supported
what am i
69 matches
Mail list logo