[JBoss-user] [JCA/JBoss] - Re: PKIX path building failed

2006-03-21 Thread beyarecords
"[EMAIL PROTECTED]" wrote : You think this a JBoss issue??? Only in the sense that I know that there is a document, which I forget, I can set the keyStore and keyStore password in Jboss! Could you kindly tell me where I can set these peoperties jn Jboss 4.0.3? Andrew View the original post :

[JBoss-user] [JCA/JBoss] - PKIX path building failed

2006-03-17 Thread beyarecords
Hi, I am receiveing the following error message when starting Jboss 4.0.2, under Windows XP (Service Pack 2) in regards to making an SSL connection to my postgreSQL 8.x database: anonymous wrote : | sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.c

[JBoss-user] [JBossWS] - org.apache.axis ClassCastException

2006-02-26 Thread beyarecords
My appologies first off for having posted this already,in the wrong place initially, in Jboss.Net in reply to an exact same issue i'm having here. I'm using the default conf in Jboss 4.0.2 (OS X 10.4.5) and am trying to access paypals webservice via their java SDK. From earlier replies I have se

[JBoss-user] [JBossWS] - Re: org.apache.axis --> org.jboss.axis issue!

2006-02-25 Thread beyarecords
"beyarecords" wrote : Hi, | as org.apache.axis is no longer supported, i'm running Jboss 4.0.2 (OS X), could someone please tell me what has become of: | | import org.apache.axis.message.MessageElement; | import org.apache.axis.message.PrefixedQN

[JBoss-user] [JBossWS] - org.apache.axis --> org.jboss.axis issue!

2006-02-25 Thread beyarecords
Hi, as org.apache.axis is no longer supported, i'm running Jboss 4.0.2 (OS X), could someone please tell me what has become of: import org.apache.axis.message.MessageElement; import org.apache.axis.message.PrefixedQName; import org.apache.axis.message.SOAPHeaderElement; I changed them to: impor

[JBoss-user] [JBoss.NET] - Re: Problem accessing .NET webservice from servlets

2006-02-25 Thread beyarecords
If I add jboss-net-client.jar to the classpath I get the following error logs: anonymous wrote : | 12:46:08,772 WARN [EngineConfigurationFactoryFinder] Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet Ignored: missing required method: public static EngineConfigurationF

[JBoss-user] [JBoss.NET] - Re: Problem accessing .NET webservice from servlets

2006-02-25 Thread beyarecords
I'm using the default conf in Jboss 4.0.2 (OS X 10.4.5) and am trying to access the paypals webservice. From earlier replies here it seems i'm having an axis issue as well. What do I need to do to resolve this? anonymous wrote : | 09:20:51,610 WARN [EngineConfigurationFactoryFinder] Factory

[JBoss-user] [Installation & Configuration] - Re: org.jboss.hibernate.session.HibernateContext

2005-05-26 Thread beyarecords
It is situated in your jbosss-hibernate.jar/hibernate.jar which are both located in your default/lib directory. That is of course if you are using jboss4.x/4.x.x... If not, download hibernate from the www.hibernate.org. All the jars you require can be aquired from there. regards View the origi

[JBoss-user] [HTTPD, Servlets & JSP] - Problem with Saxon 8 using Jboss 4.0.2

2005-05-25 Thread beyarecords
Hi, I have recently upgraded from JBoss 4.0.0 to 4.0.2 and have changed absolutely none of the code in my war(cocoon). But when using saxon 8 under 4.0.2 the following happens: | | | using 4.0.2 gives an html output of (incorrect): | | | Identified at some time and s

[JBoss-user] [JCA/JBoss] - Re: HAR deployement problem

2005-05-24 Thread beyarecords
Alban, no need to appologise. It's a mistake I couldn't figure out myself for a long while when I first started ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878904#3878904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [JCA/JBoss] - Re: HAR deployement problem

2005-05-24 Thread beyarecords
alban_coul, the problem lays in your hibernate-service.xml: create-drop create-drop, on JBoss startup, is creating all the tables defined in your *.hbm.xml files and then droping them. To prevent this from happening, once you have created all the tables, specify no value in your Hbm2ddlAuto att

[JBoss-user] [JCA/JBoss] - Re: HAR deployement problem

