[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Servlet update without JBoss restart

2006-04-25 Thread mglowacki
Hi

 Where and what should I set in bundled Tomcat 5.5.9 to avoid need of jboss 
restart when web app's servlet code has changed? I found some instructions for 
tomcat 5.5 (add attribute reloadable=true to context tag in context.xml) but 
it looks useless for 5.5.9 as tag  doesn't have attribute reloadable.

Thanks in advance,
Michael

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939296#3939296

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939296


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Servlet update without JBoss restart

2006-04-25 Thread mglowacki
I think you mistunderstood me. It's not the problem of web application. I began 
to use AJAX in my JSF project, so I need to create servlet's. And what my 
problem is, every time when I change something in my servlet class I need to 
restart jboss, because redeploying does nothing - ok, normal backing beans, 
jsp, javascript are updated, but not java classes that extend httpservlet 
class. I have read that servlet's are loaded into virtual machine memory so I 
need to know how to stop web app (in 'window' apps virtual machine is stopped 
when program ends, with web apps not). I'm using Java Studio Creator 2 and one 
person at Sun's forum gave me this hint: you have to find out how to stop web 
app in jboss, otherwise you will have to restart the whole server.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939359#3939359

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939359


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Application is using wrong login data for Postgres DB

2005-12-14 Thread mglowacki
Hi 

I want to connect to postgres in my stateless session, I have put 
postgres-ds.xml in deploy directory already, and I have following problem. I 
have username and password root in my postgres-ds.xml, and application is 
trying to connect with username postgres and no password and I get the error 
(from server log): 

[...] 
2005-12-13 00:52:32,531 DEBUG 
[org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using 
properties: {user=postgres, password=--hidden--} 
2005-12-13 00:52:32,546 WARN 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable 
while attempting to get a new connection: null 
org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (org.postgresql.util.PSQLException: Connection refused: 
FATAL: password authentication failed for user postgres.) 
[...] 

This error occurs in following line:

final String dbName = java:/PostgresDS;
try {
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup(dbName);
Connection conn = ds.getConnection(root,root);
}

and that's my postgres-ds.xml file (in server/default/deploy directory): 


local-tx-datasource 
!-- jboss:service=Postgres -- 
jndi-namePostgresDS/jndi-name 
connection-urljdbc:postgresql://localhost:5432/my_db/connection-url 
!-- driver-classorg.postgresql.Driver/driver-class -- 
driver-classorg.postgresql.jdbc3.Jdbc3PoolingDataSource/driver-class 
user-nameroot/user-name 
root 
security-domainPostgresDbRealm/security-domain 


type-mappingPostgreSQL 8.0/type-mapping 


/local-tx-datasource 




So I user-name from this file is not used, why? 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3912621#3912621

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912621


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Application is using wrong login data for Postgres DB

2005-12-14 Thread mglowacki
don't know why, but BB has cut password tags in postgres-ds.xml, but I have got 
them in file, so it's not the cause.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3912622#3912622

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912622


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - JBoss is not using data from my postgres-ds.xml

2005-12-12 Thread mglowacki
Hi

  I want to connect to postgres in my stateless session, I have put 
postgres-ds.xml in deploy directory already, and I have following problem. I 
have username and password root in my postgres-ds.xml, and application is 
trying to connect with username postgres and no password and I get the error 
(from server log):

[...]
2005-12-13 00:52:32,531 DEBUG 
[org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using 
properties: {user=postgres, password=--hidden--}
2005-12-13 00:52:32,546 WARN  
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable 
while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (org.postgresql.util.PSQLException: Connection refused: 
FATAL: password authentication failed for user postgres.)
[...]

and that's my postgres-ds.xml:


local-tx-datasource
!-- jboss:service=Postgres --
jndi-namePostgresDS/jndi-name
connection-urljdbc:postgresql://localhost:5432/my_db/connection-url
!-- driver-classorg.postgresql.Driver/driver-class --
driver-classorg.postgresql.jdbc3.Jdbc3PoolingDataSource/driver-class
user-nameroot/user-name
root
security-domainPostgresDbRealm/security-domain

  
 type-mappingPostgreSQL 8.0/type-mapping
  

/local-tx-datasource




So I believe that user-name from this file is not used, why?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3912232#3912232

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912232


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user