Hi all,
I have a kinda annoying problem on JBoss 3.2.3 w/ Tomcat 4.1 on a Debian
system when I go to start the jmx-console. It appears to be caused by
Jasper trying to write a temporary file in whatever directory I started
Jboss from. Keep in mind I have jboss running as a "jboss" userid.
The
JBoss 3.2.3 2.0 Ghz XP box with 1G RAM in non-debug mode: 15 - 20
seconds. Definitely "slower" than 3.X was which usually clocked in at 12
seconds. My home system has a faster hard-drive, it still takes 12
seconds to load the default.
-Original Message-
From: duslow [mailto:[EMAIL PROTEC
In more general terms you want to interface with objects in a running
JVM:
http://java.sun.com/docs/books/tutorial/native1.1/
-Original Message-
From: richardander [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 11:42 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] [Beginners
Hi,
I'm trying for hours but can't get it working. I'm new to EJB an xdoclet.
Why does the following not work? I need an unidirectional n:1 relation between
the following tables. Xdoclet-tags and jboss-output are below.
Table: address
(many fields - not important)
country (the country-code)
Ta
Upgrading from 3.0.6 to 3.2.3 results in a null pointer exception in the generated
code of the following trivial ejbSelect method:
ejbSelectFoo
java.lang.Integer
I verify that I'm not passing a null argume
We have a few application servers in production which have locked up so that we cannot
bring up a bash shell. They would only lock up after many days of running. The logs
did not show anything conclusive, each crash has a different sequence prior to the
crash in the log.
After trying many dif
Thanks for the quick reply. What can I expect in this new implementation? Will true
hardware multicast be available with the JMS? When can I expect an officially stable
release?
Am I currently multicasting with that old version? Can I get some documentation?
http://www.jboss.org/index.ht
Hi,
I have JNDI and JMS running over HTTP. All fine. But I would like to move on to
HTTPS and am facing problems. Any help would be gr8. Kinda stuck. I have modified the
SSl connector configuration in jboss-service.xml in jbossweb-tomcat41.sar\META-INF
Its now as shown below.
**
Hi, has anyone tried to run jboss 321 on Conectiva Linux ( it's a based Red Hat system
).
I can't get it running... a lot of exceptions!
Thanks,
ltcmelo
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825119#3825119";>View
the original post
http://www.jboss.org/index.html?module=bb&o
If you implement the model mbean interface yourself, rather than use the
existingimplementation, then you're in charge of calling load() and store() at
appropriate times -- there's no notion of a container in the JMX spec.
-- Juha
On Wed, 10 Mar 2004, Marco Mistroni wrote:
> Hi all,
>
what kind of access ?
On Mar 10, 2004, at 3:08 PM, [EMAIL PROTECTED] wrote:
Hi all,
I have two ear files.
In EAR A i need to access a sessionbean which is in EAR B.
How can this be achieved?
Thanks in advance,
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
Hi,
I have developped a data processing software in C++. Now, if I want to expand it to a
3 tired system, using JBoss as application server linking a database at backend, my
C++ program as client application. May I know how the C++ program "talk" to this JBoss
application server?
Thank you!
I am trying to connect to two databases and I get the following error message. The
first connection works fine, but if I try to connect to second databse it fails.
Connecting to any one database works. Any help?
14:53:33,102 INFO [MainDeployer] Deployed package:
file:/C:/jboss-3.2.3/server/d
Rod Macpherson wrote:
The average box will start JBoss in about 10 seconds. With a large
application (several hundred EJBs and hundreds of pages and servlets) it
can take a minute or more. I cannot speak to other servers in general
but WebLogic takes two or three times longer. JBoss is faster beca
If I rollback a message via setRollbackOnly() is there a way to delay the redlivery to
my MDB so its not immediate?
I know with Weblogic they added a proprietary method so you could set a delay value
and I didn't know if there was something like that in JBoss?
Thanks
http://www.jboss.org/inde
On my P4 1.7ghz W2K box with 512mg of RAM, the default JBoss target starts in about 1
minute. The All target is slightly longer because it deploys more services then
default does.
This, of course, will change as you add or take away services from your own custom
target.
http://www.jboss.org
Can't help with the Oracle integration, but I can with where to configure your MDB
pools.
There are two basic ways to accomplish this.
If you wish to use the JBoss defaults and just tweak the settings, then go to the
server//conf/standardjboss.xml file and look at both the proxy-binding-confi
The average box will start JBoss in about 10 seconds. With a large
application (several hundred EJBs and hundreds of pages and servlets) it
can take a minute or more. I cannot speak to other servers in general
but WebLogic takes two or three times longer. JBoss is faster because
the EJB precompilat
hi all
I'm trying to have a unicode enabled database for the web site I'm developing. The
current installation is jdk1.4, postgres 7.3.2, jboss 3.2.3 on redhat linux9.0. The
unicode seems to work well with normal jsp files with resource bundles. But when I try
to input unicode characters into
Hey guys,
I just posted a hotfix for the JBoss 3.2.3 simpleContent WSDL bug on my weblog and
though some of you might find this useful. Here it is:
http://www.martinmay.net/archives/11.php
Enjoy,
Martin
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825107#3825107";>View
the
Title: Message
JBoss
implements an Entity Resolver which will retrieve known DTDs from a local
resource. If this is not happening, the most likely scenario is that you've
mistyped the SYSTEM id?
--
Danny Yates
-Original Message-From: Eric J Kaplan
[mailto:[EMAIL PROTECTE
Thanks
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825105#3825105";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825105>Reply
to the post
---
This SF.Net email is sponsored by: IBM L
Currently, Nukes authenticates again an internal table.
There has been some discussion about using LDAP for authentication,
http://www.jboss.org/indtex.html?module=bb&op=viewtopic&p=3823618#3823618
but this has not happened yet.
Sherman
http://www.jboss.org/index.html?module=bb&op=viewtopic&p
hi
does anybody know is it able to configure logging output to print message in utf8 now,
when print something like log.info("some unicode escape") or simpler
System.out.println("\u***")
in console and log files looks like "? ???"
(and,of course it's not a compile error ).
My platform JBo
I have an EAR which I've been running with JBoss since the 3.0.0 days. After backing
off from 3.2.3 to 3.2.1 due to some unrelated problems with Tomcat (3.2.1 is the last
release using Jetty), I'm getting the Error Set below if my EAR and service.xml is
already in the deploy directory when I st
remrick wrote:
Hello,
I'm using JBoss 3.2.3. I'm currently in the middle of setting up clustering and have a question that's related to the farm-service.xml file.
I notice that in the server/all/deploy folder that there exists a deploy.last folder which contains farm-service.xml. Reading the d
sumesh_ps wrote:
In our production server ,Server have 4GB RAM in that
1.We tried with -Xms512m -Xmx512m then what happed
one or two hours after restarting again system hangs up
and users not able to get the page.
2.Then we started testing with bigger value that will be most suitable.
F
i'm getting a 500 error in one frame of a page (DB query results) when i deploy to a 2
node cluster - 3.2.3 and jk2.0.2. it only happens on the initial page load - when i
reload the page the frame draws correctly.
i never see the error when i deploy non-clustered.
i was wondering if it has som
dkdkdk wrote:
i want to bundle Apache+Jboss-Tomcat with mod_jk2 on linux OS(eg RedHat 9.0 etc..)..
but i can't find mod_jk2 file in apache website, i only find mod_jk2 for win32 and solaris...faint.
mod_jk2 is part of Tomcat distribution. Look at
jakarta-tomcat-connectors-4.1.30-src.zip
You hav
Considering using JBoss for your next project?
Want to know more about the future of JBoss?
Want to meet with JBoss?
The Open House is designed to introduce the busy professional to JBoss. We will speak
both about technical and business aspects as well as introduce our business partners
Hi,
I am in the process of using JBOSS 322 for JBOSSMQ need some info ASAP
please let me know: steps
- Settingup oracle for persistance with and other configurationfo
- How to set the MDB pool info in configuration
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825097#3825097";>View
I got it working. The created a user in AD with the correct permissions.
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825096#3825096";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825096>Reply
to the post
My guess, this is because of an attempt to forward a message to the client that was
previously connected. If this is the case, I think the server should not complain so
loudly.
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825095#3825095";>View
the original post
http://www.jboss.or
Bump.
Having same problem with 4.0.0DR2 but not with 3.2.3.
I've tried changing my Java type for the pk-field to java.lang.Integer,
java.lang.Long, long, and int and also tried using alternative column-types such as
BIGINT, INTEGER, etc. but the problem persists.
-Jason
http://www.jboss.org/
Hi,
I have just started using JBoss, and notice that starting JBoss takes about 3-4
minutes. With other app servers I have noticed start up time is much shorter.
is this regular with JBoss or is there something I can do with run.sh to tweak up my
start time?
http://www.jboss.org/index.html?mod
Hmm.. Looks like no one is interested in solving this problem. I did notice similar
posts go unanswered as well. Well.. I gave up on JBoss Scheduler. I was able to get
Quartz Scheduler work the very first time. Hats off to Quartz. Hopefully JBoss will
integrate Quartz Scheduler replacing its own
I asked this question on the forums with no answer. What do
you do if you are not connected to the network yet you have ejb-jar.xml
declare DOCTYPE…java.sun.com? Is there any way to turn off the validation
on the server? It complains if there is no DOCTYPE in the deployment
descriptors. Har
Thanks Adrian,
But if I have hundreds of objects with many methods, in each I must pass reference on
my stateful bean, but this is not good. We do not pass transaction context to each
method, the server has mechanism for it (by the way, in IIOP protocol implementation
transaction and security co
You need a load balancer for http.
JBoss (more precisely the embedded Tomcat or Jetty web server) implements one side of
mod_jk. The load balancing part is done using a plugin in the web server (Apache, IIS,
...)
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825090#3825090";>View
th
You need a load balancer for http.
JBoss (more precisely the embedded Tomcat or Jetty web server) implements one side of
mod_jk. The load balancing part is done using a plugin in the web server (Apache, IIS,
...)
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825089#3825089";>View
th
I got this to work like a champ (with Oracle) using
org.jboss.ejb.plugins.cmp.jdbc.ByteArrayBlob.
On my client, I grabbed the PDF file, read it in as an array of bytes and created the
ByteArrayBlob with a ByteArrayOutputStream.
Sample Code:
| FileInputStream fis = null;
| Buffered
simply specify 2 different jndi-names:
eg.
| db1
| jdbc:postgresql://localhost/db
| ..
|
|
|
| db2
| jdbc:postgresql://localhost/db
| ..
|
lg
wolfgang
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825087#3825087";>View
the original po
i start jboss so that it listens only on localhost, and refusess external connections.
as you can see from the exception the shutdown script will try to connect to the real
ip address of the host instead of 127.0.0.1, which is refused.
shutdown.sh --server 127.0.0.2 will try to connect to 127.0
Hi Zapa,
I am going off the top of my head here, so I might be wrong, but...
You probably don't want to cast the bytes of the input stream directly into a BLOB.
What you probably want is your PDF field on your entity bean to be of type "byte[]".
A BLOB is essentially just a byte array. So lets
could be related: when you do a new InitialContext() with localhost as the jndi
provider then it will actually try to connec to the real ip address of the machine
instead of 127.0.0.1.
i'm looking for a solution because if you run.sh --host localhost (to disallow
connections from other hosts) t
Sorry, I'm a real newbee to Nukes on JBoss.
I'd like that our users are authenticated by using their data in our Active Directory.
1) Is this to be configured in some Nukes config files or is this part of the JBoss
server (or both)?
2) Which steps do have to take to get this thing done?
3) Or i
run.sh --host localhost
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825081#3825081";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825081>Reply
to the post
---
This SF.Net email is
Hi,
sorry for bothering you with this question. I have found the error.
I learn according to the book Enterprise JavaBeans 3rd Ed. I put the META-INF dir as
said in the book and the picture on page 99 - which was an error.
The book seems to have a few printing errors, but I discovered an errat
This InputStream.read() is being done by Tomcat? Then strike my last suggestion
FYI, a blocked InputStream.read() does not eat CPU. You really should run your
application through optimizeit. Thread dumps just ain't gonna do it.
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825
still sounds like a application problem
You might want to try processing this file within a transaction. The JBoss
transaction manager will interrupt the tx's thread on a tx timeout which will
interrupt any blocking I/O.
or, you could just implement this timeout/interruption code in a se
An update on this: First, thanks for the feedback to date. I have associated a
specific incident with the increase in CPU usage by Jboss. Some of our HTTP requests
contain a file that is read into memory and then saved on the server's file system.
In some cases, it seems this file data is co
If you are not using this service, just rename the file iiop-service.xml in the deploy
directory, so as to avoid startup of this service.
eg: mv iiop-service.xml iiop-service.xml.bak
Regds
Thomas
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825070#3825070";>View
the original post
Hello,
I am having trouble to deploy a jar. When i deploy my jar to jboss-3.2.3(jar that
working for jboss-2.2.2), i get an exception:
java.lang.NoClassDefFoundError for a dependent class DSSQLException, though this class
file is in the jar for sure but it is not ejb class but a normal class.
"cliu" wrote : Anyone knows how to use "shutdown.sh" to shut down different JBoss
instances?
Same question - get multiple jboss instances running, but what about shutdown/restart
of specific instances?
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825067#3825067";>View
the original
table-name in standardjbosscmp-jdbc.xml is not working and the table being accesed
(created in case of create-table=true) is always Ent1- the name of the ejb itself.
The standardjbosscmp-jdbc.xml is in the jar file along with jboss.xml and ejb-jar.xml.
Is it EJBQL queries? They always load data from the database.
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825062#3825062";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825062>Reply
to the post
-
I think, it should work with 3.2.3.
Instructions on getting the the source from CVS can be found on sourceforge. You need
Branch_3_2 branch.
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825061#3825061";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mod
Andy,
I'm having the same type of problem.
As soon as I define a loader-repository of an ear deployment, I get
ClassCastExceptions for xml related classes. In my case its a SAXParser class but it
seems like the same deal.
Have you made any headway on this?
Does anyone have any suggestions fo
adrian, is it possible that the container is asking for connections too fast? I put
random sleeps in my client as well as in my server code which sends messages and the
error goes away. Again, right now my code does nothing but pass messages around.
Also both the client and server use the sam
Hi
I have the same problem?
does anyone has any solution?
Thanks
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825058#3825058";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825058>Reply
to the post
---
You need jk2, from the site of jakarta download this tar.gz and compile
, currently I use a Apache 1.3.29 with JBoss 3.2.3 , join y jk2
Jaime
>>> [EMAIL PROTECTED] 09/03 4:13 >>>
Hello.
I currently am using the built in http that is used by default with the
jboss/tomcat (4.x) integration. I a
There is no information in log file if some RuntimeException rised during ejbStore. It
took me about 2 days to understand problem. At the end i understood that there is
nothing (except transaction rollback) in log file.
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825057#3825057";>V
Hi all,
To get acquainted with ModelMBean and persistence, I have
written
A very small ModelMBean that implements the PersistenceInterface, and I
have
Written dummy load() and store() to see when those two methods are
called.
My assumption is that load() was called when the MBean was depl
Hi all,
I have two ear files.
In EAR A i need to access a sessionbean
which is in EAR B.
How can this be achieved?
Thanks in advance,
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
Hi,
We deployed a web application as well as workflow engine JBPM onto JBOSS webserver. It is working fine. JBPM uses Queue/A , which is defualtly configured with JBOSS, to send messages to different users in the JBPM. Now, i created an MDB which listens to quue/B and starts the JBPM application.
Or, if you feel adventurous, you could try using jpackage version of mod_jk2 (and
therefore the jpackage version of java). http://www.jpackage.org
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825056#3825056";>View
the original post
http://www.jboss.org/index.html?module=bb&op=pos
Hello,
There is quite a bit of discussion (and confusion I believe) in how to connect from a
java client (whether it be a Java app, servlet or JSP) to a JBoss instance that
happens to be clustered. I am seeing lots of discussion on just exactly how to create
the proper JNDI Properties to pass
Hi,
I have been using setup jboss version 3.0.8 so I can use windows-1250 encoding.
Database is mysql.
So configuration is following:
in run.bat I added following two properties:
-Ddefault.client.encoding=windows-1250 -DISO_8859_1=Cp1250
and
in mysql-service.xml file used
jdbc:mysql://localhost
Hello,
I'm using JBoss 3.2.3. I'm currently in the middle of setting up clustering and have
a question that's related to the farm-service.xml file.
I notice that in the server/all/deploy folder that there exists a deploy.last folder
which contains farm-service.xml. Reading the docs it tells m
simply specify 2 different jndi-names:
eg.
db1
jdbc:postgresql://localhost/db
..
db2
jdbc:postgresql://localhost/db
..
lg
wolfgang
- Original Message -
From: "nagasheshu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 10, 2004 11:18 AM
Su
in my posting above is an error: @jboss.jboss-ql->@jboss.finder-query
ok i test a little bit and some of the jboss tags seems to work and some not?! for
example:@jboss.read-only works fine, in my jboss.xml i found
:true but other tags dont work. is this a bug, im really
frustrated.
http://www
you can check out the different variables to put in the pattern attribute at the
jakarta-tomcat website. It's pretty easy. http://jakarta.apache.org/
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825044#3825044";>View
the original post
http://www.jboss.org/index.html?module=bb&op=po
An update to this post regarding the static methods contemplation:
A static method is allocated memory space on the stack for each call to the method.
This is best demonstrated by the fact that static methods can be recursive which would
of course be impossible if all calls to that method used t
I want to configure two DataSources to connect to one DataBase, how can I do? Thanks
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825042#3825042";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825042>Reply
to the post
--
Hi all,
I an trying to send message to a JBOSSMQ queue which is located in a system and the
system was in internetwork. I am sending using the IP address and code was as follows,
java.util.Hashtable JNDIParm = new java.util.Hashtable();
JNDIParm.put(Context.PROVIDER_URL, "jnp://2
In my web-service.xml can I specify a custom parameter (catnip) like this?
|
|
|
|
And how can I access the value of catnip in my class?
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825040#3825040";>View
the original post
http://www.jboss.org/index.html?
Hi,
I had been trying to deploy a simple Session bean on JBoss 3.2.3 but have been getting
this exception :
javax.naming.NameNotFoundException: TestHome not bound.
My jndi.properties file has the following:
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.
How about using javax.security.auth.spi.LoginModule this should make it possible to be
used in any server its the interface implemented by JBoss AbstractServerLoginModule.
hth
SVen
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825038#3825038";>View
the original post
http://www.jbo
Hello,
i've written now my first MDB and Client. The MDB is running on a JBoss (i can choose
it to start, create, remove, etc. it).
My Client seems to work right, too. But how can i see that the MDB is workin right? I
have in the onMessage a simple output Message:
System.err.println("### in Si
You'll have to build mod_jk2 from source.
You can download the source from here: http://jakarta.apache.org/site/sourceindex.cgi
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825035#3825035";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382
Because the RMI call is within the same VM it's being optimized by JBoss. So the
arguments aren't serialized and pass-by-value becomes pass-by-reference.
When we used to use WebLogic it used to do the same thing, so I don't think it's an
unusual optimization.
You can make the RMI calls behave a
Are you reading the file as a resource?
| Properties prop = new Properties();
| prop.load(this.getClass().getResourceAsStream("/yourFile"));
|
You could put the file in server/defualt/conf (if using deafult config and its a
global property file).
And you should avoid reading prop files f
I recommend using the Tomcat classloader instead (configured in the
jboss-service.xml). This is a lot more "webapp friendly" than the JBoss classloader.
I will properly implement the getURLs of the fake ENCLoader (your proposed patch is
bad).
http://www.jboss.org/index.html?module=bb&op=viewtop
In our production server ,Server have 4GB RAM in that
1.We tried with -Xms512m -Xmx512m then what happed
one or two hours after restarting again system hangs up
and users not able to get the page.
2.Then we started testing with bigger value that will be most suitable.
Finally we have giv
i dont have anything of jboss tags in my jboss.xml :(
my bean tags:
* @ejb.finder
*query="SELECT OBJECT(a) FROM minfo a"
*signature="java.util.Collection findByFilename(java.lang.String filename)"
*unchecked="true"
*
* @jboss.jboss-ql
* query="SELECT OBJECT(a) FROM minfo as
85 matches
Mail list logo