- Original Message -
From: "Bill Burke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 10:07 AM
Subject: RE: [JBoss-user] Is 4.0 new or evolution of 3.2?
> J2EE is our bread and butter. We will still be improving our J2EE
> implementation and strictly fol
Hello all,
I have a j2ee application which works fine as a single instance
application. Now I am trying to support multiple instances of that
application on the same jboss server. The documented way is to do the usual
changes (database datasource name, jndi branches to which the ejb names are
bou
Frank,
the problem is that, the order of elements in web.xml should match the
order of elements declaration in web-app_2_3.dtd or web-app_2_2.dtd
(depends on the spec version you use).
Here is the snippet:
I would like to run a filter on every jsp with 3.0.6. I thought if I
FM> put the followin
Markus,
first of all, check Unknown primary key paragraph in the spec if you
didn't yet.
In a short:
- no cmp accessors for the unknown pk field;
- ejbCreate declares java.lang.Object as a return type
- ejbFindByPrimaryKey takes java.lang.Object as a parameter
- in ejb-jar.xml java.lang.Object
- n
On Wednesday, February 19, 2003, at 05:45 PM, Dain Sundstrom wrote:
The EJB spec requires you to have an ejb-ql element, but if the query
is not implemented in ejb-ql, just leave the element empty. It is a
signal when porting the application to another platform that a query
is not portab
Title: RE: [JBoss-user] (no subject)
Winblows. What I also love is when the console is puking a lot of
output it takes you forever to switch to another window
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of JD
BrennanSent: Wednesday, Feb
Personally I have found I often have to remove all the jms messages from
the data directory to get a working startup after a not-to-clean shutdown.
I don't consider this satisfactory, but haven't investigated.
david jencks
On 2003.02.19 19:43 Hunter Hillegas wrote:
> Here is some more info on wh
Yes. Please ignore this warning. You can also change to
jboss:service=TransactionManager
but I'd ignore the warning until the next release when you should use a
simple *-ds.xml file anyway.
On 2003.02.19 19:42 Hunter Hillegas wrote:
> I see this upon startup:
>
> 2003-02-19 16:44:52,861 WARN
OK. I figured out it needs to be java:/jaas/other
Now, nobody can login. Here is what I get in the log when the .WAR is
deployed
2003-02-19 19:35:16,326 ERROR
[org.jboss.jetty.security.JBossUserRealm#Chimera] java:comp/env/security
does not appear to be correctly set up
javax.naming.NameNotF
JD Brennan thanks for your response i will try service wrapper or file out
put.
Thanks again.
From: JD Brennan <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: [JBoss-user] (no subject)
Date: Wed, 19 Feb 2003 16:15:47 -0800
Sounds f
I see this upon startup:
2003-02-19 16:44:52,861 WARN
[org.jboss.resource.connectionmanager.XATxConnectionManager]
--
2003-02-19 16:44:52,861 WARN
[org.jboss.resource.connectionmanager.XATxConnectionManager]
--
Here is some more info on what I see in the log on startup:
2003-02-19 16:34:15,742 INFO
[org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.Default
DS] Bound connection factory for resource adapter for ConnectionManager
'jboss.jc
a:service=LocalTxCM,name=DefaultDS to JNDI name 'j
Just put 3.2.0RC2 up on our test server (Apple Xserve, Apple Java 1.3.1) and
when deploying an MDB called JakeEmailBean, I see several messages in
regards to XAConnectionFactory:
2003-02-19 16:34:23,665 WARN [org.jboss.system.ServiceController] Problem
starting service jboss.j2ee:jndiName=local/J
Your URI is wrong and should be:
http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd";>
Not sure why the public name is not enough to match the local entity resolver.
3.2 requires that a doctype be found and its not with the bad URI.
Scott Stark
Chief Technology Officer
JBoss
Title: RE: [JBoss-user] (no subject)
Sounds familar. I think this is a known problem with
Windows Command prompt pausing the process when it can't
output all it's output. Using the service wrapper
or redirecting standard output to a file should get
around it.
-Original Message-
Fr
Hi all,
Any one using JBoss with windows 2000 or windows 2000 server ?,i am having
some problem .JBoss some times stop processing requests and just get stuck.I
have to enter "Ctrl C" to keep it runnig.I am hosting my website on it as
.ear file.Do i have to use JavaService.exe or other wrapper t
You know this will all change in 3.2, right?
For 3.0.4, gnu-regexp.jar should be on the boot classpath as it's added
with the jmxLibs. Can you check the access log for the boot host and
verify a) that that jar is actually being requested, and b) that the
host server has the file in that location.
Using the following as the start of an ejb-jar.xml:
http://java.sun.com/j2ee/dtd/ejb-jar_2_0.dtd";>
with 3.2.0RC2 generates the following exception on startup:
17:23:00,141 ERROR [URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@c86c4838{
It works though when the client and jboss server are both on the same
system. The only thing that gets changed when I move it is jndi.properties.
Brian Taylor wrote:
Basically, your jndi lookup name doesn't match what's in your
ejb-jar.xml and/or jboss.xml or it is in the wrong context (maybe
And shouldn't your pattern be just *.jsp ?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of
> Dain Sundstrom
> Sent: Wednesday, February 19, 2003 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] jetty filter question
>
>
> DTDs are ver
Hi Guys,
JBoss 3.0.4/JVM 1.3.1_06
I'm trying to netboot a custom configuration that's failing when it
references the GNU regex objects. These objects appear to be in the
JBossHome's "lib" directory. Apparently, JBoss is loading libs from the
upper level, and then adding any libs that are specif
Actually, it is the same bug that someone has already listed on
sourceforge. I didn't start run.sh from the bin directory.
Thanks for the response though.
-Dennis
On Wed, 2003-02-19 at 13:32, Scott M Stark wrote:
> Provide more details as it works fine for me:
>
> 12:25:42,859 INFO [MainDeplo
Anyone ever benchmarked jboss with embedded tomcat against tomcat
running by itself. We're thinking of embedding tomcat in jboss to get
session clustering and I'm wondering what kind of changes in performance
we might incur.
TIA
-Dennis
---
T
DTDs are very sensitive to order. Look at the DTD and make sure your
elements are *in the exact same order* as listed in the DTD.
-dain
On Wednesday, February 19, 2003, at 03:58 PM, Frank Morton wrote:
I would like to run a filter on every jsp with 3.0.6. I thought if I
put the following:
The EJB spec requires you to have an ejb-ql element, but if the query
is not implemented in ejb-ql, just leave the element empty. It is a
signal when porting the application to another platform that a query is
not portable.
-dain
On Wednesday, February 19, 2003, at 03:05 PM, Frank Morton w
There are a lot of things that are prohibited by the spec that aren't
actually prevented by many application servers. This could be restricted
via security model, but this sort of behavior tends to be its own
punishment anyway.
-danch
Joe Hung wrote:
2.4.3 seems to let me do this.
I remember
Title: RE: [JBoss-user] Remote RMI (jndi)
Or...call constructor InitialContext(Properties) like so:
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
props.put(Context.PROVIDER_URL, "jnp://localhost:1099");
props.put(C
I would like to run a filter on every jsp with 3.0.6. I thought if I
put the following:
Tidy
com.base2inc.app.filter.FilterTidy
Tidy
/*.jsp
in the web.xml file for the application that it would run the Tidy
filter on each page.
W
2.4.3 seems to let me do this.
I remember somewhere I read one cannot do this kind of stuff in an EJB
environment. Have somebody tried the newer release (like 3.2)?
thanks,
-joe
---
This SF.net email is sponsored by: SlickEdit Inc. Develop a
Title: RE: [JBoss-user] Remote RMI (jndi)
Basically, your jndi lookup name doesn't match what's in your ejb-jar.xml and/or jboss.xml or it is in the wrong context (maybe should be ejb/...).
-Original Message-
From: Jeremy Rempel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19
Moving from jboss 3.0.2 to 3.0.6, now getting deployment errors on all
finder methods:
Bean : Profile
Method : public abstract Profile findByProfileHandle(String) throws
FinderException
Section: 10.5.6
Warning: Every finder method except findByPrimaryKey(key) must be
associated with a quer
Title: RE: [JBoss-user] Remote RMI (jndi)
Sounds like your path is off...try "ejb/RouteListSessionHome"
-Original Message-
From: Jeremy Rempel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 12:10 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Remote RMI (jndi)
I am
Provide more details as it works fine for me:
12:25:42,859 INFO [MainDeployer] Starting deployment of package:
file:/C:/tmp/JBoss/jboss-3.2.0RC2_tomcat.4.1.18/server/default/deploy/jmx-console.war/
12:25:43,015 INFO [EmbeddedCatalinaService41] deploy, ctxPath=/jmx-console,
warUrl=file:/C:/tmp/JB
I am trying to access a ejb remotley though JNDI. It compiles perfect
and it works when it is on the same machine and I update my
jndi.properties. When I try and move it to and access it remotley it
returns null.
jndiContext = new InitialContext();
ref = jndiContext.lookup("RouteListSessionEJB"
Then create a bug report on sourceforge with an example.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "Muruga Chinnananchi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003
Using the tomcat41 bundle I with 3.2, I can't start the jmx-console.
Get the following error:
(jdk1.4.1
jboss 3.2
tomcat 4.1.18 ) default config
I also tried with another war file and got the same thing but on a
different jar file
Exception below:
Thanks
Dennis
javax.servlet.ServletException
That's exactly what our notx cm does now, and what the local tx cm does,
and what one of the settings of the xa cm does. In the jboss
implementation you can also set the xa cm to delist and put connections
back in the pool after each connection handle is closed. Theoretically
this should result
Hi,
i haven't managed to use the auto generating primary key of jboss 3.2.x
and xdoclet 1.2b3!
is there any example of _one_ simple ejb out there? i can't find
anything on google!
i included the following lines into my entity bean:
...
* @jboss.unknown-pk
*class="java.lang.Integer"
*co
Hi Scott,
Thanks for your help. We have tried 3.2.0 RC2, but it
did not solve the problem. It still says
ClassNotFoundException for the dynamically generated
classes (i can see these classes under
C:/mycom/classes/ directory). But for some reason its
not visible to the myapp.jar.
thanks again for
Hi Brian,
Answers in line.
From: "Brian McSweeney" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: [JBoss-user] Basic JMX question
Date: Wed, 19 Feb 2003 16:03:24 -
Hi all,
yet again in my quest to write container independent code, I'm stuck. :-)
I want to
Hi,
i think about the following problem:
i represent a directory (like dmoz.org) in two tables:
+---+
| tree |
+---+
| idinteger pk | <--+-+-+
| name varchar || | |
| parentinteger | ---+ | |
| ...
So basically auto-start if you run out of memory. You can poll memory
(Runtime.getRuntime().freeMemory()) and run System.gc() if you hit the
high-water mark. If that fails to return sufficient memory you could bail:
harikari(). I'd read this though because the first gc() isn't guaranteed to
recover
Thanks a million Benjamin,
You don't happen to know how this works over a
cluster by any chance?
Is there a MBeanServer per JVM for
example?
- Original Message -
From:
Geer,
Benjamin
To: '[EMAIL PROTECTED]'
Sent: Wednesday, February 19, 2003 5:20
PM
Subject
> BTW, in
> > weblogic they will re-use a connection without reserving it if it's
> > part of a non-transactional pool.
>
> What exactly does this mean? Several threads get handles to
> the same physical connection at the same time? This seems
> like a bad idea to me:-)
>
No, it just mean
Try this:
MBeanServer myMBeanServer =
(MBeanServer)MBeanServerFactory.findMBeanServer(null).get(0);
There's a lot of code like that in JBoss
itself.
Benjamin
-Original Message-From: Brian McSweeney
[mailto:[EMAIL PROTECTED]]Sent: 19 February 2003
16:03To: [EMAIL PROTECTE
I know I should not write code that ran out of memory. but, some things are
just not unexpected. ;)
Anyway, is there a way to tell jboss to exit (process exit) when it's
running out of memory? Our system has a way to restart as long as it exists.
In this case I'd like jboss to shut down rather tha
Here's some blurbiage for 7.0 but it's the same thing in 6.1:
http://www.bea.com/products/j2ee_wp_design7.shtml
"WebLogic Server can use a single connection pool to service multiple,
simultaneous database requests. The number and length of database
transactions that use the pool largely deter
Hi all
I have recently installed JBOSS on my Windows 2000 Professional Machine.
The version is -jboss-3.0.4_tomcat-4.1.12,Xdoclet-1.1.2,jakarta-ant-1.5.1
I am using the Postgresql driver and connecting to a database running on a
Linux Machine.
I am able to use the client programs given with the Jb
On 2003.02.19 10:07 Rod Macpherson wrote:
> Assigned an RFE to you David:
Thanks. There might be enough tracking going on now so this will be fairly
easy to implement.
>
>
> Changed the min-max settings in oracle-service.xml from 0-0 to 17-17 and
> database acce
Hi all,
yet again in my quest to write container
independent code, I'm stuck. :-)
I want to use the Timer service in a container
independent manner. The
sheduler services for example isn't container
independent :-(.
So, the first problem I have here is, I need to get
a reference to the
Never mind. I was modifying the rootCategory. I am now creating a new
category to see if that suffices.
Cheers
-Original Message-
From: Corbin, James [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 8:30 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBoss & Log4J
I
Is it possible for a node to be part of more than one partition?
What if I introduced partitionC that contains node A,B,C,D. And
deployed the ClusteredHttpSession to that partition? ie: node A is part
of partition A & C.
Any Thoughts? Is there a better approach to this?
Thanks for your input
I guess I'm not sure what you mean.
I use the PropertyConfigurator.configure() method.
I apologize, it is early and I haven't had my first cup a java. Can you
clarify?
Thanks
-Original Message-
From: Zeev B [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 2:37 AM
To: [EMAI
Don't be so sensitive. :)
I am a fan of open source.
I singled out the open source community because that was the context of the
press release. Yes, you are correct in your synopsis.
J.D.
-Original Message-
From: Rod Macpherson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 18, 2
I did find the problem.
Thanks,
J.D.
-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 18, 2003 7:22 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBOSS 3.2RC2 - Connection Manager Info
You should be able to determine where the connection w
Assigned an RFE to you David:
Changed the min-max settings in oracle-service.xml from 0-0 to 17-17 and
database access failed: stack traces. Using the JMX console to stop, change
and restart works fine. Using the JMX console without a stoppage fails.
However, once
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Meyer-Willner, Bernhard
> Sent: Wednesday, February 19, 2003 7:11 AM
> To: '[EMAIL PROTECTED]'
> Subject: Re: [JBoss-user] Is 4.0 new or evolution of 3.2?
>
>
> Bill,
>
> you write in your mail "Is 4
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Pete Beck
> Sent: Wednesday, February 19, 2003 6:33 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Is 4.0 new or evolution of 3.2?
>
>
> On Tue, 2003-02-18 at 22:31, Bill Burke wrote:
>
> > So
Why not create an MBean with this information? Or another EJB that holds
application configuration information?
Besides this, JBoss 3.x has the concept of pluggable deployers. The
deployer's job is to read xml files and register and startup the component
in jboss. We have deployers for EJBs, WA
post a bug.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rod
> Macpherson
> Sent: Wednesday, February 19, 2003 8:17 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Dynamic JCA pool size change problem
>
>
> Increased min-max pool connection l
As it seem no one has read my previous post, I'll rephrase it:
Can someone tell me what controls the log/-xx-xx-request.log file?
I'm not sure if this file is controlled by jetty/tomcat, or is some JBoss
internal engine that after receiving requests gives control to the
webservers...
--
On 2003.02.19 03:56 [EMAIL PROTECTED] wrote:
> Hi,
>
> I recently discovered that it was possible to define a datasource by
> deploying a 'XXX-ds.xml' (...) instead of a
> 'XXX-service.xml'.
> Although it looks much simpler, the datasource file seems to be much more
>
> limited.
It shouldn't b
What happens if you stop the pool, change the limits, and start the pool?
You should actually stop//start the pool from
ServiceController.stop(ObjectName).
Can you file a rfe on this and assign it to me? I need to think about how
to do these hot changes. Please describe how you would like it to
Dennis Muhlestein wrote:
Could I have http sessions clusters accross two cluster partitions?
ie: Clustered jboss servers A & B are on partitionA
Clustered jboss servers C & D are on partitionB
Apache aA Load Balances between A & B.
Apache aB Load balances between C & D.
Hardware loadbalancer
If you are using Jetty,
Use the 'all' configuration..
Uncomment the necessary block in
.../deploy/jbossweb.sar/META-INF/jboss-service.xml
Check out the JavaGroups doc to make sure that multicast traffic is
being handled correctly by your network.
Add the tag to your war/WEB-INF/web.xml
Ensu
Thanks a lot Igor!
Adding:
* @ejb:transaction type="Required"
to the MDB class comment solved the problem!
xdoclet then replaced my hand-edited code in the ejb-jar.xml - file:
test/TestMessage
onMessage
javax.jms.Message
Apparently, JBoss cannot match transaction=Required metadata specified for onMessage
method. As a quick fix move "@ejb:transaction type=Required" to MDB class comments. I
don't have time to work more on this.
> -Original Message-
> From: Magnus Larsson [mailto:[EMAIL PROTECTED]]
> Sent:
Increased min-max pool connection limits from 0-10 to 17-17 on a hot system
and generated stack traces on database access. As you might expect
everything was fine after bouncing JBoss. No biggie but worth noting.
---
This SF.net email is sponso
Bill,
you write in your mail "Is 4.0 new or evolution of 3.2?":
"In 4.0, we want to generalize interceptor technology and detached
invocations so that any
type of object or any plain old Java Class can leverage these technologies.
We want to bring J2EE services transparently and implicitly to pla
Umm. No. It appears that this should be set on a per-WAR basis.
So, I do that, following the example in the documentation
java:/jaas/chimera
But, I assume that
1) the domain is a name of my choice.
2) that I have to describe "java:/jaas/chimera" somewhere. I have not found the cor
Title: Message
Perhaps this is obvious but the 1.4.1 build was
created with the -target 1.3.1 switch was it not?
- Original Message -
From:
Scott M
Stark
To: [EMAIL PROTECTED]
Sent: Tuesday, February 18, 2003 3:43
PM
Subject: Re: [JBoss-user] 1.4.1 dist of
On Tue, 2003-02-18 at 22:31, Bill Burke wrote:
> So the goals of 4.0 are as follows:
...
> 2. Bring J2EE services to plain old java classes through our AOP framework
I've seen this mentioned elsewhere, but I don't quite understand it.
Are you saying that for example, you would be able to take an
Hello!
I have run into problems with getting CMT-transactions to work under Message
Driven Beans on JBoss3.2, including the latest 3.2-RC2.
It works fine under JBoss 3.0.4 so I guess something has been changed in
JBoss3.2 that I have missed.
I have attached a small example that can be used to rep
Thanks Scott,
I searched about JMX and see that it was an
extension for J2SE.
But just to get things clear in my head, I think it
actually is a J2EE 1.4 class
too seeing as they are including JMX in J2EE 1.4.
It's available in the J2EE 1.4
api for example http://java.sun.com/j2ee/1.4/docs/
Maybe you have changed the the RootLogger's configuration.
- Original Message -
From: "Corbin, James" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 17, 2003 7:22 PM
Subject: RE: [JBoss-user] JBoss & Log4J
Tried that. I specified both my console appender and file ap
Hi
I am using jBoss 2.4.7. While running the server,
the server throws errors related to the PersistenceManager.
NullPointerException in
org.jboss.mq.pm.rollinglogged.PersistenceManager.restore
(PersistenceManager.java:470)
Any idea why this is happening?
Rgds
Ved
Hi,
I recently discovered that it was possible to define a datasource by
deploying a 'XXX-ds.xml' (...) instead of a
'XXX-service.xml'.
Although it looks much simpler, the datasource file seems to be much more
limited.
What's the recommended format to use ?
Is there a DTD for the datasource f
77 matches
Mail list logo