2005-05-24 Thread beyarecords
alban_coul, the problem lays in your hibernate-service.xml: | create-drop | create-drop, on JBoss startup, is creating all the tables defined in your *.hbm.xml files and then droping them. To prevent this from happening, once you have created all the tables, specify no value in your Hbm2ddl

[JBoss-user] [Installation & Configuration] - Re: Jboss AP 4.0.0 upgarde to 4.0.2

2005-05-20 Thread beyarecords
If I rename hibernate.har to hibernate or hibernate.[ear|sar] then an attempt is made to deploy the folder and an error is thrown up because various meta-inf files are missing. If I then rename the folder back to hibernate.har nothing happens at all. What is going on here View the original

[JBoss-user] [EJB/JBoss] - How to deploy hibernate.har (4.0.0) into 4.0.2

2005-05-20 Thread beyarecords
Does anybody know the answer to this question in Jboss land?!! Can anyone tell me how to deploy hibernate files in 4.0.2 if not via the hibernate.har structure? Why is there no documentation for this? I have checked the WIKI and read the hibernate2 to hibernate3 process required to make the c

[JBoss-user] [Installation & Configuration] - Re: Jboss AP 4.0.0 upgarde to 4.0.2

2005-05-20 Thread beyarecords
Does nobody really know the answer to this question in Jboss land?!! Can anyone tell me how to deploy hibernate files in 4.0.2 if not via the hibernate.har structure? Why is there no documentation for this? I have checked the WIKI and read the hibernate2 to hibernate3 process required to make

[JBoss-user] [Installation & Configuration] - Re: Jboss AP 4.0.0 upgarde to 4.0.2

2005-05-19 Thread beyarecords
Why is the hibernate.har file not deploying? What is the issue with jboss-4.0.2 and har deployment. How do I deploy hibernate files if not via har as in 4.0.0? regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878474#3878474 Reply to the post : http:/

[JBoss-user] [Installation & Configuration] - Re: Jboss AP 4.0.0 upgarde to 4.0.2

2005-05-19 Thread beyarecords
Here is the logs I am getting on startup: | 01:03:29,555 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/Library/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ | 01:03:31,215 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:

[JBoss-user] [Installation & Configuration] - Re: Jboss AP 4.0.0 upgarde to 4.0.2

2005-05-19 Thread beyarecords
Futher to my previous posts, here is one of my hibernate hbm.xml files: | | http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";> | | | | | | | | | | |

[JBoss-user] [Installation & Configuration] - Re: Jboss AP 4.0.0 upgarde to 4.0.2

2005-05-19 Thread beyarecords
://localhost:5432/beyarecords?ssl=true | org.postgresql.Driver | * | * | 10 | | PostgreSQL 7.2 | | | | What am I doing wrong here? When my app tries to make a connection to the database nothing happens and no error output is genertated

[JBoss-user] [Installation & Configuration] - Jboss AP 4.0.0 upgarde to 4.0.2

2005-05-19 Thread beyarecords
Hi, first off I am using Jboss 4.0.0 on OS X 10.4 (Tiger) with no problems at all. I am using hibernate.har which is not featured in 4.0.2. So, do I take it that jboss-hibernate.deployer folder is now the way to go? My hibernate.har structure is as follows: 1. hibernate.cfg.xml 2. META-INF

[JBoss-user] [Installation & Configuration] - Re: Dynamic class loading

2005-04-26 Thread beyarecords
frontline, I have asked this question before and the reply I got was to re-deploy your web application View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875434#3875434 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=387

[JBoss-user] [Installation & Configuration] - Re: Stop Jboss from deploying and Undeploying beans on start

2005-04-20 Thread beyarecords
Thomas, i'm having tha same problem. Changes to hibernate xml maps/classes do not take effect unless the server is restarted. What is the issue here? I am using Jboss 4.0.0 on OS X 10.3.7. regards Uzo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874609#38

[JBoss-user] [Installation & Configuration] - Re: ./shutdown -S.........

2005-01-31 Thread beyarecords
Scott, what's the best way to deal with this issue, re-install java? beya View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864436#3864436 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864436 --

[JBoss-user] [Installation & Configuration] - ./shutdown -S.........

2005-01-31 Thread beyarecords
would, in the past, shutdown my install of jboss 4.0.0 (os x 10.3.7). Now, the same command gives me the following: Segmentation fault What does this mean? beya View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864432#3864432 Reply to the post : http://www.j

