[JBoss jBPM] - Re: BPEL Installation Question
by jgreiner
Well trying to create the schema again. Unfortunately it gives me this error. I copied all the jars, and the hibernate.cfg.xml file into a directory and from there I run the java command. I am not up to speed with hibernate, so does anyone now why it does not find the cfg.xml file? I have tried to fully qualify the path as well.
java -cp hibernate3.jar;jbpm-jpdl.jar;jbpm-bpel.jar;commons-logging.jar;dom4j.jar;antlr-2.7.6.jar org.hibernate.tool.hbm2ddl.SchemaExport --config=hibernate.cfg.xml --create --quiet --output=jbpm-bpel.ddl --format
| Feb 12, 2007 9:54:28 AM org.hibernate.tool.hbm2ddl.SchemaExport main
| SEVERE: Error creating schema
| org.hibernate.HibernateException: hibernate.cfg.xml not found
| at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
| at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1329)
| at org.hibernate.cfg.Configuration.configure(Configuration.java:1351)
| at org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:366)
| org.hibernate.HibernateException: hibernate.cfg.xml not found
| at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
| at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1329)
| at org.hibernate.cfg.Configuration.configure(Configuration.java:1351)
| at org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:366)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015141#4015141
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015141
19Â years, 2Â months
[Clustering/JBoss] - Re: Clustering begginner..please HELP
by sreejava
hi,
i tried all the steps as explained in the given link.
performing that step by step i came across some doubts.
At the end of step #6 it says (in bold letters)
=======
(1) You should only set the connection_pool_size if the number of allowed connection to the Httpd is higher then maxThreads in server.xml
=======
The value of 'maxThreads' i could found as 250 in all/deploy/deploy/jbossweb-tomcat55.sar. But how to know the number of allowed connection to the Httpd.
Also just above this point in the same page it is given
======
Important: Please review http://tomcat.apache.org/connectors-doc/config/workers.html for the directive descriptions. Especially lookout for the comments on cachsize for Apache 1.3.x.
======
As it is given as important i tried clicking on the link.but was not working
While performing step#7 (Restart Apache)
the console poped up and says
========
httpd.exe:
Syntax error on
line 486 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf:
Syntax error on
line 3 of C:/Program Files/ApacheSoftware Foundation/Apache2.2/conf/mod-jk.conf: Cannot load C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so into server:
Access is denied.
Note the errors or messages above, and press the key to exit.
======= but i think i resolved it by putting a '#' at the specified line(436) of httpd.conf:
In Step #8 (Configure Tomcat)
It suggested to edit <mynode1>/deploy/jbossweb-tomcat50.sar/server.xmlserver.xml. in two locations
Should i do it for both the nodes?
I compleated all the above steps successfully (? - by keeping all the above doubts and resolving as i could). And when i tested as said in Step#10 (http://localhost/web-console), i got
Not Found
The requested URL /web-console was not found on this server.
But when i tried http://localhost
i got
It works!
So, where i lost the flow. Please find time to help me..
My Heartfelt thanks in advance.....
sree
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015128#4015128
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015128
19Â years, 2Â months
[Clustering/JBoss] - Re: Clustering begginner..please HELP
by sreejava
hi,
i tried all the steps as explained in the given link.
performing that step by step i came across some doubts.
At the end of step #6 it says (in bold letters)
=======
(1) You should only set the connection_pool_size if the number of allowed connection to the Httpd is higher then maxThreads in server.xml
=======
The value of 'maxThreads' i could found as 250 in all/deploy/deploy/jbossweb-tomcat55.sar. But how to know the number of allowed connection to the Httpd.
Also just above this point in the same page it is given
======
Important: Please review http://tomcat.apache.org/connectors-doc/config/workers.html for the directive descriptions. Especially lookout for the comments on cachsize for Apache 1.3.x.
======
As it is given as important i tried clicking on the link.but was not working
While performing step#7 (Restart Apache)
the console poped up and says
========
httpd.exe:
Syntax error on
line 486 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf:
Syntax error on
line 3 of C:/Program Files/ApacheSoftware Foundation/Apache2.2/conf/mod-jk.conf: Cannot load C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so into server:
Access is denied.
Note the errors or messages above, and press the key to exit.
======= but i think i resolved it by putting a '#' at the specified line(436) of httpd.conf:
In Step #8 (Configure Tomcat)
It suggested to edit <mynode1>/deploy/jbossweb-tomcat50.sar/server.xmlserver.xml. in two locations
Should i do it for both the nodes?
I compleated all the above steps successfully (? - by keeping all the above doubts and resolving as i could). And when i tested as said in Step#10 (http://localhost/web-console), i got
Not Found
The requested URL /web-console was not found on this server.
But when i tried http://localhost
i got
It works!
So, where i lost the flow. Please find time to help me..
My Heartfelt thanks in advance.....
sree
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015127#4015127
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015127
19Â years, 2Â months