Hi All,
For the first time, i wrote the MBean service. I'm using Commons Digester and
run into class loader problem. My problem disappears if i remove
$JBOSS_HOME/server/default/deploy/jbossweb-tomcat50.sar/commons-diggest.jar.
But as soon as i remove, the tomcat throws the following exception.
"gulaplaarajasekhar" wrote : The container is not able to load
com.meerkat.jfr.par.Address class and so the ClassNotFound Exception
| It might be due to various reasons. Few which I know are
|
| 1. If we user more than 1 container, then there should be mapping in one
container saying the
Got my deployment problem resolved after looking at below link:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate-old
As I am using jboss 3.2.6, Ihad to downlod jboss-hernate-deployer-service and
jboss-hibernate.jar from above link.
I also moved hbm files out of metainf directory.
rem
Got my deployment problem resolved after looking at below link:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate-old
As I am using jboss 3.2.6, Ihad to downlod jboss-hernate-deployer-service and
jboss-hibernate.jar from above link.
I also moved hbm files out of metainf directory.
rem
Got my deployment problem resolved after looking at below link:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate-old
As I am using jboss 3.2.6, Ihad to downlod jboss-hernate-deployer-service and
jboss-hibernate.jar from above link.
I also moved hbm files out of metainf directory.
removed
I have released 3.1 RC2 including bug fixes reported these days.
It was released mainly for an administrative reason but I hope
it is also convenient for you all.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893315#3893315
Reply to the post :
http://www.jbo
I get the following error when running the sample web services client:
run-ws:
[java] log4j:WARN No appenders could be found for logger
(org.jboss.webservice.EngineConfigurationFinder).
[java] log4j:WARN Please initialize the log4j system properly.
[java] Exception in thread "main"
Thank you for a bug report.
I have fixed this bug. Please download
the latest snapshot from CVS.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893312#3893312
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893312
---
Hi!
Have you solved your problem? I am having exactly the same error. I am
exposing a SLSB as a web service with jboss.net on JBoss 4.0.2 (patched). I am
trying to expose a VO on my web service, and I am getting the error below at
deploy time:
2005-09-07 02:18:25,554 ERROR [org.jboss.axis.
The JBoss Microcontainer has been released under its own distribution:
It is currently used in the following ways:
* Standalone EJB3
* The POJO/bean deployer to be included in JBoss-4.0.3
* Soon to be the core of JBoss5
Release Notes: http://sourceforge.net/project/shownotes.php?release_id=286951
Hi,
I am using 4.0. I just unzipped it. Where is the installer? I could not find
any way to configure the server.
The only other thing I have installed is Oracle 10g Database, listening on 1521.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893302#3893302
R
i've also just added in
Clustered Stateless SessionBean
for my EJB DDs, but still no joy :-/
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893301#3893301
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893301
---
Enabling trace helped me find the problem.
Here is the return of the getUserRoles during the problem:
Principal: Roles(members:safetyAppUser,HttpInvoker )
Notice the white space after the role name.
The database column that I was pulling these from was a char(30) column, so I
cha
when I start my jboss server I got an error message, I believe this is the
cause that when I test my applicatio they can't find the DefaultDS
here is the error:
| ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding
| state: CONFIGURED
| I Depend On: jboss.jca:name=DefaultDS,s
Hi - the next version of my app is about to go into production, but this issue
is still unresolved, and it runs jobs that can take up to a couple of hours to
run - being able to balance the load of these jobs across my app servers will
be a major help. can anyone shed any light as to why the
Hi, I am using Jboss and have configured JAAS authentication. When I try to
create a Receiver for the temporary queue I am getting follwoing exception:
anonymous wrote : javax.jms.JMSSecurityException: Connection not authorized to
subscribe to destination: JMS_TQ8
When I try to create queue an
When I compile using the latest JBoss I link against ${jboss.home}/lib and
${jboss.home}/server/all/lib and I get the warnings below. These jar files
certainly do not exist in the directories, and I think they are being generated
from the classpath's defined in some of the manifest files. I'm I
I should be able to run through your test wars in the next day to get an exact
idea of what's going on.
I definitely appreciate your good inputs on this. Getting a test case so
quickly is not the norm with most forum questions :-) .
View the original post :
http://www.jboss.com/index.html?mod
Ouch. My bad. In my original post I should have written "context" and not
"host". Sorry for the confusion.
The context file I've been using to test/prove is very simple. It contents is
(IPs and names changed to protect the innocent):
|
|
|
View the original post :
http://ww
Thanks for the response Brian. I know you're under time pressures.
What you say makes sense. What it feels like JBoss is doing in SSO is that
upon authentication with one app the principal gets propagated to the other
webapp's context and the credentials are cached. Or there is some security
Hi, I am using Jboss and have configured JAAS authentication. When I try to
create a Receiver for the temporary queue I am getting follwoing exception:
anonymous wrote : javax.jms.JMSSecurityException: Connection not authorized to
subscribe to destination: JMS_TQ8
When I try to create queue an
i try to stop "message-delivery from a queue".
DocImportProcessorEJB:
| onMessage(Message m) {
|if (...) {
| ObjectName objectName =
| new
ObjectName("jboss.j2ee:binding=message-driven-bean,
| jndiName=local/DocImpor
Doh... I can't upload an image so here is a copy paste of the debug tree.
PublisherSequence this= PublisherSequence (id=27)
| String intendedServerIP= "jnp://x.x.155:1099"
| PublisherSequenceSecurityProxyRemote pubSeq= $Proxy3 (id=40)
| InvocationHandler h= ClientContai
Now I'm confused.
anonymous wrote : I'm having some trouble getting
RemoteAddrValve/RemoteHostValve working at the host level.
anonymous wrote : Please don't tell me in WEB-INF of each of the protected
resources. This is supposed to be a host level deal;
If you want to protect different contexts
Using ant task jspc in JBoss version 3.25. Upgraded to JBoss 4.0.2 and tried
to run the same task and got an error ClassNotFound for VariableResolver. Does
anyone know what's missing?
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893274#3893274
Re
Loading up my client in the Eclipse debugger I can see that its the
InvocationContext that is getting confused. So my lookups are indeed being
performed correctly but at some point that I haven't pinned down just yet the
InvocationContect is getting changed internally.
Attached is a screenshot
Did you mean to timeout on a statement execution (within a connection)?
If so, you can use Statement.setQueryTimeOut(int seconds). I don't think there
is any configurable way to set it on a statement via the -ds.xml or any other
way.
Thanks,
Kalyan.
View the original post :
http://www.jboss.
Hi,
Reposted from Clustering/JBoss -
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=66344 (sorry, but
after 570 views and 8 weeks, without a reply I thought I would risk it :-))
I have a MBean (in a .sar) that uses a custom loader repository
( in jboss-service.xml). This works fine i
Thanks, it works now! I am indeed using Eclipse to compile classes.
g
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893269#3893269
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893269
---
So maybe we're not discussing the valve at the same level. I need to leave some
app open to the world and secure others. The docs describe doing this using a
context. I have tried everything the docs have suggested and I come to the
conclusion that: 1) the docs are wrong or intentionally ambiguo
Which version of JBoss have you installed (There are loads of releases that
start with 4!)?
How did you install it? Did you unzip an archive or did you use the installer?
Have you installed any other application servers recently? The majority of
times I have seen users with this problem they
I'm not suggesting you place context elements in server.xml. Follow the
example at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html to
add the valve at the host level.
This way, you don't need to mess with context.xml at all.
In server.xml, you would have something like this:
I installed JBoss 4 & it appears to be working, but I can't get to any pages
because it prompts for a user-password. How do I shut this off?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893258#3893258
Reply to the post :
http://www.jboss.com/index.html?mod
Thanks Andy, but your recommendation runs contrary to the Tomcat documentation.
Please see the following page:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
I've also tried dropping 'context.xml' into different directories including the
one you recommend but it still doesn
Jim,
Sorry for the slow response. If this is important for your organization and
you need someone from JBoss to help get answers on this quickly, you should
contact our support group. Please understand the forums are a form of free
support and don't necessarily get the attention we would lik
I have jboss 4.0.3 RC2 running on XP Prof. SP2 and JDK 5.0 update 4. For
deploying a simple jsf appication from Java studio creator (only 1 outputext on
one page) I followed instructions on the following sites:
-http://www.jboss.org/wiki/Wiki.jsp?page=JBossFaces
-http://wiki.jboss.org/wiki/Wiki.j
I think therefore I can safely cache the context used for lookups. The other
issue is overlapping create calls from multiple threads on an EJB home. That
it's stateless is promising but you never know if it's scribbling on class
values that preclude overlapping calls. Unless it's stipulated it
What do I need to do to configure JBoss so that it connects to Oracle with
proxy authentication?
I have taken over support of our business logic running on JBoss 4.0.2. We
currently connect to an Oracle 10g database and JBoss connects to the database
as each individual user so each user has to
I added the comment.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893245#3893245
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893245
---
SF.Net email is Sponsore
Hi all,
If I run JBoss in a command window on a Windows XP machine I can get the HSQL
Database Manager to work through invoking the MBean method. If I install JBoss
as a Windows Service using JavaService the HSQL Database Manager never starts.
My service command to install jboss is as follows
I've been tasked with updating JBOSS 2.4.4 to 4.0.2. In our current Java code
for our Java Servlets, we use JBOSS 2.4.4 libraries to view connection pool
information, as such:
| Object obj = fJNDIContext.lookup("java:/" + fstrPoolName);
| fDataSource = (DataSource) obj;
| fXA
Any verification of this? Another person within my organization has been able
to reproduce the problem. It'll be important for us to know:
A) That this is a bug
B) What the timeframe for resolution will be
Thanks,
Jim
View the original post :
http://www.jboss.com/index.html?module=bb&op=view
any one have an ideas for why I'm getting this error, Thanks
[junit] null; nested exception is:
[junit] java.lang.reflect.UndeclaredThrowableException
[junit] java.rmi.RemoteException: null; nested exception is:
[junit] java.lang.reflect.UndeclaredThrowableException
[junit] at org
Hi
What is this QueueFactory is it from jacorb.jar ? (in that jar there was such a
class with no getInstance() method...)
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893237#3893237
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
Are you using Eclipse for compiling a class?
I have fixed this problem (I don't call it a bug :-)
Can you try the latest snapshot available from CVS HEAD?
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893235#3893235
Reply to the post :
http://www.
sorry...
| true
| true
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893233#3893233
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893233
--
...
should be:
...\jboss\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml
true
true
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893232#3893232
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
Hello,
you sould disable the J2EE 4.0 class loading (not remeber exaclty in which file)
ciao.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893231#3893231
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893231
--
Hello,
i'm using ejbs over http in our application. Users connect to the server using
a VPN, then access jboss on port 8080.
Working fine for most of them, but some have the following errors:
anonymous wrote :
| java.net.ConnectException: Connection timed out: connect
| -- Connection timed
Hello there,
I am using jboss 3.2.6 and I exposed a session bean as a web service, using the
@jboss-net tags. Although it works well it is exposed as a service running in
rpc/encoded style.
I have read many topics in this forum saying that they have webservices running
in rpc/literal or docume
I would like to know whether implementing portal in Jboss can cause major load
to the server. For example, If you implement weblogic using portal the server
needs to much memory. In the case of Jboss is the same?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p
Try this code it will work:
public void browseQ() throws JMSException {
QueueConnection queueConnection = null;
QueueSession queueSession = null;
QueueBrowser queueBrowser=null;
queueConnection =
QueueConnectionFactory.getInstance()
darran: I realized that after the fact. The point was to include the service
definitions with the app, instead of having them outside on their own in the
deploy dir. Just keeps things neater, IMO.
Andy: THANKS!!! That works perfectly. Personally, the libdir thing doesn't
matter to me, since I w
THe easiest way to run TreeCacheAop under AS is to pre-compile the pojo using
aopc. That way, you don't need jboss-aop.xml anymore once it is done.
But if you need to do loadtime instrumentation, you will need to consult the
JBossAop documentation:
http://docs.jboss.com/aop/1.3/aspect-framework
We observer a similary problem. The MetaData in the generated WSDD file are
mostly ignored by the Serializer.
The follwoing web service:
|
|
| http://www.asg-platform.org/scenarios/attractionbooking/services/MobtelPhoneLocationService";
|
xmlns:tns="http://www.asg-platform.org
And here's an extract from the web.xml file:
| AppStartupServlet
| com.app.servlet.StartupServlet
| 1
|
|
|
|
|
| My app
| /jsp/*
| *.do
| *.jsp
| /servlet/*
| /servlet/DisplayChart
| GET
| POST
|
|
| dev
And here's an extract from the web.xml file:
| AppStartupServlet
| com.app.servlet.StartupServlet
| 1
|
|
|
|
|
| My app
| /jsp/*
| *.do
| *.jsp
| /servlet/*
| /servlet/DisplayChart
| GET
| POST
|
|
| dev
Hello there! This is a basic question, it's more related to ejb-spec I guess,
but since JBoss is my default AS, I hope you guys could help me out here ;)
Ok, I have an MDB with CMT. This MDB calls an ApplicationService (just a POJO)
that performs our business logic. In case something bad happens
BTW, I am running JBoss 3.2.6
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893211#3893211
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893211
---
SF.Net email is
BTW, I am running JBoss 3.2.6.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893212#3893212
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893212
---
SF.Net email i
BTW, I am running JBoss 3.2.6
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893210#3893210
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893210
---
SF.Net email
I am a newbie to using HarDeployers in Jboss. I am deploying my .har
file using .EAR package.
I am getting below exception on deploying:
---
2005-09-02 18:22:02,868 WARN [ServiceController] ( ) Problem starting
I am a newbie to using HarDeployers in Jboss. I am deploying my .har
file using .EAR package.
I am getting below exception on deploying:
---
2005-09-02 18:22:02,868 WARN [ServiceController] ( ) Problem starting
Instead of the following, use "Required" as the transaction type
@ejb.transaction
| * type="Supports"
Instead, use:
@ejb.transaction
| * type="Required"
I think this might work. Try it out
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893205#3893205
I place mydb-ds.xml in the root of my ear. My ear/META-INF/jboss-app.xml looks
like this:
|
| http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd";>
|
|
|
| mydb-ds.xml
|
|
|
I still have to copy the JDBC driver jar to the server's lib directory. Anyone
know if it'
Yes the fact the ClassCastException mentions javax.naming.Reference is enough
information to realise you had jars missing on your classpath.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893203#3893203
Reply to the post :
http://www.jboss.com/index.html?mod
Here is the code snippet
package movie.ejb;
import java.rmi.*;
import javax.ejb.*;
import javax.jms.*;
import javax.naming.*;
/**
* @ejb.bean
* name="MessageController"
* extends="javax.ejb.MovieSessionBean"
* view-type="remote"
* jndi-name="movie.ejb.MessageControllerHome"
* descript
After debugging the jboss code, i found that the reason why the servlet is able
to invoke the method on bean is because, somehow it is able to get the right
role, which is required by the bean.
I put a breakpoint in the OILServerILService at the following line:
| case OILConstants.AUTHENTICA
After debugging the jboss code, i found that the reason why the servlet is able
to invoke the method on bean is because, somehow it is able to get the right
role, which is required by the bean.
I put a breakpoint in the OILServerILService at the following line:
| case OILConstants.AUTHENTICA
I found the reason for this. It has nothing to do with ClassCastException
actually.
The JMS client was not able to connect to JBoss server hence I was not getting
the Queue type object and thus the ClassCastException.
Putting jbossall-client.jar in the classpath solved the problem.
View the or
(Not sure if this is right forum, doesn't really fit in any).
When trying to access a page on my web application, the page will never load.
The browser just sits there trying to connect.
Other web applications are fine, can access web-console without problem. Can
also access some of my other
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893183#3893183
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893183
---
SF.Net email is Sponsored by the Bette
The container is not able to load com.meerkat.jfr.par.Address class and so the
ClassNotFound Exception
It might be due to various reasons. Few which I know are
1. If we user more than 1 container, then there should be mapping in one
container saying the path of the other container.
2. If usin
Exception in thread "main" java.lang.ClassCastException: javax.naming.Reference
at QClient.main(QClient.java:33)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893172#3893172
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
thanks joachim it works fine
best regards
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893169#3893169
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893169
---
SF
Hi,
I'm trying to get the TreeCacheAop running inside JBoss. TreeCache was no
problem but I'm stuck with this exception.
java.lang.IllegalArgumentException: TreeCacheAop.putObject(): Object type is
neither aspectized nor Serializable
Meanging that my object isn't aspectized, ok. How can i ach
Anyone have any insights about this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893166#3893166
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893166
---
SF.Net e
If you are getting a ClassCastException post the Exception stack trace and
message.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893164#3893164
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893164
You could put all of your datasource definitions in a single -ds.xml instead.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893162#3893162
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893162
---
It is a bug in the javascript from activewidgets. I am not allowed to have
anonymous wrote : http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> in
my html-page. I am trying to remove the line from the index.jsp.
But why I can access only files from the root folder is still confusing...
V
Finally, I noticed that the hibernate3.jar that was in my classpath was
slightly different than that in the
server/default/deploy/jboss-hibernate.deployer/ folder. So I replaced the
classpath with the latter and it works fine. Hope this works for you too.
View the original post :
http://www.jb
Thank you for your reply :)
"diondodgen" wrote : Hi Hannes,
|
| Well looking at this I would check to see what the application context name
of my portlet is. This should provide a bit of information of your path to your
war file resources.
hmm, what do you exactly mean? I can retrieve only
Hi Siva,
I am of the view that you are missing something in your ejb-jar.xml.
your method permissions are not proprly set.
Administrator
Math
Remote
MultiTwoNumber
Add something like this and see
If you don't have X installed on your system, then you may have to pass
-Djava.awt.headless=true to your java runtime. This can be added in
jboss-dir/bin/run.conf
Joachim
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893154#3893154
Reply to the post :
htt
Just playing around with jboss,axis.
I created a servlet that makes use of a certain mbean.
I want the mbean to be registered first and then the servlet class to be
initialized.
The Mbean is part of a different sar and the servlet in question is in a
different war file.
Can any one help me w
Why isn't the following code browsing the messages in my queue? what is my
mistake?
public Enumeration listMessages() {
| QueueSession session = null;
| QueueBrowser browser = null;
| Enumeration queueContents = null;
| try {
| session = _queueConnection.create
I've configed JBoss Connection Pool and the database is Oracle9i.
But I met some error when I use getTables() method,there was an error. The code
is as followed:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
env.put(Cont
I've configed JBoss Connection Pool and the database is Oracle9i.
But I met some error when I use getTables() method,there was an error. The
code is as follow:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
our problem occurs after restart report server.. Report server works normally.
But when i restart the server (without any variety) , our server is giving
java.lang errors.
first --Can't connect to X11 window server using 'localhost:1.0' as the value
of the DISPLAY variable.-- error is on report
hi
our problem occurs after restart report server.. Report server works normally.
But when i restart the server (without any variety) , our server is giving
java.lang errors.
first --Can't connect to X11 window server using 'localhost:1.0' as the value
of the DISPLAY variable.-- error is on rep
Please post the code in which you are sending the message
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893145#3893145
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893145
--
Hi
I am also facing the same problem.
I am using samples given in the JBoss distribution as per the JBossMQWiki.
However when I use testQueue then I get ClassCastException and if I use queue A
then I get Queue not bound exception.
==
Here is my code:
Thanks Scott! I have to say you are really on top of things, I see your posts
all over these forums.
I am able to reproduce the intended behavior in 4.0.2 - the same as 4.0.1sp1.
Is this behavior specified in the newer servlet spec? Just wondering why the
results were different in JBoss 3.2.5?
93 matches
Mail list logo