Yes, worked. Thanks.
Couple of user errors on my part. First I was trying to list the contents of
the directory... which looks like doesn't work because of the security.
Secondly since the default binding (to interfaces) behavior changed with 4.2,
my web-server was not bound on the interface on
I am seeing the same issue after upgrading my application to jboss 4.2.3. The
external directory configuration was working fine on jboss 4.0.5. In jboss
4.2.3 I see the error:
13:36:32,476 WARN [config] Unable to process deployment descriptor for context
'/releases'
My configuration in server
Voted.
BTW, since I am only consuming web-services, following workaround worked for
me:
Workaround: compile against jaxws RI (version 2.1.3) jars and then copy these
RI jars to server/default/lib dir. I haven't done any extensive testing so far,
but application seems to be cruising so far.
V
For others benefit, in case they are running into same issue:
My workaround: Since I am only consuming web-services and not hosting them, i
was able to get my application working by compiling against jaxws RI jars (v
2.1.3) and then by copying these RI jars to server/default/lib for runtime.
Vi
Now I am trying jboss-4.2.2 + metro 3.0.2. Saw the same error. Copied
jbossws-client.jar over to server/default/lib dir. Now I get following class
not found exception. Is there any brave soul here who has been able to get it
working? We need help...
| java.lang.RuntimeException: java.lang.N
I am seeing the same issue with
1) jboss 4.2.3 + metro 3.0.3
as well as
2) jboss 4.2.2 + metro 3.0.3
And I run into other issues after I copy the jbossws-client.jar into
server/default/lib dir.
Has anybody been able to successfully use jboss-metro with jboss 4.2.x? What
are the exact steps
Hi Richard,
Thanks for your reply. The certificate is valid till 2015. Here is the
complete relevant server.log. I apologize ... its kind of long.
| 2008-10-09 09:26:46,176 DEBUG
[org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] END:
rebuildMetaData
|
| ServiceM
Actually my TrustManager class do gets called. However the SSL handshake
process seems to be quite length(and I don't understand much of the details)
and eventually fails with above exception.
For WS stack, I am using whatever comes default with jboss 4.2.3. Am using
"default" server configurat
My web-service client application is running fine in jboss 4.0.5. I am
accessing service over "https" and am using my own KeyManager and TrustManager
for SSL.
However when I upgraded to jboss 4.2.3, the client application stopped working
and I get following exception
2008-10-08 13:24:35,057 I
Let me wrap up my findings for the benefit of others.
I ended up using Hibernate.
With 0.9.7 openjpa, i ran into the error that others have experienced too:
org.apache.openjpa.persistence.PersistenceException: Invalid use of
| destroyed classloader, UCL destroyed at:
With 1.0 openjpa, my app
When I deploy the whole ear, above issue goes away. However since I use MDB in
my application, I am running into this issue
http://jira.jboss.com/jira/browse/JBAS-5049
Somebody has posted a patch here
http://www.techienuggets.com/commentList.jsp?tx=18328&tx=18328&d-49653-p=1
I am now debating
Thanks nitros. I thought I will give it a try anyway to see exactly what the
issues are. I added the openJPA jars (all of them) to server/lib. But when I
deploy my jar containing the entities and persistence.xml, I see following
error:
ObjectName: persistence.units:unitName=covApiSession
|
Hello all,
I am trying to port an application from weblogic to jboss AS 4.2.2. My
application uses JPA and I was using OpenJPA as the persistence provider in
weblogic.
I don't see too much discussion here about openJPA and was wondering if anyone
has tried using openJPA with jboss successfull
Thanks ALR. Couple of follow-up questions:
Q1. How do I make 2 web modules share the stub for the SFSB?
Q2. How do I access the same instance of SFSB (as used by web modules) from my
MDBs?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088188#4088188
Reply
Thanks.
However I can not use DB. Idea is to ship these 3 modules to our customers, who
will develop/package the final j2ee application. So the final j2ee application
will have our modules as well as customer developed modules. This final
application may or may not have DB and I don't want to m
Yes.
One web-module (W1) provides interface to client application and hence has
knowledge of client sessions. Other web-module (W2) implements web-services and
gets events/requests from a different source. W2 needs to modify session data
which is inside W1. Also W2 posts JMS messages on a JMS t
My application has 2 web modules and 1 ejb module. I need to share some state
information (non persistent) between these 2 web modules and the ejb module. Is
there any j2ee way to do it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087298#4087298
Reply t
Thanks for your suggestions ALR.
I have tried @IgnoreDependency in my other jboss-specific app and it does work
fine.
In this case however, I am actually looking for a portable solution and not
something thats specific to a vendor.
View the original post :
http://www.jboss.com/index.html?m
In my servlet I want to inject an EJB, only if its available.
@EJB
| MyBeanClass myBean;
My requirement is that 'myBean' gets initialized if corresponding EJB is
available in the application, otherwise it stays NULL.
Is there a way to achieve this? Is there a way to catch injection exceptions
I need to write a small j2ee application that I can deploy on jboss, weblogic
and websphere. This application needs to run alongside customer's any other
application already running on the application server.
My application will have a need to persist some simple data. I am looking for
suggest
Is it possible to add a new MBean at runtime? My application is managing
external devices running different software releases. When a new device gets
added to my application and its of a release for which I don't already have an
MBean, I want to add a new one dynamically.
This MBean would then
Nobody else is experiencing this??
This is a major problem. I have a bunch of tasks scheduled to do nightly
maintenance on my devices at 1pm every night. So I am using a recurring timer
to schedule these. Everything works as expected if I keep my application
running. But if have to re-start my
Thanks.
As I iterate through the timers and find the one that I need to cancel, is
there a way to know if a @Timeout callback is in progress for that Timer
object? I don't see anything on the Timer class for this.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic
You can mix ejb2.1 and ejb3 in your application. But they need to be deployed
via separate jars.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043253#4043253
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043253
_
Thanks. Does it need to be done from the same MDB (class) which created the
timer?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043166#4043166
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043166
___
I need some advice on how to cancel an active EJB3 timer. Currently below is
the flow of things in my application
1. Client schedules a task via SLSB.
| 2. SLSB validates task parameters and queues a JMS msg, passing it the Task
Object.
| 3. Corresponding MDB gets the JMS message and dependi
I created the timer on a freshly installed jboss instance (so no prior timers)
using the code below:
timer = messageDrivenCtx.getTimerService().createTimer(
| job.getFirstSchedTime(), job.getRecurringInterval(), job);
Here recurring-interval is 1 hour (in milliseconds). After I go
Exactly. So the persisted state should be that initial timer has been
delivered. And hence when I re-start jboss initial timer should not be
re-delivered.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038885#4038885
Reply to the post :
http://www.jboss.com
Using ej3 timer service, I am creating a recurring hourly timer. Its working
fine if I leave my application running, i.e. I get the initial timer callback
as specified and then hourly from then on.
However, after getting my initial timer callback, if I re-deploy my app or
re-start jboss before
What is the expected behavior when the callback function takes longer to
process than the recurring timer interval, i.e. say the timer callback function
takes 15 secs to process each callback while the timer is configured for
recurring every 10 secs.
I am seeing that in this case JBOSS slows do
I have following scenario where my MDB class extends an abstract class which
implements the MessageListener interface.
public abstract class MDBBase implements MessageListener {
|public void onMessage(Message message) {
|
| processJob(some-params)
|}
|p
One possibility that struke me is to inject dependency for SLSB B as well
inside MBean M.
Would be interested in hearing other possible solutions...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007820#4007820
Reply to the post :
http://www.jboss.com/index
I have an Mbean M.
The start() method of this MBean calls a SLSB A.
SLSB A has a cyclic dependency with SLSB B. So inside A I put @IgnoreDepdency
for B.
But now when my application gets deployed I get the NamingException that B not
bound.
Any idea how to work around this problem?
Here is th
Ok. I found the answer in ejb3 trailblazer. The trail on JMX Service Objects
talk about how to annotate a service that depends on other services using
@Depends tag. I guess the same holds true for EJBs as well, i.e. if an EJB
depends on a service, use @Depends tag. I used following to make it w
I have an mbean deployed in a ejb2.1 jar file. Here is the deployment
descriptor.
|
I am writing a ejb3 MDB which depends on above mbean. How do I inject
dependency on the mbean.
I have tried following inside MDB, but it does not work
@Resource (mappedName="myapp:service=ClusterStatus")
|
Trying to post in the right forum.
Original post
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=99357
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002963#4002963
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&
My application is a mix of ejb2.1 and ejb3 beans (actually mostly ejb2.1...
have just started doing new development using ejb3).
I am thinking of using ejb3 style interceptors to do audit logging of my
application.
My interceptor class
public class AuditLoggger {
|
| @AroundInvok
Beautiful. Thanks. Separate jars (inside same ear) fixed the deployment issues.
Now on to the next challenge of cross-referencing each other.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000522#4000522
Reply to the post :
http://www.jboss.com/index.html?mo
We are in the same situation. Have been using EJB 2.1 SLSB and MDB for a while
on jboss 4.0.5. Now we want to use ejb3 for new development. Are there any
guidelines on how to deploy a mix of two.
Should we use "ejb3" configuration from jboss 4.0.5 installation if we want to
mix the two?
Do ejb
Xdoclet attribute @jboss.depends does not work for me if version is 4.0.
Looking at the jboss_xml.xdt (in xdoclet-jboss-module-1.2.3.jar) it looks like
this attribute is only supported for version 3.2.
What equivalent attribute are you guys using in version 4.0?
I am using Xdoclet rel 1.2.3 and
David,
My jboss instance is only the "client" for web services which are running
somewhere else. So I am the "consumer" inside jboss. If your needs are the
same, you can just follow the Glassfish documentation. I would start from
https://jax-ws.dev.java.net/
and just implement the client side
Thanks for clarification.
My requirements were to implement web services client from EJBs. So I was able
to use JAX-WS 2.0 (Glassfish implementation) without problems.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999026#3999026
Reply to the post :
http:/
DerJohannes, were you able to get it working?If so, can you post your solution
here.
I am in a silimiar situation where I need to use JAXB 2.0 with jboss 4.0.5,
but in my case I am getting a classCastException
15:59:10,469 ERROR [STDERR] java.lang.ClassCastException:
javax.xml.bind.JAXBElemen
Well the sources don't compile for me. I am following instructions from here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall
I have tried both against jboss 4.0.x as well as jboss 5.0.0.beta2. Jboss
itself compiles and run ok. But Jbossws doesn't compile.
I have used following
Since I am stuck with following issue
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=97721
I want to try version 2.0.0 CR2 on jboss-4.0.5
Is the binary version available somewhere for jbossws-2.0.0.CR2 or do I need to
build it from the source?
Thanks.
View the original post :
ht
Forgot to mention. My development environment is
jboss 4.0.5
jbossws-1.0.4.GA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995441#3995441
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995441
In my wsdl there is a choice element somewhere. I am using wstools to generate
the java classes from my wsdl, but wstools seems to be ignoring the
"xsd:choice" element.
Below are snippets from my wsdl and corresponding generated java classes:
WSDL
|
Now that I figured out that I was using the wrong endpoint address, my next
question [to the jboss team] is why is this exception logged at ERROR level by
the "org.jboss.ws.jaxrpc.CallImpl" class? My endpoints are dynamic and I know
them only at run time and its perfectly normal for some of the
My mistake... was using the wrong endpoint address.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990532#3990532
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990532
___
jbo
My development environment is
jboss 4.0.5.GA
jbossws-1.0.4.GA
Trying to consume remote web-services from an MDB, using "service-ref" element
in the deployment descriptor as mentioned in the JBossWS User guide. While
invoking a web-service method, I get the following exception. I have looked
Please ignore my last comment. The new class is StubExt documented in Chapter 5
of user guide.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990510#3990510
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990510
___
Which jar do I need for class
"org.jboss.webservice.client.Stub"
I am using jbossws-1.0.4.GA and I don't see it in jbossws-client.jar for jdk1.5
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990506#3990506
Reply to the post :
http://www.jboss.com/index.h
I am trying to consume a remote web service from my EJB running inside JBoss. I
want to use ServiceFactoryImp class and am packging "wsdl" and
"jaxrpc-mapping.xml" files inside my EJB JAR file as
| META-INF/wsdl/
| META-INF/jaxrpc-mapping.xml
How do I create the URLs for these files
I am on jboss 4.0.5, trying to implement ws client in one of my EJB, using
jbossws-1.0.4.GA. I use xdoclet to generate my ejb-jar.xml.
"Consuming Web Services" section of the JBossWS User Guide talks about adding a
"service-ref" element to the EJB's deployment decriptor. But XDoclet doesn't
see
I am on release 4.0.5. Any help would be much appreciated.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989448#3989448
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989448
I have an MBean which creates a subscriber in its startService() method and
closes it in its stopService() method. Everything is working fine, except when
I undeploy my application and stopService() gets called, I get the JMSException
"The subscription had not been previously registered". Its no
Can the SchedulableMBeanMethod method throw exception? If so, what action does
the MBeanServer take upon such an exception? Will MBean continue to get
subsequent schedule triggers?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986270#3986270
Reply to the po
57 matches
Mail list logo