I've loaded a directory's contents into JNDI through a Filesystem
ExternalContext.
It works fine when I try to get or put a File into jndi from an EJB.
However, when i try the same operations from a standalone client, I only get a
Reference object if i'm trying to get the context relative to
I've loaded a directory's contents into JNDI through a Filesystem
ExternalContext.
It works fine when I try to get or put a File into jndi from an EJB.
However, when i try the same operations from a standalone client, I only get a
Reference object if i'm trying to get the context relative to
I've loaded a directory's contents into JNDI through a Filesystem
ExternalContext.
It works fine when I try to get or put a File into jndi from an EJB.
However, when i try the same operations from a standalone client, I only get a
Reference object if i'm trying to get the context relative to
Thanks. I didn't make the connection between my question and MDB singleton
because in my scenario, there may be as many MDB instances as appropriate.
Several messages may be processed in parallel, even on different nodes, as long
as every message is only processed once.
Concerning (4): Why not
Ah alright, I apologize for having polluted this forum. Where can I post this
question?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870153#3870153
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870153
I am running JBoss 4.0 with jdk1.4.2 and I am using microsoft jdbc driver.
After Jboss is running for a couple of hours I get the following error:
[Microsoft][SQLServer 2000 Driver for JDBC]Error setting up static cursor
cache.
I have googled alot and what I have found that the probable
Actually, you can call the following method on MainDeployer to achieve the
touch effect:
| public void redeploy(URL url) throws DeploymentException
| ...
|
Just pass in the full file URL of your archive.
View the original post :
This is really meant for people that are already proficient with MBean
Services. :)
If you want to become one of them, start here:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossService
http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX
View the original post :
Have you read READ THIS FIRST ?
http://www.jboss.org/index.html?module=bbop=viewtopict=59417
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870158#3870158
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870158
Thanks Scott,
Can you tell me which jmx bean and which key would allow me to do that?
Thanks,
Julien.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870159#3870159
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870159
Can I read only 'How can I contribute my cool MBean service'?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870160#3870160
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870160
Can i write separate MBean service for Minute basis message history (or) can i
modify already existing MBean service for Hour basis message history ??
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870161#3870161
Reply to the post :
I have a problem when deploying my service on Jboss 4.0.0
The exception is as following:
17:20:11,549 INFO [TomcatDeployer] deploy, ctxPath=/PhaseLC,
warUrl=file:/Data2/jboss-4.0.0/server/default/tmp/deploy/tmp20531PhaseLC-exp.war/
17:20:12,455 INFO [WSDLFilePublisher] WSDL published to:
I'm using JBoss 4.0.1 sp1. I developed an application that downloaded from
JBoss host via JWS (Java Web Start) connect to the same JBOSS host.
When I try to connect to the host from the downloaded application I get:
java.security.AccessControlException: access denied (java.net.SocketPermission
I'm using JBoss 4.0.1 sp1. I developed an application that downloaded from
JBoss host via JWS (Java Web Start) connect to the same JBOSS host.
When I try to connect to the host from the downloaded application I get:
java.security.AccessControlException: access denied (java.net.SocketPermission
READ THIS FIRST contains a link to FAQJBossJMX, which links to How do I get
remote access to my MBean?
You need to do your own little research before asking questions. Otherwise,
nobody will bother to answer...
View the original post :
Hi,
and here I post the corresponding log statements generated by
JBoss-3.2.1 when generating the SQL statements for the entitybeans.
It takes only 2.5 sec to generate the statements!
Any help would be very much appreciated,
best regards,
peter
| 2005-03-15 10:09:47,259 DEBUG
thanks very much.
But,I want to know why add the IP list clustered in many position,such as
p.put(Context.PROVIDER_URL, IP1:1100,IP2:1100);
in client code.
I think IP shoud be discovered auto.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870167#3870167
Hi
When I try to get an UserTransaction in JBoss using the standard JNDI name
java:comp/UserTransaction an exception is thrown (NameNotFoundException or
something like this). Anyway, the needed UserTransaction object can be found at
/UserTransaction JNDI name. Is there any way to get the
I have a topic and more subscribers that listen to it. I want to filter the
data contained in the jms message so that every subscriber receives just the
data (the part of the message) that they are allowed to receive. So i need to
filter the data before the subscriber reads it.
Any
I updated the jndi.properties as instructed, but it did not seem to cure the
problem.
Upon further examination, I noticed XDoclet did not generate the jndiURL or the
jndiContextClass. Both fields in the web-service.xml are empty (as is the
service name, which I have a bug issued with the
My first posting on this forum - so please be nice! :)
I'm currently trying to debug our application, and I'm having problems
interpreting the condition under which the following stack trace occured. The
stack trace is enclosed below. We are using JBoss 2.4.3 in an EJB environment -
using BMP
OK Got it... looks like I was deploying an old 3.2.3 jboss-service.xml
overwritting my 3.2.6 file.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870176#3870176
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870176
We would like to deploy two versions of the same Oracle jdbc driver. We are
running against an Oracle 8.0.6 and a 8.1.7 instance. In order to use blobs we
have to use a fairly recent driver for the 8.1.7 instance. Unfortunately, this
driver has issues when reading metadata from a certain table
I am getting the following error on startup (actually a warning):
---
GMS: address is sandeepsingh:4582 (additional data: 18 bytes)
---
18:38:31,501 WARN [UDP] packet from /192.168.1.236:3626
I made some progress, but not as much as I'd like. Here is what I found:
1) The WAR approach in the WIKI above separates the logging, but does not seem
to produce truly separate classloaders... if I have a log4j.jar in my WAR and
is of a different version, or if I have 2 WARs with a class of
Is '192.168.1.236' running a different version of JBoss to the one that is on
'192.168.2.188'?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870180#3870180
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870180
I know that this is the 10.000.000 time this question is asked:
How can I retrieve a DataSource from a piece of Java code that does not run
inside JBoss? Just a few lines of sample code would be sufficient!
Please do not let me die stupid!
Regards,
Andreas
View the original post :
Hello -
I have ported my application to run under jboss as a WAR file, and not matter
where I put my static directory of images and stylesheets in my WAR file my
pages just don't see it.
I am referencing them like such: /static/default.css.
Where should my static directory go? I tried
The filtering mechanism that supported only a fixed NotificationFilterSupport
filter has been extended to support arbitrary filters, using a filter factory
plugin mechanism. To activate this feature use the following configuration
syntax:
| mbean
I have to deploy several versions of my ear. But as I don't want to share
classes between these versions, I use an isolated ClassLoader.
I really hope it is not definitly incompatible with a distributed scheduler
over a cluster !
View the original post :
http://www.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870185#3870185
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870185
There is a unit test which does this exact lookup:
| // Get an initial context
| InitialContext ctx;
| try {
| ctx = new InitialContext();
| } catch (NamingException ex) {
| throw new ServletException(Unable to get an
We have resolved this problem with an upgrade to the JVM
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870187#3870187
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870187
You'll have to debug the security policy settings of the downloaded app to see
why the connection is not being allowed. Its the jws application harness that
is setting the security manager and security policy.
View the original post :
Try explaining exactly what your trying to do. You can certainly replace the
existing mean with your own by rebuilding the server. You best bet is to make
a feature request with the changes you have made in jira:
http://jira.jboss.com
View the original post :
jboss does not write the scb_* files, it has to be something deployed to jboss.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870191#3870191
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870191
The mbean has the name pattern:
jboss.web:host=,path=war-context,type=Manager
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870192#3870192
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870192
Probably, you could deploy datasources in SAR's with package-specific
loader-repositories.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870193#3870193
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870193
This feature was introduced specifically to solve your problem.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870194#3870194
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870194
Most likely a hostname resolution problem that you need to debug. Its common
for a linux box to not properly map its hostname to the remote ip address to
check your /etc/hosts.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870195#3870195
Reply to the post :
I'm trying to install J2SE, JBoss, ANT and CVS in a test directory on the
server. Because I know the location may change (!)at least(!) once, I try to
keep things a relative as possible.
How far can I go in this.
Structure now:
appserv/j2eesdk-1_4-solaris-sparc/
| appserv/jboss-4.0.2RC1/
|
All you need is the *latest* IBM JDK filesets installed, and you should be good
to go.
Just watch out for AIX tar and GNU tar incompatibilities:
http://www.jboss.org/index.html?module=bbop=viewtopict=55007
View the original post :
Thanks,
I'll have a look into the docs.
Olaf
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870198#3870198
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870198
---
SF
Read the deployment/dependency info in the chapter 2 of the online admin guide:
http://www.jboss.org/docs/index#as
Your service needs to depend on the entity beans.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870199#3870199
Reply to the post :
Hi Scott, Further explanation of my query:
I would like to store Minute Basis MessageHistory(instead of Hour Basis Message
History). ie: How many JMS messages(Topic/Queue) are send to the JBoss per
minute.
I will store this minute Basis MessageHistory in one text file.
For that can i create
Hi,
I am trying to create a simple XML by calling createElement function from a
stateless session bean. below is the code of createElement .
public Element createElement() {
XMLParserLiaison xpl = new XercesParserLiaison();
Document doc = xpl.createDocument();
Thanks a lot for the reply Scott,
Regarding another of my post and still relevant to the jmx console I am
wondering if there's a way to clear the unified class loader repository through
the jmx console??
Cheers,
Julien.
View the original post :
Hello, I was getting OutOfMemoryError in my application, so I started some
profiling.
I found out that after an Oracle query, the JBoss ConnectionPool is still
holding 180MB in Oracle PreparedStatements.
I initially had prepared statement cache turned to 10 statements. However, I
removed that
Hi
I'm using jboss 3.2.5 with mysql 4.1.7.
I have a table named MASContentEntity, mapped to an entity bean:
entity
| display-nameMASContentEntity/display-name
| ejb-nameMASContentEntity/ejb-name
| local-homemessaging_as.domain.MASContentEntityLocalHome/local-home
|
Sorry, the URL got messed up. Let's try this again:
http://www.dealraider.com/heapDump.jpg
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870208#3870208
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870208
Yes, 2.2.4 versus 2.2.7. Don't do that, separate the clusters
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870210#3870210
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870210
Hello,
I would like to change the default port number for the webservices from port
8080 to port 8081, how can I go about doing this?
I changed the port in the file,
server/default/deploy/jboss-ws4ee.sar/jboss-service.xml
but it still seems that the web service is still running on port
What a smart reply: why arent people read the stack trace?. That exception
should not be happening: when a bean is passivated , the JNDI ENC must be
maintained as part of the bean's conversational state. And it is the duty of
the container.
I wish JBoss would one day work properly.
Not to
Try reading the ejb spec more carefully. There is no requirement to passivate
an InitialContext. The spec states that there is a requirement to passivate the
Context corresponding to ENC:
anonymous wrote :
| A reference to the environment naming context (that is, the java:comp/env
JNDI
oabidian, You may want to go back and have a look at the EJB specification it
may help your understanding of the requirements of the container.
In the EJB 2.1 specification section 7.4.1 there is a list of the items that
can be referenced by a bean that is being passivated, the item relating to
You don't have to ask me to modify the source as long as any redistribution
conforms to the LGPL license terms. If you want this change integrated into
jboss you need to submit the patch via jira.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870217#3870217
I am not sure why you are not using java.lang.Integer as the class for the
Primary Key. java.lang.Integer is definetly serializable. I will appreciate if
you can explain to me the advantage of using java.lang.Object as the class for
the Primary Key?
View the original post :
I'm using jBoss 4.0.1sp1. My log4j.jar is version 1.2.9.
I played around with the logging. I like to use log4j.properties. I have been
able to seperate the logging between jboss and myapp.war (I'm fairly new to all
this, so have no idea how an EAR works). I have updated the wiki:
The object cannot be processed in JBoss. The first 'bad' object prevents
further queue processing. The queue will continue adding objects. However,
the queue listener does not continue processing. In other words, the queue
size continues to grow.
I think the 'bad' queue object gets
The log4j.jar in server/default/lib is 1.2.8.
The log4j.jar in server/default/deploy/myapp.war/WEB-INF/lib is 1.2.9.
The log4j.properties system described in the wiki works even with different
versions of jars being used by jBoss and my application. Does this mean
something?
View the original
I tested it out. If I want to use log4j.properties in my application, I will
HAVE to make the required change in jboss-service.xml, i.e. rename the resource
file that jBoss uses to pick up its log4j settings (conf/log4j.xml -
conf/jboss-log4j.xml).
View the original post :
Don't know if you are still watching this thread - but I wanted to thank you
for your posts - it is rare enough for someone to post an answer to their own
question, much less such a well thought out and well explained answer.
I have been looking at security role mappings in WebLogic and JBoss
I'm calling webservices from a stateless session bean, which returns an array
of user defined objects(complex types) and it returns me a No deserializer
defined for array type exception. This works fine, if I just use a normal
J2SE client.
My environment(webservices client) is JBOSS 3.2.1
I have been looking at this same question. You may have already found:
http://www.jboss.org/index.html?module=bbop=viewtopicp=3827512#3827512 - but
I added a comment posing a question about capability that appears to be added
in WebLogic.
Did you resolve the problem you were having? I would
This is the precedence used by log4j so there is no way to preferentially load
a log4j.properties file using the default search mechanism if there is a
log4j.xml on the classpath search path. We should probably just rename our file
to avoid the conflict.
View the original post :
Update on my problem. Well I've discovered how to turn on logging on the
connection pool in JBoss 2.4.3:
In Jboss.jcml, add the following attribute to your database connection pool
declaration:
true
Set up the following in log4j.properties:
log4j.category.pool name=INFO
Sorted.
View the
All you did was repeat your first comment, which falls into the category:
I think this is what is happening, but I haven't verified my assumption.
I'm not going to provide some usefult information that would enable you to
verify my assumption but I want you to help me anyway
You are probably
oops - should have escaped my brackets.
Post should read:
In Jboss.jcml, add the following attribute to your database connection pool
declaration:
true/
Set up the following in log4j.properties:
log4j.category.pool name=INFO
View the original post :
attribute name=LoggingEnabledtrue/
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870243#3870243
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870243
---
SF email is
The 4.0.2RC1 release has added support for assocating a principal with
additional roles, but its up to the login module to perform the mapping from
the security domain to the application domain. The static mapping supported at
the jboss-web.xml level is only for run-as identity.
| jboss-web
That should solve this issue.
Thanks.
Regards,
Karan
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870245#3870245
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870245
What difference, does it make, if I have different versions of log4j (as
describe in the post above)i.e., a diff version in server/default/lib (call it
version A)and a diff version in server/default/deploy/myapp.war/WEB-INF/lib
(call this version B)?
Since jBoss has already loaded log4j before
Hi,
this is not very clear,
if i leave to false a test show 1475 statements,
to true 1590 statements.
Wich is correct ?
Thanks.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870249#3870249
Reply to the post :
We are pride to announce Super 6.00 beta is available on
http://www.acelet.com/
It comes with a new module: SuperDashboard which is a JMX
(Java Management Extensions) client for monitor and management.
It provides the following functions:
* Browse MBean tree (Peek).
* Manually call methods
The problem guys was that we were not getting any exceptions thrown in 3.2.2 on
the JBoss Server or on the client listener. So I could only report the
'symptoms'. There was no exception reporting.
I'll advise our client to 'upgrade' to 3.2.7 Final version.
Thanks Scott Adrian for your
What is the proper (i.e., safe) way to determine if a server configuration is
running in cluster mode?
I have a custom load balance policy which needs to disable certain behavior if
cluster is not active.
-phil
View the original post :
karanmg, I used the approach you mention in some of my tests. It seemed to
work for isolating log4j, but did nothing for keeping EARs separate from each
other.
Redefining the problem one more time:
I need total isolation of the contents of the EAR (like J2EE 1.4), including
the logging.
I'm looking for some example configuration files for using DB2 with JBoss/JMS.
Can anyone provide this?
Thanks!
- Michael
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870257#3870257
Reply to the post :
Just upgraded to apache axis 1.2RC3 version and everything started working like
a charm :).
Thanks
Srikrishna Kalavacharla
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870258#3870258
Reply to the post :
Hello
I need some help with character encoding, I have machintosh users that are
having problems saving the ? (not ) character. At first i thought it was the
the encoding so i set the -Dfile.encoding=UTF8 in the JAVA_OPS parameter in run
script. Now for every ? i get a ?. Please help me
Is it possible to get hold of an http header field from an interceptor or a
SLSB ?
I know that it is quite easy to write a servlet filter do this but my
requirement is as follows:
I have an Axis webservice running within JBoss. One of the http header fields
in every request is 'uuid' which
JBossWS uses tomcat internally to handler the webservice requests, so the
actual port that jbossws listens on is whatever your tomcat is configured to
listen on. The value WebServicePort is just used for rewriting the service
endpoint address in the wsdl. So basically you want to set the port
The wiki is about J2EE compatible webservices, which is only present in JBoss
4. If you are using JBoss 3, you are actually using jboss.net.
-Jason
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870263#3870263
Reply to the post :
Then yes, if you can replicate the headers with your non-java client it will
work.
-Jason
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870264#3870264
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870264
Yes head is JBoss 5, which will be a J2EE 1.5 implementation, so it contains
ejb3. This is a development branch, so dont expect stability or completeness.
There is also a preview release of ejb3 you can get from the download page.
Thanks,
-Jason
View the original post :
I too think that I have answered my own question. Due to various configuration
complexities, I believe I went down the wrong path. I no longer see the need
for the information in the weblogic.xml file.
In the scenario that I described earlier:
anonymous wrote : For simplicity, let's assume
I ran into a problem last week where I was trying to create a .NET client for a
doc/literal JBoss web service. My WSDL included and imported serveral schemas
(OAGIS schemas) from other files. It turns out the wsdl.exe from .NET SDK
doesn't handle schema includes or imports where the URI has a
Hi,
Here is a list of things that will probably fix your problem.
1. You are using rpc/encoded style webservices which is not allowed by WS Basic
Profile 1.0, try using rpc/literal instead.
2. Try the latest version of jboss (4.0.1)
3. Don't use java2WSDL, use wscompile (included in the Sun
Isn't it better to ask the .Net folks to provide support for the included
schema rather than modify JBossWS to work around this issue?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870272#3870272
Reply to the post :
message selectors, separate queues per customer, etc.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870273#3870273
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870273
$JBOSS_DIST/docs/examples/jca
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870274#3870274
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870274
---
SF email is
I know it sounds strange, but JBoss has already delivered the message to your
MDB client and stopDelivery doesn't tell the client to NACK the message. Once
you stop delivery, you also have to bump the client.
View the original post :
Yes, but... Isn't it better to do what you can to make a system work instead of
making it someone else's problem?
I am also submitting this to the .NET folks, but who knows when or if they will
get around to fixing it? This change only negatively impacts JBoss in that you
can't have a web
You could create your own MBean (that's perhaps remotely accessible or not)
that, given a String, calls the JBoss MBean for you.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870277#3870277
Reply to the post :
I am having a problem getting remote J2EE clients to talk to a Linux JBoss
server. The server is running JBoss 3.2.6, Sun JDK 1.4.2_06, and RHEL 3 and
Red Hat Linux 9.
The problem is that when a remote client connects to the naming service, the
connection to 1099 goes through fine, but the
Interesting.
Did you open a bug with Microsoft on this, they should support any valid url
string as that is allowed by the schema?
Also, if you don't want to maintain your own tree of jbossws there is an option
you can add to your jboss.xml or jboss-web.xml called wsdl-publish-location. It
I see db2-ds.xml and db2-xa-ds.xml, but these are just basic JDBC datasource
configurations.
I'm looking for the equivalent of
$JBOSS_DIST/docs/examples/jms/oracle-jdbc2-service.xml for DB2.
Thanks,
- Michael
View the original post :
Removal of a class loader from the ULR is not supported from the jmx-console,
remotely in general, and is a questionable thing to do as you are essentially
fracturing the type system associated with the removed class loader. Every
class loaded by that class loader remains bound to it as long as
try
setenv JAVA_HOME ../../j2eesdk-1_4-solaris-sparc/
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870282#3870282
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870282
1 - 100 of 125 matches
Mail list logo