d this one leaks, nothing to do with OJB.
bye
danilo
Rick Roman wrote:
I am using Java 1.5.0_01 and Tomcat 5.5.4 on my home machine and
1.5.0_05 / 5.5.9 on my remote developement server. I use jconsole on
the home machine to watch the leak. The remote has the problem too as
evidenced that it r
5.0_01 and Tomcat 5.5.4 on my home machine and
1.5.0_05 / 5.5.9 on my remote developement server. I use jconsole on the
home machine to watch the leak. The remote has the problem too as
evidenced that it runs out of memory after about 15 reloads.
Danilo Tommasina wrote:
mmmh, yep I forget
Hi folks,
after some serious profiling (and finding a bug in the Mustang b68
VM), I've added some additional cleanup calls to OJB (SVN of the
stable branch). Please give it a try to see whether that suffices.
However, you also need to do some work in your own webapp to ensure
proper cleanup. The s
I am using Java 1.5.0_01 and Tomcat 5.5.4 on my home machine and
1.5.0_05 / 5.5.9 on my remote developement server. I use jconsole on the
home machine to watch the leak. The remote has the problem too as
evidenced that it runs out of memory after about 15 reloads.
Danilo Tommasina wrote
ine I start tomcat with following JAVA_OPTS, however other machines
are started with default options with just the -Xmx set to a higher value:
JAVA_OPTS="$JAVA_OPTS -Xmx512m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+TraceClassUnloading -XX:+ClassUnloading -XX:+CMSPermGenSweepingEn
ping.shutdown();
MetadataManager.getInstance().removeAllProfiles();
and the leak still persists.
Rick Roman wrote:
I am using OBJ to access PostgreSQL via a JNDI datasource. My
problem is that every time I reload my application context, I
get a big jump in Tomcat Perm Gen memory. After a se
I am only using the PB API too.
Danilo Tommasina wrote:
hi again,
this is quite an old version of tomcat, we were not having trouble for
sure since tomcat 5.5.9, no idea how it was with earlier versions.
anyways, if this is not the problem, it could be still OJB that causes
the leak. My
hi again,
this is quite an old version of tomcat, we were not having trouble for sure
since tomcat 5.5.9, no idea how it was with earlier versions.
anyways, if this is not the problem, it could be still OJB that causes the leak. My patch fixed one situation but there may be other parts having
On 1/24/06, Rick Roman <[EMAIL PROTECTED]> wrote:
> I am using Tomcat 5.5.4. I am almost certain it is OJB. I created a
> stripped down context with the minimum classes needed to run OJB and
> could pin the memory increase to touching anything that initiallized
> OJB. I have also
I am using Tomcat 5.5.4. I am almost certain it is OJB. I created a
stripped down context with the minimum classes needed to run OJB and
could pin the memory increase to touching anything that initiallized
OJB. I have also chased down other known offenders such as deregistering
the database
tomcat versions < 4.1.31 and probably some earlier 5.5.x verions there were bugs that prevented a
clean shutdown of a web-application.
Do you have any threads or other stuff that is still running? External
libraries?
We had the same problem caused by the quartz scheduler for example.
As soon a
Roman wrote:
I am using OBJ to access PostgreSQL via a JNDI datasource. My
problem is that every time I reload my application context, I
get a big jump in Tomcat Perm Gen memory. After a several
reloads, tomcat eventually crashes with an out of memory
error. I believe this has to do with my OB
he leak still persists.
Rick Roman wrote:
I am using OBJ to access PostgreSQL via a JNDI datasource. My
problem is that every time I reload my application context, I
get a big jump in Tomcat Perm Gen memory. After a several
reloads, tomcat eventually crashes with an out of memory
error. I bel
atasource. My
problem is that every time I reload my application context, I
get a big jump in Tomcat Perm Gen memory. After a several
reloads, tomcat eventually crashes with an out of memory error.
I believe this has to do with my OBJ configuration as I am able
to access the datasource without OB
nFactory().releaseAllResources();
PersistenceBrokerThreadMapping.shutdown();
MetadataManager.getInstance().removeAllProfiles();
and the leak still persists.
Rick Roman wrote:
I am using OBJ to access PostgreSQL via a JNDI datasource. My
problem is that every time I reload my application context, I
get a big jump in Tomcat Perm Gen me
ource. My
problem is that every time I reload my application context, I
get a big jump in Tomcat Perm Gen memory. After a several
reloads, tomcat eventually crashes with an out of memory
error. I believe this has to do with my OBJ configuration as I
am able to access the datasource without OBJ
ss PostgreSQL via a JNDI datasource. My
problem is that every time I reload my application context, I
get a big jump in Tomcat Perm Gen memory. After a several
reloads, tomcat eventually crashes with an out of memory error.
I believe this has to do with my OBJ configuration as I am able
files();
and the leak still persists.
Rick Roman wrote:
I am using OBJ to access PostgreSQL via a JNDI datasource. My
problem is that every time I reload my application context, I
get a big jump in Tomcat Perm Gen memory. After a several
reloads, tomcat eventually crashes with an out of mem
lResources();
PersistenceBrokerThreadMapping.shutdown();
MetadataManager.getInstance().removeAllProfiles();
and the leak still persists.
Rick Roman wrote:
I am using OBJ to access PostgreSQL via a JNDI datasource. My
problem is that every time I reload my application context, I
get a big jump in Tomcat Perm Gen memor
Hi,
you can find more info about this issue in thread: (9. June 2005)
ThreadLocal causing memory leak
The patch has been applied for the upcoming OJB 1.0.4 release. If you are impatient and have not the possibility to get it from CVS then you will find an
explication on how to 'manually' fix it
pplication context, I get
a big jump in Tomcat Perm Gen memory. After a several reloads,
tomcat eventually crashes with an out of memory error. I believe
this has to do with my OBJ configuration as I am able to access
the datasource without OBJ and I don't see the problem. The memory
le
sing OBJ to access PostgreSQL via a JNDI datasource. My
problem is that every time I reload my application context, I get
a big jump in Tomcat Perm Gen memory. After a several reloads,
tomcat eventually crashes with an out of memory error. I believe
this has to do with my OBJ configuration as I
g.shutdown();
MetadataManager.getInstance().removeAllProfiles();
and the leak still persists.
Rick Roman wrote:
I am using OBJ to access PostgreSQL via a JNDI datasource. My
problem is that every time I reload my application context, I get
a big jump in Tomcat Perm Gen memory. After a several reloads,
tomcat eventual
every time I reload my application context, I get a
big jump in Tomcat Perm Gen memory. After a several reloads, tomcat
eventually crashes with an out of memory error. I believe this has
to do with my OBJ configuration as I am able to access the
datasource without OBJ and I don't see the pr
reload my application context, I get a
big jump in Tomcat Perm Gen memory. After a several reloads, tomcat
eventually crashes with an out of memory error. I believe this has
to do with my OBJ configuration as I am able to access the
datasource without OBJ and I don't see the problem. The m
the leak still persists.
Rick Roman wrote:
I am using OBJ to access PostgreSQL via a JNDI datasource. My problem
is that every time I reload my application context, I get a big jump
in Tomcat Perm Gen memory. After a several reloads, tomcat eventually
crashes with an out of memory error. I
application context, I get a big jump
in Tomcat Perm Gen memory. After a several reloads, tomcat eventually
crashes with an out of memory error. I believe this has to do with my
OBJ configuration as I am able to access the datasource without OBJ
and I don't see the problem. The memory leak probl
I am using OBJ to access PostgreSQL via a JNDI datasource. My problem is
that every time I reload my application context, I get a big jump in
Tomcat Perm Gen memory. After a several reloads, tomcat eventually
crashes with an out of memory error. I believe this has to do with my
OBJ
Ribi Roland wrote:
I found a solution:
Installed OJB 1.0.3 instead of 1.0.1
The reason it works with OJB 1.0.2 or later (and didn't in<=1.0.1) is that
Tomcat uses DBCP for Connection Pooling and that DBCP wraps the Oracle
Connection object in a DBCP-specific PoolWrapper object.
I found a solution:
Installed OJB 1.0.3 instead of 1.0.1
> -Original Message-
> From: Ribi Roland [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 16, 2005 11:11 AM
> To: 'ojb-user@db.apache.org'
> Subject: Tomcat 5.0, JNDI-DataSource and Blobs
>
>
>
Hi
Since I moved the config of the connection pool from repository.xml to
server.xml and get the connection via JNDI-lookup the broker throws the
following Exception:
ch.braunvieh.dbutils.DirectoryImageUploadVisitor -
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
insert o
=>DBCP,
this makes it neccesary to deploy the Commons DBCP JAR together with OJB,
but no actual DBCP handling is used for the Connection management
Just ignore those Tomcat instructions if you are happy with the fact that
OJB is using it's own (webapp-private) Connection pool...
Regards,
I thought I would not need or even want the commons dbcp because of this
speicific link:
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg150576.html
In short it says below:
-
the JNDI resource configuration has changed in 5.5. Check out the docs for an
example:
http
with the OJB JAR (eg in your webapp's WEB-INF/lib,
or put it in CATALINA_HOME/common/lib).
Have a look at the OJB docs on the homepage to see the complete list
of run-time dependencies, if you were previously also depending on
eg Commons Pool from Tomcat.
FYI: Tomcat 4 shipped with a standa
I belive some of this stuff was changed for them in 5.5 and the dbcp part is
called:
naming-factory-dbcp.jar
I am not using another dbcp library.
JohnE
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Apr 20, 2005, at 7:01 PM, [EMAIL PROTECTED] wrote:
java.lang.NoClassDefFoundError: org/apache/commons/dbcp/
AbandonedConfig
Do you have the wrong version of commons dbcp? Or perhaps does
Tomcat 5.5.9 include one by default and it's colliding with what OJB
is expecting?
R
Robert S.
Hey all,
When I run OJB 1.0.3 with Tomcat 4.1.30 everything works.
When I upgrade to Tomcat 5.5.9 I am getting the exception at the bottom of the
file. Any ideas why this might be happening? Ideas on how to fix it?
In general I am trying to upgrade my libraries because I am having problems
I am running 2 seperate apps in tomcat 5.xx too wixh have access to same db
i am not using JNDI jars are in each app and I have no problem
I'm running 2 seperate apps in one Tomcat server. Both use ojb to access
the db.
With one app this works fine. But the second app uses the same
conne
hello
solution you can use OJB whith JNDI tomcat resources !
you add defaultBroket to server.xml ressources and alle webapp can acces
to same repository.xml
I'm running 2 seperate apps in one Tomcat server. Both use ojb to access
the db.
With one app this works fine. But the second app use
Are the OJB jars in the web application's lib directories? (stupid
question, but still...) If its not that then I'm not really sure what
it would be...
[EMAIL PROTECTED] wrote:
I'm running 2 seperate apps in one Tomcat server. Both use ojb to access
the db.
With one app this
I'm running 2 seperate apps in one Tomcat server. Both use ojb to access
the db.
With one app this works fine. But the second app uses the same
connection the first one uses.
Both apps get the PersistanceBroker with
PersistenceBrokerFactory.getDefaultPersistanceBroker(). But I have two
sep
Łukasz Korzybski wrote:
Do you mean pack them in jar and put it to lib folder (WEB-INF/lib) ? I will
try
Right. I remember that at first we had a similar problem and our
solution is this.
regards
Thomas
-
To unsubscribe, e-mail:
tion does not support nested fields)
#
--
Best regards. I hope this helps you.
-Mensaje original-
De: Bikram B Kapoor [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 25 de noviembre de 2004 11:02
Para: OJB Users List
Asunto: Re: OJB in Tomcat
Hi Morales de Frías,
I am new to the
be greatly appreciated
Thanks
Bikram B Kapoor
- Original Message -
From: ; "David" <[EMAIL PROTECTED]>
Newsgroups: gmane.comp.jakarta.ojb.user
Sent: Thursday, November 25, 2004 7:42 PM
Subject: RE: OJB in Tomcat
I have worked with with netBeans 3.5 and 3.6. Struts + o
s.
Any help would be greatly appreciated
Thanks
Bikram B Kapoor
- Original Message -
From: ; "David" <[EMAIL PROTECTED]>
Newsgroups: gmane.comp.jakarta.ojb.user
Sent: Thursday, November 25, 2004 7:42 PM
Subject: RE: OJB in Tomcat
I have worked with with netBeans 3.5 and 3.6. S
What a terrible mistake I made, I've forgotten to include repository.dtd !!
I realized that when I removed OJB.properties from classes directory and I got
different error (new error was exactly telling that OJB.properties is
missing). Now everything runs.
Anyway thanks a lot for help.
Best Re
; Richter
Ok I will try with daily build and with stand alone tomcat and will tell if it
works but it appears that it has to.
Thanks,
Łukasz.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dnia czwartek, 25 listopada 2004 12:32, Thomas Franke napisał:
> Łukasz Korzybski wrote:
> > Is anyone have a idea why ojb 1.0.1 doesn't see configuration files which
> > are directly in WEB-INF/classes? I am fighting with it all day and I am
> > not able to make it wor
I have worked with with netBeans 3.5 and 3.6. Struts + ojb + netbean's tomcat
(4 and 5). And i have no problem.
-Mensaje original-
De: Edson Carlos Ericksson Richter
[mailto:[EMAIL PROTECTED]
Enviado el: jueves, 25 de noviembre de 2004 12:40
Para: OJB Users List
Asunto: Re: OJB in T
Have you tryied NetBeans 3.6? I'm using OJB without problems, in
standalone and web apps with 3.6. I know NetBeans 4 B2 has some flaws in
this area... I think you test latest Q build too..
Richter
-
To unsubscribe, e-mail: [EMAI
Hello...
I'm using also tomcat 5, and i have no problem with it. I have all
configuration files in /WEB-INF/classes.
Does tomcat see ojb.properties?, maybe in this file you have not referenced the
rest of files well.
Tell more details, please. (and please be patient with my english).
Łukasz Korzybski wrote:
Is anyone have a idea why ojb 1.0.1 doesn't see configuration files which are
directly in WEB-INF/classes? I am fighting with it all day and I am not able
to make it work, I use tomcat 5 embedded in Netbeans 4, I will download today
tomcat and make alone installatio
Łukasz Korzybski wrote:
Hi all,
Is anyone have a idea why ojb 1.0.1 doesn't see configuration files which are
directly in WEB-INF/classes? I am fighting with it all day and I am not able
to make it work, I use tomcat 5 embedded in Netbeans 4, I will download today
tomcat and make
Hi all,
Is anyone have a idea why ojb 1.0.1 doesn't see configuration files which are
directly in WEB-INF/classes? I am fighting with it all day and I am not able
to make it work, I use tomcat 5 embedded in Netbeans 4, I will download today
tomcat and make alone installation and try wi
Hi!
We are running OJB on our production serveur (tomcat 4.1.30 in this case).
The JVM was running troubles after running a while so I've modified my
app to count objects that are loaded : we have a static Map
(key=class.getName(), value=count) that counts the total number of
live inst
oblem. There is an application that uses Tomcat 5.0.27 + jdk 1.4.2_04 + OJB 1.0.1 + interbase 6.0
On Win 2000 it works correctly, but on my server (FreeBSD 4.8 + Tomcat 5.0.24 + diablo jdk 1.3.1 + firebird 1.0.2) the next error appeares:
java.lang.AbstractMethodError: org/apache/ojb/broker
Hi all!
I have a problem. There is an application that uses Tomcat 5.0.27 + jdk 1.4.2_04 + OJB
1.0.1 + interbase 6.0
On Win 2000 it works correctly, but on my server (FreeBSD 4.8 + Tomcat 5.0.24 + diablo
jdk 1.3.1 + firebird 1.0.2) the next error appeares:
java.lang.AbstractMethodError:
org
fax: 55.11.3266 5121
[EMAIL PROTECTED]
-Mensagem original-
De: Henrique Faria [mailto:[EMAIL PROTECTED]
Enviada em: Thursday, August 26, 2004 7:41 PM
Para: 'OJB Users List'
Assunto: RES: Can't find OJB property files from inside tomcat...
Brian,
T
pplication working
end-to-end.
Someone on the Tomcat list suggested that the OJB
example servlet may not be working because the WAR
file that's generated doesn't contain a web.xml file.
I haven't tried this/worked on this yet... I presume
your Web app has a web.xml file?...
Other th
--
De: Brian McCallister [mailto:[EMAIL PROTECTED]
Enviada em: Thursday, August 26, 2004 7:11 PM
Para: OJB Users List
Assunto: Re: Can't find OJB property files from inside tomcat...
It should be on your classpath, I typically put the OJB.properties, and
repository_* in WEB-INF/classes
-Bri
It should be on your classpath, I typically put the OJB.properties, and
repository_* in WEB-INF/classes
-Brian
On Aug 26, 2004, at 6:03 PM, Henrique Faria wrote:
Hi!
I'm trying to use the Persistent Broker API from inside a servlet
environment (tomcat5 web container). The problem seems to be the
Hi!
I'm trying to use the Persistent Broker API from inside a servlet
environment (tomcat5 web container). The problem seems to be the web
application can't find the OJB property files (OJB.properties,
repository.xml). I get the following error:
[BOOT] ERROR: Creation of PersistenceBrokerFactory (
WHIRLYCOTT wrote:
Yes, I have the repository.dtd in my WEB-INF/classes dir as well. I'm
using that in Eclipse to validate my repository.xml file.
One difference is that I'm using Tomcat 5.0.18. Would you mind
repeating your experiment using a version of Tomcat 5?
I'm tryin
I put some bad markup into
the files, I get exceptions telling me so.
phil.
Daniel Perry wrote:
I have it working in tomcat 5 and 4.
Is this under linux or windows?
Have you checked file permissions? (especially if XP and tomcat service ?)
Have you tried running tomcat in user mode rather than
I have it working in tomcat 5 and 4.
Is this under linux or windows?
Have you checked file permissions? (especially if XP and tomcat service ?)
Have you tried running tomcat in user mode rather than service?
Daniel.
> -Original Message-
> From: WHIRLYCOTT [mailto:[EMAIL PRO
WHIRLYCOTT wrote:
Yes, I have the repository.dtd in my WEB-INF/classes dir as well. I'm
using that in Eclipse to validate my repository.xml file.
One difference is that I'm using Tomcat 5.0.18. Would you mind
repeating your experiment using a version of Tomcat 5?
I'm tryin
Yes, I have the repository.dtd in my WEB-INF/classes dir as well. I'm
using that in Eclipse to validate my repository.xml file.
One difference is that I'm using Tomcat 5.0.18. Would you mind
repeating your experiment using a version of Tomcat 5?
I'm trying to figure out what
n the OJB
code that loads the file. I started poking around the source earlier on
and will try to get into it more later.
If you have more ideas, I'd love to hear them and try them out.
I just tried a very simple servlet that uses PB-Api with OJB, Tomcat
4.1.18, JDK 1.4.2 on WinXP, and i
Apart from that, the error messages aren't very useful.
Where do you keep your OJB.properties and repository.xml files?
The place should be ok for both files.
phil.
INFO (2004-06-23) 17:17:25.094
org.apache.ojb.broker.metadata.RepositoryPersistor : OJB Descriptor
Repository:
file:/C:/jaka
5.094
org.apache.ojb.broker.metadata.RepositoryPersistor : OJB Descriptor
Repository:
file:/C:/jakarta-tomcat-5.0.18/webapps/cct/WEB-INF/classes/repository.xml
INFO (2004-06-23) 17:17:25.094
org.apache.ojb.broker.metadata.RepositoryPersis
tor : Building repository from :
file:/C:/jakarta-tomcat-5.0.18/we
: OJB Descriptor
Repository:
file:/C:/jakarta-tomcat-5.0.18/webapps/cct/WEB-INF/classes/repository.xml
INFO (2004-06-23) 17:17:25.094
org.apache.ojb.broker.metadata.RepositoryPersis
tor : Building repository from :
file:/C:/jakarta-tomcat-5.0.18/webapps/cct/WEB-INF/classes/repository.xml
DEBUG (2004-06-2
WHIRLYCOTT wrote:
I just ran a little test here. I put some invalid markup at the
beginning of my repository.xml file in order to see if I would get an
error message about it not being parsed correctly, and I did.
So it appears that the repository.xml file is being read.
But this is quite puzzl
I've started integrating this code
into a webapp using Struts, I'm getting an exception that indicates
that OJB is having some trouble reading the OJB.properties file.
It's located in
$TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties, which I
believe is correct. I also ha
an exception that
indicates that OJB is having some trouble reading the
OJB.properties file.
It's located in
$TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties, which I
believe is correct. I also have my repository.xml file in the same
directory.
Ideas?
phil.
2004-06-23 15:51:40 Standa
TT said the following on 6/23/2004 4:00 PM:
Greetings,
I'm working away quite happily here with some code using OJB from
inside Eclipse. However, now that I've started integrating this
code into a webapp using Struts, I'm getting an exception that
indicates that OJB is having s
om
inside Eclipse. However, now that I've started integrating this code
into a webapp using Struts, I'm getting an exception that indicates
that OJB is having some trouble reading the OJB.properties file.
It's located in
$TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties
properties file.
It's located in
$TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties, which I
believe is correct. I also have my repository.xml file in the same
directory.
Ideas?
phil.
2004-06-23 15:51:40 StandardWrapperValve[action]: Servlet.service()
for servlet ac
with some code using OJB from
inside Eclipse. However, now that I've started integrating this code
into a webapp using Struts, I'm getting an exception that indicates
that OJB is having some trouble reading the OJB.properties file.
It's located in
$TOMCAT/webapps/appname/WEB-INF/
OJB.properties file.
It's located in $TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties,
which I believe is correct. I also have my repository.xml file in the
same directory.
Ideas?
phil.
2004-06-23 15:51:40 StandardWrapperValve[action]: Servlet.service() for
servlet ac
.
It's located in $TOMCAT/webapps/appname/WEB-INF/classes/OJB.properties,
which I believe is correct. I also have my repository.xml file in the
same directory.
Ideas?
phil.
2004-06-23 15:51:40 StandardWrapperValve[action]: Servlet.service() for
servlet ac
WEB-INF/classes does the trick.
On Wed, 12 May 2004, [iso-8859-1] Amol Pophale wrote:
> Hi All,
> I am trying to deploy a web-application using OJB in
> Tomacat. where should I copy properties and xml files
> (e.g. OHB.properties,repositery_databse.xml) required
> by OJB?
>
> Thanks
> Amol
>
>
>
Amol,
All of those files should be in /appname/WEB-INF/classes/
Charlie
Amol Pophale wrote:
Hi All,
I am trying to deploy a web-application using OJB in
Tomacat. where should I copy properties and xml files
(e.g. OHB.properties,repositery_databse.xml) required
by OJB?
Thanks
Amol
_
Hi All,
I am trying to deploy a web-application using OJB in
Tomacat. where should I copy properties and xml files
(e.g. OHB.properties,repositery_databse.xml) required
by OJB?
Thanks
Amol
Yahoo! Me
Hi,
Please can anybody who has succeeded in using OJB console gives me some
advice.
I use OBJ with JDO persistence API, I have Ant installed correctly, and
tomcat 5.0, i copied right files of repository.xml and *.class, the
ojbc.war is created without problem, but when i extract the ojbc.war
Dear Thomas,
Thanks for your response.
The DB does get updated by the JBOSS daemon.
However, when the OJB implementation is accessed directly by tomcat
running in the same JBOSS instance, it does not update the database.
You are right that the corresponding sql update does not happen(no
executing your statement.
Why could this happen? JBOSS is a fullfledged J2EE container with JTA
transaction manager and Tomcat isn't.
SO under commit you must use explicit commits.
Please check your OJB.properties settings that define the transactional
behaviour.
cheeers,
Thomas
Sukesh Garg wrot
My application accesses OJB via the JBOSS startup daemons and TOMCAT.
The database gets updated correctly when the operation is performed via
the JBOSS daemon.
However, if the operation is performed via tomcat, the db does not get
updated. There are no errors reported.
If I enable the
Return Receipt
Your DATABASE.OPEN causes TOMCAT to reload my web-application
documen !?
t
Hi,
I am trying to use OJB ODMG in a STRUTS application on TOMCAT 4.1.29. ODMG
and Database objects are setup at the start of the application via plug-in
and then both will be referenced from a business object for any database
manipulations. The startup processes without any complaints. When I
t; <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 14, 2003 6:22 AM
Subject: tomcat
> Hello,
>
> I currently have a fairly basic account and I'm considering getting
> Tomcat functionality added. Can you tell me how Tomcat is configured.
> I'm par
Hello,
I currently have a fairly basic account and I'm considering getting
Tomcat functionality added. Can you tell me how Tomcat is configured.
I'm particularly interested in database access. Will I have access to
server.xml?
Thank
Jason Pyeron wrote:
We are trying to deploy an application as a single jar file. But we cant
seem to get the OJB subsystem to load its files from inside the jar.
any suggestions?
I suggest you provide the list with error messages and details about
what you have tried that didn't work, assumi
the files to WEB-INF/classes and worked.
> >
> > Unfortunatelly, in the OJB.properties, I had to write the fully static
> > directory to the repository file running at Tomcat.
> >
> > repositoryFile=../webapps/maritima/WEB-INF/classes/repository.xml
>
> I
Rogerio Tambellini dijo:
> Thanks for everyone, I just moved the files to WEB-INF/classes and worked.
>
> Unfortunatelly, in the OJB.properties, I had to write the fully static
> directory to the repository file running at Tomcat.
>
> repositoryFile=../webapps/mariti
OJB.properties, I had to write the fully static
directory to the repository file running at Tomcat.
repositoryFile=../webapps/maritima/WEB-INF/classes/repository.xml
Is that right? There is another way to write this, because I wanna
deploy this project into another application server and I don't
Thanks for everyone, I just moved the files to WEB-INF/classes and worked.
Unfortunatelly, in the OJB.properties, I had to write the fully static
directory to the repository file running at Tomcat.
repositoryFile=../webapps/maritima/WEB-INF/classes/repository.xml
Is that right? There is
Put OJB.properties and repository.xml in a directory named classes in
your WEB-INF directory
WEB-INF
+ classes
- OJB.properties
- repository.xml
Regards
Franz
Rogerio Tambellini wrote:
I'm using Tomcat 4.1.29 and OJB 1.0 rc4.
I've tested my class using JUnit and it
The normal location for library files is:
TOMCAT_HOME--+--webapps--+--product--+
+--WEB-INF-+
+--lib-+
+--db-obj-1.0-rc4.jar
This should be the result if you d
Try moving the OBJ.properties and repository.xml into .../WEB-INF/classes/
rather than directly under WEB-INF.
Rogerio Tambellini wrote:
I'm using Tomcat 4.1.29 and OJB 1.0 rc4.
I've tested my class using JUnit and it's correct, but when I deploy
to Tomcat this message happens
I'm using Tomcat 4.1.29 and OJB 1.0 rc4.
I've tested my class using JUnit and it's correct, but when I deploy to
Tomcat this message happens when trying to create a Persistence Broker.
java.lang.NoClassDefFoundError
at
org.apache.ojb.broker.PersistenceBrokerFactory.createPe
1 - 100 of 128 matches
Mail list logo