Dain,
Here is the snippet from MySQL docs:
"Add a TIMESTAMP column to the table. This column is automatically set
to the current date and time for INSERT or UPDATE statements if you
don't give the column a value or if you give it a NULL value."
The following works either:
UPDATE TableName SET Ti
I will be out of the office starting September 13, 2002 and will not
return until September 16, 2002.
I will respond to your message when I return.
Ryan
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkge
David Jencks wrote:
> Did you look at how ServiceCreator does it? That might work for you also.
> Basically you ask the mbeanserver to create your object (sub-service) for
> you using a specific classloader, then it remembers for you, you don't need
> to worry about the mbeanRegistry.
>
I want
Guys,
Sorry that I missed this thread - I've been busy.
For the latest version of my distributable sessions (which is settling
down now) you should check out Branch_3_2.
If you want to use the CMP implementation (Greg) you will find it being
built (jetty/output/lib/org.mortbay.j2ee.session-ej
Title: RE: [JBoss-user] Jboss and JMX
Yep. Look at the server/minimal in 3.0 - I think that's
just JMX...
JD
-Original Message-
From: Subramanian Ananthram [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 2:23 PM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] Jboss and
Thanks for the prompt reply mate!This is the following
error that i get when i stop and restart JBoss:09:17:24,796 ERROR
[StartUpConfig] Error while creating Queues at startup : Error is
jboss.mq:service=DestinationManager is not registered.
The JBoss-Service.xml file for my mBean looks like
Hello,
I'm using JBoss 3.0 with integrated Jetty and I am trying to have the
embedded Jetty serve images from a directory which is not deployed as a
web app but is instead located elsewhere on the file system. I've
tried looking for this on the Jetty site and via google but no luck so
far.
Did you look at how ServiceCreator does it? That might work for you also.
Basically you ask the mbeanserver to create your object (sub-service) for
you using a specific classloader, then it remembers for you, you don't need
to worry about the mbeanRegistry.
(all of this "as I recall")
david jenc
You can start the jbossmx mbean server by itself just by creating an
instance. The "minimal" jboss configuration is really a pretty minimal
configuration that might include services you would find useful, but
doesn't have ejbs or anything fancy.
david jencks
On 2002.09.12 17:23:08 -0400 Subrama
Hi Adrian,
arghh, I think I am doing registration terribly wrong.
There is sth which I didn't tell you, because I didn't
think it was of any relevance.
The MBeans involved are my own JMSProvider. The
"root"-service is:
fs4p.eartest:service=MS4PServer
This one provides a non-null result when I
What is the SQL to create a last update timestamp column in mySQL? Is
it possible?
-dain
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-u
Ok, this is what I found out so far:
In my "root"-service I implement MBeanRegistration to obtain
the jmxserver to register further sub-services to.
This implements MBeanServer.
This is where I register my MBeans calling registerMBean(..).
But the class I queried the "org.jboss.mx.classloader"
Robert Price
epixtech, inc.
(801) 223-5954
[EMAIL PROTECTED]
I see references to this in the forums, but no resolution. In
my case, running under MacOS X 10.2, 1.3.1_01, with
JBoss 3.0.2, occassionally I will get this exception. Reload
the web browser page and all is fine. Normal response time
for a page in our system is about 100 milliseconds. When
this ha
It all looks to me as if it should work. I don't think it will make a
difference, but please try removing the start() method from your mbean
interface (its already in the super interface) and calling your mbean class
method startService(), so the ServiceMBeanSupport implementation can do its
stat
Hi,I have included more information regarding the problem I
was having with mBean dependencies in my app.This is my
scenario.
I am using JBoss 3.0.2. I have written a simple mBean which reads certain
queue names from a property file and then attempts to create the queues. Hence
the mBean is
I am currently writing JMX agent. And this agent will run on different
machines. I wanted to know if there is a way to run JBOSS only for MBeans.
I dont want the normal start which would have EJB container and etc.
Thanks,
Subu
---
This sf.
This kind of problem usually means the classes showing the bizarre
IllegalAccessError have been loaded twice in 2 classloaders. This was
happening consistently with most or all jboss 3.x versions in mid July but
should be fixed in all current cvs and released versions. If your JBoss is
reasonabl
Check my last message.
Mitchell
-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 3:35 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Http Session Clustering problem
Another approach to solving problem is to start with an empty class
Hi
Is there an easy way to track login attempts using the DatabaseServerLoginModule in
JBoss 2.4.x?
Ideally I would like to insert a row in an audit column with the principalId, a
timestamp and a
message "loginFailure".
Can we do it through auth.conf?
Any suggestions?
Many thanks
Benoit.
Another approach to solving problem is to start with an empty class and see if
that works
public class MyJavaBean implements Serializable {
}
If that does not work, then I would say thats a pretty good indication that
there is a problem with JBoss. If it does work, then starting adding the memb
I found out why... It's working now. However, I don't know why it would
cause the issue... maybe I am not understanding how serialization works well
enough or possibly a bug? Here is what happened.
The class that was causing the problem was ApplicationSecurityCrendetial
which implemented Serial
Sorry, but I was using simple Strings and Integer objects. The only thing I can
suggest at this point is to fire up JBoss in your favorite IDE and put some
breakpoints in and run it and try to see whats happening.
"Kim, Yong" wrote:
> The version in the CVS is same as what you gave me. I thi
The version in the CVS is same as what you gave me. I think it has been
incorporated into latest release (3.0.2). When you said you were able to
make the session replication working, what kind of objects have you tried?
Have you tried with something you created such as your own javabean or
somet
Title: *-service.xml packaging into .ear
Hello,
I am trying to package an oracle-service.xml file toghether with my application into an .ear.
I put jboss-app.xml into .ear/META-INF/ dir and I added oracle-service.xml into the .ear file.
The .ear also contains a war and a jar with ejbs.
I
Possible. Here is text of email I sent Jules Gosnell. He replied back that my
analysis was correct and that he would make changes in sourceforge. I don't
know if he did, nor if this problem is the one you are having, nor what version
you are using - I've not been following this thread that clos
First, you should be using JBoss 3.0.2 (you problem may just go away).
I'm not an XDoclet expert, so I can't really comment on the xdoclet
tags, but I do know that you really need to use XDoclet from the XDoclet
cvs head to fix a bunch of problems.
My guess it Xdoclet is generating a bad prima
I use a lot of custom finders (i.e. implemented in the bean file itself). I
found that if I return null pk value then JBoss returns null (as of 3.0.0).
I didn't want this so I throw a FinderException when not found. It sounds
like this is exactly what you want. You'll have to implent the SQ
Dain Sundstrom wrote:
>> What's really hurting is that this is causing data integrity issues
>> (FinderException thrown, so I end up adding a duplicate item, which
>> then causes every finder method that assumes it is returning a single
>> object to also throw an exception). I can deal with som
Title: RE: [JBoss-user] How to use application specific properties - an example
1. I attached all the classes for my MBean:
- TeamSpaceConfigMBean.java: This is the MBean interface
- TeamSpaceConfig.java: This is the MBean implementation
- TeamSpaceConfigProx
Yes, it's serializable.
Possible bug in "org.mortbay.j2ee.session.MarshallingInterceptor"?
Mitchell Kim
-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Http Session Clustering pro
Hello!
I am trying to establish a relationship between two entity beans.
Although, when I try to call any of the accessors, I get the following
exception:
16:24:46,744 ERROR [LogInterceptor] TransactionRolledbackException, causedBy:
java.lang.ClassCastException: enk.interfaces.PlaceData
Brian Macy wrote:
> I'm having a difficult time as several important pieces of behavior in
> my system rely on checks against existence. Right now I just have to
> catch the FinderException and handle it there. The problem is that it
> appears the FinderException is occurring when there are som
As far as I know, the class conforms to all the requirements to be
SERIALIZABLE but I can still try it. Who knows.
Let me try it.
Mitchell Kim
-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [
Thanks, David.
-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 11:17 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How to use application specific properties
file:[EMAIL PROTECTED]@/thirdparty/libelis/lido/etc/
This a
I also get following errors from JSP page.
Exception detail
Exception class: class java.lang.IllegalArgumentException
Exception message: could not get Attribute
java.lang.IllegalArgumentException: could not get Attribute
Stack Trace: java.lang.IllegalArgumentException: could not get Attribu
Have you verified that your object is truely serializable. Implementing
Serializable is not a sufficient condition ! Verify by writing a simple
program with main that instantiates your object, serializes it to a file, and
then read back in from file.
"Kim, Yong" wrote:
> Sacha,
> I have gone
I'm having a difficult time as several important pieces of behavior in
my system rely on checks against existence. Right now I just have to
catch the FinderException and handle it there. The problem is that it
appears the FinderException is occurring when there are some transient
database prob
file:[EMAIL PROTECTED]@/thirdparty/libelis/lido/etc/
This adds a UnifiedClassloader for the directory (or url) named in
MetadataURL to the jboss unified loader repository. I don't think I made
this scopable, although that would be a good idea.
Use of the license file in the named di
Sacha,
I have gone through all of my ear, jar, war, and so on to see if I have
multiple copies of the same class and they are not. I was sure about this
but wanted to double check.
Anyway, I am still having the same problem and this is driving me crzay.
Here is the most recent error messages...
Do you have a sample of this type of MBean
or actually more importantly a sample of how to access the MBean from
and EJB?
Thanks
-=Brian
On Thu, 2002-09-12 at 08:13, Herve Tchepannou wrote:
> In my application, I also have some application properties store in a
> property file.
> I prefer c
Oh... I guess I know where you are going with that duplicate class
question... Let me check my package structure...
Thanks.
-Original Message-
From: Kim, Yong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:51 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Http Se
David,
If you don't mind, would you share that code us? Very appreciated.
Thanks,
Mitchell
-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 10:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How to use application specific propert
Yes!!!
This is the trade-off .
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kim, Yong
Sent: Thursday, September 12, 2002 7:41 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] How to use application specific properties
That's useful... but it's
You have found all I did when I last looked. Then, though, I was using
JBuilder 5 Enterprise. Sorry I can't offer another option to try or place
to look.
Beware of JBuilder and EJB development, unless the severe shortcomings of
version 5 have been addressed by version 7. In version 5 enterpris
Copies loaded by different class loaders (from the different locations) are
different classes. With the jboss flat classloading model, you will get
things like IllegalAccessExceptions when an object from one copy of the
class tries to call a public method on itself. (I'm not sure if this is the
e
I'm not sure I understand what you are doing.
The setSomeURL(String) should be invoked with the
MBean's context classloader, regardless of which thread
initiates the invocation.
This works for me, including inside a
Can you try
log.info(Thread.currentThread().getContextClassLoader());
at the st
That's useful... but it's kind of JBoss specific... isn't it!
I prefer not to use heavy vendor specific solutions.
Mitchell
-Original Message-
From: Saroj Kumar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:42 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] How to u
You can also use the ClassPathExtension mbean (in org.jboss.deployment) to
explicitly load a file into the classpath and access it as a resource. I
wrote it to get a license file needed by a driver into the classpath.
david jencks
On 2002.09.12 08:01:10 -0400 Scott M Stark wrote:
> Use the Syst
I guess that's better idea to use MBeans than the way I do... using a
regular class with static method.
Mitchell
-Original Message-
From: Herve Tchepannou [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:14 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] How to use app
>> "Are you sure your class is not present in two differents xARs?"
What possibly can go wrong if there are multiple copies of the same class in
different xARs as long as they are all same??? What's your implication?
Maybe I am missing something... Please enlighten me.
Thanks for your reply,
Mi
Mbeans depending on mbeans work fine in 3 and all later versions. You can
avoid the "mbean depends on class" problems by careful packaging and
ordering your deployments "by hand" by numbering them
10first.sar
20second.ear
30third.rar
etc and using the right deployment scanner (I don't remember
You can use property-service.xml to define the path of external file and
And access it like
System.getProperty(key);
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kim, Yong
Sent: Thursday, September 12, 2002 6:42 PM
To: '[EMAIL PROTECTED]'
Subject: R
Figuring this out would require knowing in detail how Castor does locking.
You may be more likely to get someone willing to figure this out on the
Castor lists.
thanks
david jencks
On 2002.09.12 02:11:57 -0400 Arijit Ghosh wrote:
> I am getting the following Transaction RollBack Exception. Pl
Title: RE: [JBoss-user] How to use application specific properties
In my application, I also have some application properties store in a property file.
I prefer creating a MBean that loads all thoses properties when JBoss boot,
an in my EJB, I can nicely access those properties.
The other adva
I use external configuration file just because of the reason you mentioned,
"I am not sure I like this because different machines/servers need different
properties". And I created a static class that reads in the key=value pairs
from the file and store in memory as long as the contains stays runn
Hi Adrian,
Your workaround sounds ok, but I have some 20 ear-scoped applications, with
the same single offending method in each, so I decided to stay with my
serialization
"below the API" with a byte[] arg. (I can do this by myself, but the
management
GUI is written by Mehrdad (remember him?),
What does Jbuilder 7 have that is better than eclipse.org?
On Thu, Sep 12, 2002 at 10:38:25AM +0100, Harris, Andrew S wrote:
> I'm trying to find a solution to integrating JBoss + Catalina with
> JBuilder 7, and I was wondering whether anyone else had found one. See the
> message below which I po
I downloaded Jboss 3.0.2 with Tomcat 4.0.4, uninstalled it and tried to
execute RUN. It gave the following errors ---
18:10:06,980 INFO [ServiceConfigurator] Problem configuring service
jboss:type=
Service,name=SystemProperties
org.jboss.deployment.DeploymentException: No property editor for
att
Use the SystemPropertiesService. See the server/default/deploy/properties-service.xml
for details.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "Jon Haugsand" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]
> Is there a Right (tm) way to do this?
Right and standart way is to use environment properties. This should work in any EJB
container.
See an example ejb-jar.xml below.
Maris
http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
DataAccess
DataAccess
We have a local property file containg such things like name of
machines, files, ip-addresses and such for legacy interfaces. I found
out (the hard way) that I could place this file in the
${JBOSS_HOME}/bin directory, presumably because it is from there we
run the server. It shouldn't stay there
Yes thanks a lot Scott.
Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.
- Original Message -
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 12, 2002 1:21 AM
Subject: Re: [JBoss-user] bundled tomcat version of 3.0.2
> I just p
* Scott M. Stark
> VMs less than 1.3.1 do not pickup property editors that are not on the
> system classpath. We have several custom property editors that are
> loaded after the bootstrap of the server. What VM is being used here?
VM 1.3 I think. OK, time to upgrade. Or could I somehow point to
I'm trying to find a solution to integrating JBoss + Catalina with
JBuilder 7, and I was wondering whether anyone else had found one. See the
message below which I posted to borland.public.jbuilder.opentools.
Thanks
Andrew Harris
[EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Andrew Harris)
Newsgro
VMs less than 1.3.1 do not pickup property editors that are not on the
system classpath. We have several custom property editors that are
loaded after the bootstrap of the server. What VM is being used here?
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xx
Hello,
I'm using the version ---
JBoss-2.4.8_Tomcat-4.0.4
I use "\jboss\bin\run_with_catalina.bat" to start JBoss
and Tomcat, and no exception reported. But when I try to connect http://localhost:8080, i only got a "Apache
Tomcat/4.0.4 - HTTP Status 500 - No Context configured
Is there any way to get this working in 3.0.2. I don't think my project manager is
going to agree to move to JBoss4.0!
I have a simple mBean which creates a few Queues programatically and hence depends on
DestinationManager service being started! Obviously this dosen't work in JBoss3.0.2!
Cheer
> That is me. I like this feature. Are you thinking about
> just adding an
> empty tag to the cmp-field element. Something like ?
I went through the entity deployment before I asked the original
question and was thinking more along the lines of automatic index
generation, i.e. if the finder
* Jon Haugsand
> Well, actually, my solution was even simpler. The JBOSS_DIST (and
> JBOSS_HOME) pointed to a 3.0.0beta distro (Why can't bin/run.sh
> do a self check?)
Actually, I still have a problem. From a plain 3.0.2 on a SuSe 7.2,
the following happens:
05:46:14,291 INFO [MainDeploy
70 matches
Mail list logo