[JBoss-user] [Persistence & CMP/JBoss] - How to touch class?

2005-01-19 Thread beyarecords
Hi, whenever I make ammends to any of my hibernate classes which are situated as so: hibernate.her/test/*.class the changes are not taken until i re-start Jboss. How can i get my changes to change withput having to re-start the server? I am using Jboss 4.0. regards beya View the original pos

[JBoss-user] [Installation & Configuration] - Re: Using jboss with apache

2005-01-17 Thread beyarecords
'/yourwar/:8080/yourwar/folder/'??? Don't you mean localhost:8080/yourwar/folder/ ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862372#3862372 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862372 ---

[JBoss-user] [Installation & Configuration] - Re: From Tomcat to JBoss, a hibernate application

2005-01-14 Thread beyarecords
Lee, in my hibernate.har folder the structure is: hibernate.har -hibernate.cfg.xml -META-INF/hibernate-service.xml -test/ (*.hbm.xml,*.class) -WEB-INF/lib/here I have my database driver and ehcache.(jar/xml) hibernate.cfg.xml | | | | | | |

[JBoss-user] [Installation & Configuration] - Re: postgreSQL

2005-01-13 Thread beyarecords
Yes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862029#3862029 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862029 --- The SF.Net email is sponsored by: Beat th

[JBoss-user] [Installation & Configuration] - Re: Problem with mod_jk 1.2

2005-01-13 Thread beyarecords
check that the mod_jk.so file is in your /modules folder View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861880#3861880 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861880

[JBoss-user] [Installation & Configuration] - Re: Using jboss with apache

2005-01-12 Thread beyarecords
Ok, in your http.conf file for apache add these lines at the LoadModule section: LoadModule rewrite_module modules/mod_rewrite.so LoadModule jk_module modules/mod_jk.so Now at the bottom of the http.conf file add the following: RewriteEngine on RewriteRule (.*)\.(js|css|xml|xsl|html|asp)$ htt

[JBoss-user] [Installation & Configuration] - Re: Using jboss with apache

2005-01-11 Thread beyarecords
If I understand you corrcetly, you don't want the war name as part of the URL but want to access it via www.yoururl.com??? If so, try adding this to your http.conf file: RewriteEngine on RewriteRule (.*)\.(js|css|xml|xsl|html|asp)$ http://localhost:8080/yourwar/$1.$2 [P,L] RewriteRule "^/(.*)"

[JBoss-user] [JCA/JBoss] - Re: Can anybody help me out with this ?????

2004-12-17 Thread beyarecords
Adrian, sounds like your having a good day bro ;-) regards Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859047#3859047 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859047 -

[JBoss-user] [Installation & Configuration] - Re: Cocoon as exploded directory

2004-12-14 Thread beyarecords
Bruce, i'm running cocon on Jboss 4 with no problems. I have cocoon sitting in the following directory: 1. in /deploy/jbossweb-tomcat50.sar/root.war/ I removed everything that was in root.war and replaced it with my cocoon stuff. My setup is such that I do http://www.mysite.com/myfile.xml takes

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-13 Thread beyarecords
Nice one ;-) Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858465#3858465 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858465 --- SF email is sponsored by

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-10 Thread beyarecords
Scot, I managed to source the files I required. One point about the wiki. you mention, in the very last section, saving the client(unit-tests-client.cer) to the keystore but don't actualy create it anywhere. Is this an error? Import the client cert | keytool -import -keystore localhost.keysto

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-10 Thread beyarecords
Scot, sorry to be a pain, but is there any chance you could send me a zip of your openssl private folder: /library/local/ssl/private as mine has none of the files specified in the openssl.cnf file, and I haven't got a clue about how to create/obtain them. most appreciated Andrew View the or

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-09 Thread beyarecords
Ok, for those interested. the solution is: | 27.13. SSL Support (postgresql docs) | 'If the server demands a client certificate, libpq will send the certificate stored in file .postgresql/postgresql.crt within the user's home directory. A matching private key file .postgresql/postgr

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-09 Thread beyarecords
Hi, ok I have managed to get half way with this issue. So far I have: (1.) created a self trusted cert (server.crt.der) and imported it into /library/java/home/lib/security/cacerts (2.) copied server.crt and server.key files into /usr/pgsql/data (3.) restart jboss The sum result of this is tha

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - peer did not return a certificaten

2004-12-08 Thread beyarecords
Ok, i'm on the final run of the race! Jboss is shaking hands with postgreSQL via SSL but needs to verify itself to postgreSQL by returning a certifcate. Does anyone know where in Jboss I need to place the certifcate and how I go about specifying the location of the certificate? in other words, w

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - peer did not return a certificaten

2004-12-08 Thread beyarecords
Ok, i'm on the final run of the race! Jboss is shaking hands with postgreSQL via SSL but needs to verify itself to postgreSQL by returning a certifcate. Does anyone know where in Jboss I need to place the certifcate and how I go about specifying the location of the certificate? in other words, w

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-08 Thread beyarecords
Hi, in error I forgot to include the complete stack trace related to my very last post: | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLException: The connection attempt failed.) | at org.jboss.resource.adapter

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-08 Thread beyarecords
Ok, I'm nearly there but not yet. I can ascertain what is in my keystore by doing: $ keytool -list Enter keystore password: mypassword | Keystore type: jks | Keystore provider: SUN | | Your keystore contains 1 entry | | beyarecords.com, Dec 7, 2004, keyEntry, | Certificate

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-07 Thread beyarecords
Scott, I implemented your recommendations in the properties-service.xml file which I placed in /server/default/deploy/: | | javax.net.ssl.trustStore = "/library/java/home/lib/security/cacert" | javax.net.ssl.trustStorePassword = "changeit" | | I tried the values

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-07 Thread beyarecords
Hi Scott, I located run.conf in /library/jboss-4.0.0/bin/. I added the following to JAVA_OPTS: | JAVA_OPTS=". -Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert -Djavax.net.ssl.trustStorePassword=changeit" | So now when I do ./run.sh I get confirmation of the above am

[JBoss-user] [Installation & Configuration] - Re: Adding additional properties to postgres-ds.xml

2004-12-07 Thread beyarecords
Hi, was just reading some information about struts, where you can set a property on a datasource like so: | | | | | | | | | What I want to be able to say in my postgres-ds.xml file is : | | | How do I go about acheiving this? regard

[JBoss-user] [Installation & Configuration] - Adding additional properties to postgres-ds.xml

2004-12-07 Thread beyarecords
Hi, I have specified my postgres-ds.xml file as so: | | | jdbc:postgresql://localhost:5432/test?ssl=true | org.postgresql.Driver | * | * | 10 | | | PostgreSQL 7.2 | | | | and I need to add the additional properties

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-07 Thread beyarecords
n(url, props); | | So, refering back to my postgres-ds.xml file for a second while keeping the above in mind: | | | PostgresDS | jdbc:postgresql://localhost:5432/beyarecords?ssl=true | org.postgresql.Driver | postgres | postgres | 10 | |

[JBoss-user] [Security & JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep

2004-12-07 Thread beyarecords
Hi Scott, thanks for your reply. From reading various sources of documentation it is clear that I need to implement the following: java -Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert application Now, my confusion is this: 1. As I am running an a web application and jboss han

[JBoss-user] [Security & JAAS/JBoss] - PostgreSQL + SSL - sun.security.validator.ValidatorException

2004-12-06 Thread beyarecords
Hi, I have specified a connection string in my postgres-ds.xml file as | jdbc:postgresql://localhost:5432/mydatabase?ssl | my Driver is: DriverVersion PostgreSQL 8.0devel JDBC3 with SSL (build 308) The ?ssl informpostgreSQl to make a secure connection. Where is Jboss looking for the k

[JBoss-user] [Installation & Configuration] - Castor.properties error on deployment

2004-12-04 Thread beyarecords
Hi, when deploying Jboss 4.0 on OS X 10.3.6 I get the following error message: 18:33:07,615 INFO [STDOUT] Loading properties file: resourceName = '/org/exolab/castor/castor.properties' fileName = 'castor.properties' 18:33:08,123 INFO [STDOUT] org.exolab.castor.mapping.MappingException: Could n

[JBoss-user] [Installation & Configuration] - ehcache - 11:37:35,009 WARN [Plugin] Could not find configu

2004-12-03 Thread beyarecords
Hi, i'm running Jboss 4.0 and a getting the following message when Jboss is starting up: | 11:37:35,009 WARN [Plugin] Could not find configuration for test.Artist. Configuring using the defaultCache settings. | I have placed my ehcache.xml.jar into the following directory: /server/defau

[JBoss-user] [JCA/JBoss] - Re: interfacing JBoss with postgres

2004-11-26 Thread beyarecords
what version of jboss are you using? Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856504#3856504 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856504 ---

[JBoss-user] [Installation & Configuration] - Re: mod_jk apache 2.0.52 jboss 4.0.0

2004-11-23 Thread beyarecords
dijkstra, try this: | # mod_jk2 configuration | LoadModule jk2_module modules/mod_jk2.so | | # for jboss | RewriteEngine on | | RewriteRule "^/WEB-INF/?(.*)" "$0" [L,F,NC] | | #* Pull files off Apache ** | RewriteRule "^/(.*)\.gif$" "$0" [L] | RewriteRule "^/(

[JBoss-user] [Installation & Configuration] - Re: jboss 4.0 + postgresql 7.4.5

2004-11-18 Thread beyarecords
Hi, I am using postgreSQL 8 and Jboss 4.0.0 and struggled with the problem you mentioned. The problem stems from the file /deploy/ejb-deployer.xml: | | create table TIMERS ( |TIMERID varchar(50) not null, |TARGETID varchar(50) not null, |

[JBoss-user] [Installation & Configuration] - org.postgresql.util.PSQLException: ERROR: type "other" does

2004-11-12 Thread beyarecords
Hi, I get the above error message when I try and change the default database in Jboss 4.0.0 to from hsqldb to postgresql. I went to the following resource which claimed that this problem had been fixed in Jboss 4: http://sourceforge.net/tracker/index.php?func=detail&aid=1029232&group_id=22866&at

[JBoss-user] [Installation & Configuration] - Re: JBOSS 4.0 & MSSQL

2004-11-11 Thread beyarecords
deepsheep, go to: /docs/examples/jca/mysql-ds.xml alter the file to your requirements, and then place that file into: /server/default/deploy Make sure thta you have placed your mysql driver into: /server/default/lib That should get you up and running at least. Andrew View the original post

[JBoss-user] [Installation & Configuration] - Re: Unable to use MySQL for DefaultDS

2004-11-05 Thread beyarecords
You don't need to change it. If you are using jboss 4.0 just add your own for mysql. you can find the correct map for mysql in /docs/examples/jca. Alter that file to your own requirements and then dump it in the deploy directory. regards Andrew View the original post : http://www.jboss.org/i

[JBoss-user] [Installation & Configuration] - Re: How can I make cocoon the main webapp in jboss 4.0.0?

2004-11-05 Thread beyarecords
After a session of mind altering substances it came to me in a flash! Dump the existing ROOT.war folder and rename your existing application ROOT.war. praises be for McDonalds ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854028#3854028 Reply to the

[JBoss-user] [Installation & Configuration] - Re: How can I make cocoon the main webapp in jboss 4.0.0?

2004-11-04 Thread beyarecords
Ok, in my log readout i get the following: [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/Library/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/ and: [TomcatDeployer] deploy, ctxPath=/cocoon, warUrl=file:/Library/jboss-4.0.0/server/default/deploy/cocoon.war/ What file do

[JBoss-user] [Installation & Configuration] - Re: How can I make cocoon the main webapp in jboss 4.0.0?

2004-11-04 Thread beyarecords
does anybody know the answer to this, as I can still not find anything in the docs or on the net? many thanks Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853967#3853967 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Apache 2.0.52 - JBoss 4.0 RewriteRule problem

2004-11-04 Thread beyarecords
Lviz, tried your recommendation and it works but displays the url as: 1. http://www.mysite.com/login.xml becomes http://beyarecords.com/cocoon/mysite//login.xml But what i want is to hide cocoon/mysite from the user. So if I add [P] it works but the session is not kept from page to page becaus

[JBoss-user] [Installation & Configuration] - How can I make cocoon the main webapp in jboss 4.0.0?

2004-11-04 Thread beyarecords
I want to change the main webapp in jboss 4.0.0 from: http://www.mysite.com:8080/ROOT.war to: http://www.mysite.com:8080/cocoon.war How do I do this? many thanks Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853863#3853863 Reply to the post : h

[JBoss-user] [Installation & Configuration] - Re: Document base /Library/jboss-4.0.0/server/default/./coco

2004-11-03 Thread beyarecords
er | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853802#3853802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853802 --

[JBoss-user] [Installation & Configuration] - Document base /Library/jboss-4.0.0/server/default/./cocoon d

2004-11-03 Thread beyarecords
Hi, I am trying to change the context in my Serverl.xml file in jbossweb-tomcat50.sar but am getting the above mentioned error. My context code is: my cocoon.war is located as: server/default/deploy/cocoon.war What am I doing wrong? many thanks Andrew Vi

[JBoss-user] [EJB/JBoss] - Re: Hibernate.har in myHibernateEar.ear 'no persistent class

2004-11-03 Thread beyarecords
Here is the reading I was getting from the logs which would suggest that the ear was being deployed before the classes: 16:54:12,522 INFO [EARDeployer] Init J2EE application: file:/Library/jboss-4.0.0/server/default/deploy/myHibernateEar.ear/ 16:54:14,509 ERROR [Hibernate] Starting failed jboss

[JBoss-user] [EJB/JBoss] - Re: Hibernate.har in myHibernateEar.ear 'no persistent class

2004-11-03 Thread beyarecords
Ah...!, I think I may be completely missing the point of ejb here. As you know my initial intention was to be able to use hibernatecontext.getSession() which you can only use behind an ejb?, so my understanding was that i would have to run my application within an ear! Ok let's start again, how

[JBoss-user] [EJB/JBoss] - Re: Hibernate.har in myHibernateEar.ear 'no persistent class

2004-11-03 Thread beyarecords
the error that I should have mentioned in my last post was: MBeans waiting for other MBeans: ObjectName: jboss.har:service=Hibernate state: FAILED I Depend On: jboss.jca:service=RARDeployer jboss.jca:name=PostgresDS,service=LocalTxCM Depends On Me: net.sf.hibernate.MappingException: net.sf.h

[JBoss-user] [EJB/JBoss] - Re: Hibernate.har in myHibernateEar.ear 'no persistent class

2004-11-03 Thread beyarecords
rimmeraj, I tried your suggestion but got mapping exceptions because the persistent classes could not be found. Apart from being able to use managed transactions, what are the benefits of running hibernate behind an ejb? Is there any performance/operational benefit? If not, i'm going to use hibe

[JBoss-user] [EJB/JBoss] - Hibernate.har in myHibernateEar.ear 'no persistent classes'

2004-10-31 Thread beyarecords
: | | | | hibernate:loader=myHibernateEar.ear | | hibernate.har | | | application.xml: | | | beyarecords | beyarecords | | | hibernate.har | | | | for which I get the following message in the logs: 02:03:33,611

[JBoss-user] [EJB/JBoss] - Re: Hibernate.har into .ear...HowTo?

2004-10-30 Thread beyarecords
ok, I am now at the stage whereby I am getting the following messagein the logs: 02:03:33,611 INFO [EARDeployer] Init J2EE application: file:/Library/jboss-4.0.0/server/default/deploy/myHibernateEar.ear/ 02:03:33,820 INFO [Environment] Hibernate 2.1.5 02:03:33,830 INFO [Environment] hibernate.

[JBoss-user] [EJB/JBoss] - Re: Hibernate.har into .ear...HowTo?

2004-10-30 Thread beyarecords
I have now declared my application.xml file as: beyarecords beyarecords http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853397#3853397 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [EJB/JBoss] - Re: Hibernate.har into .ear...HowTo?

2004-10-30 Thread beyarecords
tion="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"; > beyarecords beyarecords hibernate.har Is this the correct way to specify the application.xml file? many thanks Andrew View the original post : http://www.jboss.o

[JBoss-user] [EJB/JBoss] - Re: Hibernate.har into .ear...HowTo?

2004-10-30 Thread beyarecords
I have specified my jboss-app.xml file as: module har hibernate.har /har /module I am having trouble declaring my hibernate.har in application.xml. How do I declare the application.xml file? If I have added hibernate.har

[JBoss-user] [EJB/JBoss] - Re: Hibernate.har into .ear...HowTo?

2004-10-30 Thread beyarecords
Ok, I have decleared my ear as follows: -myHibernateEar.ear --meta-inf ---application.xml ---jboss-app.xml --Hibernate.har ---meta-inf hibernate-service.xml ---test all my *.class & *.hbm.xml ---hibernate.cfg.xml How do I configure my application.xml (the syntax for JBoss 4.0) in this cas

[JBoss-user] [EJB/JBoss] - Re: Hibernate.har into .ear...HowTo?

2004-10-30 Thread beyarecords
Hi, just to add that I am running JBoss version 4.0. thanks Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853381#3853381 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853381 ---

[JBoss-user] [EJB/JBoss] - Hibernate.har into .ear...HowTo?

2004-10-30 Thread beyarecords
Hi, I have a hibernate.har which works fine. I wish to take advantage of 'EJBs which mange the transactions (JTA)'. How do I configure a .Ear to use my hibernate.har file? many thanks Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853376#3853376 Repl

[JBoss-user] [HTTPD, Servlets & JSP] - Apache 2.0.52 - JBoss 4.0 RewriteRule problem

2004-10-29 Thread beyarecords
Hi, it seems the cause of my problem is the RewriteRule lines I have specified in my Apache http.conf file. In my workers2.properties file I have the following line: [uri:/cocoon/mysite/*] (note: cocoon/mysite is situated inside JBoss 4.0.0 as /server/default/deploy/jbossweb-tomcat50.sar/cocoon.

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Urgent! cocoon.createSession() not working in 2.1.5.1

2004-10-29 Thread beyarecords
Hi, it seems the cause of my problem is the RewriteRule lines I have specified in my Apache http.conf file. In my workers2.properties file I have the following line: [uri:/cocoon/mysite/*] (note: cocoon/mysite is situated inside JBoss 4.0.0 as /server/default/deploy/jbossweb-tomcat50.sar/cocoon.

[JBoss-user] [HTTPD, Servlets & JSP] - How to make cocoon the default webapp in 4.0.0

2004-10-28 Thread beyarecords
Hi, I am running JBoss 4.0.0 and want to know how to change the docBase from root.war to cocoon.war? In my standalone version of Tomcat I have configured my {tomcat}/conf/server.xml file so that: docBase="cocoon" Can I do the same thing with the embedded version of tomcat in JBoss 4? If so how

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Urgent! cocoon.createSession() not working in 2.1.5.1

2004-10-28 Thread beyarecords
I also need to add the platform I am on: 1. OSX 10.3.5 2. Java 1.4.2 (Update 2) regards Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853133#3853133 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853133 ---

[JBoss-user] [HTTPD, Servlets & JSP] - Urgent! cocoon.createSession() not working in 2.1.5.1

2004-10-28 Thread beyarecords
Hi, I am running cocoon 2.1.5.1 in JBoss 4.0 like so: /server/default/deploy/jbossweb-tomcat50.sar/cocoon.war i have a website which uses simple MVC using flowscript. I originally developed the system under tomcat alone using cocoon 2.1.4 which worked fine. I built 2.1.5.1 and placed mysite in

[JBoss-user] [Persistence & CMP/JBoss] - Re: could not instantiate CacheProvider: net.sf.hibernate.ca

2004-10-27 Thread beyarecords
I have changed the cache provider name to : net.sf.ehcache.hibernate.Provider but am now getting the following message: [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/Library/jboss-3.2.6/server/default/lib/ehcache-1.0.jar!

[JBoss-user] [Persistence & CMP/JBoss] - could not instantiate CacheProvider: net.sf.hibernate.cache.

2004-10-27 Thread beyarecords
Hi, I get the above mentioned error when I try to use EhCache in Hibernate. I have placed ehcache-1.0.jar in: /default/deploy/lib/ Is this the correct place to put the jar file? regards Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852919#3852919

[JBoss-user] [Persistence & CMP/JBoss] - Re: Urgent! - session.HibernateContext.getSession not workin

2004-10-26 Thread beyarecords
Hi rimmeraj, what are the java package names for the classes: 1. InitialContext ? 2. SessionFactory ? e.g import .org.x.x.x.InitialContext many thanks for all your help so far Uzo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852803#3852803 Reply to th

[JBoss-user] [Persistence & CMP/JBoss] - Re: Urgent! - session.HibernateContext.getSession not workin

2004-10-26 Thread beyarecords
Hi rimmeraj, I was under the impression that the getSession method of HibernateContext took in as a parameter a sessionfactory name and then passed back a session? In http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate Session management it says: 'The central piece of the Hibernate Session m

[JBoss-user] [Persistence & CMP/JBoss] - Urgent! - session.HibernateContext.getSession not working...

2004-10-26 Thread beyarecords
postgres-ds.xml: PostgreSQL jdbc:postgresql://localhost:5432/beyarecords org.postgresql.Driver x y 5 100 5000 15 standardjbosscmp-jdbc.xml: java:/PostgreSQL postgreSQL postgreSQL

[JBoss-user] [EJB/JBoss] - Re: Jboss 3.2.6 JNDI access from hibernate

2004-10-22 Thread beyarecords
Hi rimmeraj, yes Hibernate starts up properly. My log output is: 21:24:01,184 INFO [Environment] Hibernate 2.1.5 21:24:01,194 INFO [Environment] hibernate.properties not found 21:24:01,199 INFO [Environment] using CGLIB reflection optimizer 21:24:01,223 INFO [Configuration] Mapping file: /Li

[JBoss-user] [EJB/JBoss] - Re: Jboss 3.2.6 JNDI access from hibernate

2004-10-22 Thread beyarecords
rimmerraj, my hibernate-service.xml is as follows: jboss.jca:service=LocalTxCM,name=PostgreSQL java:/HibernateFactory java:/PostgreSQL net.sf.hibernate.dialect.PostgreSQLDialect net.sf.ehcache.hibernate.Provider update x y

[JBoss-user] [EJB/JBoss] - Re: Jboss 3.2.6 JNDI access from hibernate

2004-10-22 Thread beyarecords
Hi rimmeraj, I have ammend my code as follow but nothing is happening and I am not getting any errors!: User user = null; Transaction transaction = null; Session session = null; try { session = o

[JBoss-user] [EJB/JBoss] - Jboss 3.2.6 JNDI access from hibernate

2004-10-22 Thread beyarecords
Hi, I have just migrated from Apache/Tomact to Apache/Jboss 3.2.6 and now need to change my class files to take advantage of JNDI. I have declared my jndi: [SessionFactoryObjectFactory] Factory name: java:/HibernateFactory What I am not to clear about is how to now access a transaction via jn

[JBoss-user] [Installation & Configuration] - Re: No type mapping definition for postgreSQL in Jboss 3.2.6

2004-10-22 Thread beyarecords
Me thinks it time to increase the strength of my prescription spectacles! Thanks Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852310#3852310 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852310 --

[JBoss-user] [Installation & Configuration] - startup postgreSQL when JBoss is being launched

2004-10-21 Thread beyarecords
Hi, I am currently running JBoss 3.2.6 and wanted to know whether JBoss was clever enougn to be able to start postgresql as a tcp-ip service while being booted up? Is there a command I can specify in one of the available config files? If so what file do i need to amend and what is the command?

[JBoss-user] [Installation & Configuration] - Re: jboss 4 and PostgreSQL

2004-10-21 Thread beyarecords
Hi, the very issue you mention I had the same problem, still un-resolved yet, but here is a work around. The error is telling you that there is no datatype definition for psotgresql in the standardjbosscmp-jdbc.xml file, which there is not! Every other database but not postgresql. What I did is

[JBoss-user] [Persistence & CMP/JBoss] - Re: using hibernate in jboss-4.0.0

2004-10-21 Thread beyarecords
"berkgypsy" wrote : more changes to make this 4.0.0 compatible, and now it's working, for those interested: | | | | | | | | jboss.jca:service=LocalTxCM,name=TxOracleDS | | | | java:/HibernateFactory | | java:/TxOracleDS | | n

[JBoss-user] [Installation & Configuration] - No type mapping definition for postgreSQL in Jboss 3.2.6

2004-10-21 Thread beyarecords
Hi, I have just downloaded the the JBoss 3.2.6 and am in the process of hooking in postgreSQL 7.4.1 via jndi. After reading the document, 'Getting Started with JBoss', I proceeded to amend standjbosscmp-jdbc.xml and standardjaws.xml so as to use postgreSQL types but there is no definition for p