[JBoss-user] [JBoss Seam] - conversationId is missed in the URL

2006-07-07 Thread gfzhang
I modified the numberGuess sample to simulate the senario of a wizard, that is, click a button to display a new page, but the there is no conversationId parameter displayed in the new page's url. I add a button in the numberGuess form: | | when I click the Interval button, I am confused

[JBoss-user] [JBoss Seam] - Can Seam be configured to support JSP and Facelets in an ap

2006-07-06 Thread gfzhang
Hi, We are trying to port our web application to Seam. We want to use Facelets to newly developed pages and port the existed JSP pages to Facelets in the future. I replace javax.faces.DEFAULT_SUFFIX in context-param with facelets.VIEW_MAPPINGS: | | facelets.VIEW_MAPPINGS |

[JBoss-user] [JBoss Seam] - dvdstore and booking samples in 1.0.0 GA failed on JBoss 4.0

2006-06-14 Thread gfzhang
when I deploy dvdstore sample or creating a user account in booking sample, I got the following error message: | .. | Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke

[JBoss-user] [JBoss Portal] - Re: Error message

2006-06-13 Thread gfzhang
I install jboss-portal-2.4.0-BETA1 on JBoss 4.0.4 GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950785#3950785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950785 ___

[JBoss-user] [JBoss Portal] - Error message "Failed to setup client ENC" when setup portal

2006-06-13 Thread gfzhang
I am new to jboss portal. I copied jboss-portal.sar and portal-hsqldb-ds.xml to $JBOSS_HOME/server/default/deploy according to the instruction in http://docs.jboss.com/jbportal/v2.2/user-guide/en/html/installation.html. When I run Jboss, I got the following error message. I do not know what cau

[JBoss-user] [Security & JAAS/JBoss] - EJB client and its authentication by the client certificate?

2006-03-24 Thread gfzhang
I have read chap8 Security on JBoss in JBoss Admin Development Guide. About 8.7 Using SSL with JBoss using JSSE, I want to know how could I do if I require the client authentication in SSL, that is, like what we did by calling SSLSocket.setNeedClientAuth()). About JAAS and the EJB client authe

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - How to trace the SQL statements?

2006-03-22 Thread gfzhang
I want to know if there is any setting in *-ds.xml so that the SQL statements issued in the applicaton could be logged. The application uses JDBC API, and does not CMP or O/R mapping. The datasource is retrieved by JNDI. Thanks for your help very much. View the original post : http://www.jbos

[JBoss-user] [Installation, Configuration & Deployment] - Re: When will JBoss 4.0.4 be released

2005-12-28 Thread gfzhang
JBAS-2483, jboss.system:type=Server (exit|halt) 10 doesn't restart jboss We are using JBoss 3.2.5. We plan to base our application on JBoss 4 next release. thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914662#3914662 Reply to the post : http://

[JBoss-user] [Installation, Configuration & Deployment] - When will JBoss 4.0.4 be released

2005-12-13 Thread gfzhang
We need a feature that will be fixed in JBoss 4.0.4 final. When will it be released? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912531#3912531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912531

[JBoss-user] [Management, JMX/JBoss] - Re: How to restart JBoss server by MBean

2005-12-11 Thread gfzhang
I try it and It is what I look for. Can you tell me when JBoss 4.0.4 final will release? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912016#3912016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912016 --

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Http Session Timeout does not work properly

2005-12-08 Thread gfzhang
the following is the code to set the timeout of the HTTP session: public class HttpSessionLifeCycleListener implements HttpSessionListener { | | public void sessionCreated(HttpSessionEvent parm) { | | HttpSession session = parm.getSession() ; |

[JBoss-user] [Clustering/JBoss] - Is there any load balancer working in this way?

2005-12-06 Thread gfzhang
We solve a failover issue. Two JBoss server A and B. The load balancer(LB) always sends the request to A. When A crashed, LB sends all the requests to B (even if A is restarted again) until B crashed. Can mod_jk-1.2 be configured to work in this way? thanks. View the original post : http://

[JBoss-user] [Management, JMX/JBoss] - How to restart JBoss server by MBean

2005-12-04 Thread gfzhang
To solve an issue, I want to know if there is a way to restart JBoss programmically, fox example, in the web or some kind of application, to call some MBean operation to restart JBoss. I want to restart the JBoss, not want to redeploy the appliation, and not want to stop the JVM. It is urgent

[JBoss-user] [JBossCache] - When does JBossCache support JDK 5 annotation?

2005-12-01 Thread gfzhang
I want to know which version of JBossCacheAOP in the future will support JDK 5 annotation. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910181#3910181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910181

[JBoss-user] [JBossCache] - TreeCache.callRemoteMethods(): where is the target?

2005-11-28 Thread gfzhang
Hi, How to specify the target that the callRemoteMethods() will invoke onto? thanks guofeng View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909303#3909303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909303 -

[JBoss-user] [Management, JMX/JBoss] - Where can I download JBoss SNMP adapter source codes?

2005-11-08 Thread gfzhang
I want to browse JBoss SNMP adapter source codes, but I can not find them in the download package of Jboss 4.0.2-src. if it could be obtained from CVS, please tell me the module name and connection informaiton. Thanks for your help very much. Guofeng View the original post : http://www.jbo

[JBoss-user] [Installation, Configuration & Deployment] - Re: How to change the url to my application dynamically?

2005-10-25 Thread gfzhang
I do not know how to start with it, could you give me more advice? thank you. guofeng View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903388#3903388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903388

[JBoss-user] [Installation, Configuration & Deployment] - How to change the url to my application dynamically?

2005-10-24 Thread gfzhang
This is a J2EE application. You have to create a customer, then add some users underr this customer. You access the application by: http://host:port/app then input your login informtion including the customer name. Customers want to use the application in the following way:

[JBoss-user] [JBossWS] - Can J2EE application client access Web Services behind a fir

2005-09-20 Thread gfzhang
The WSRPCClient in the Wiki uses JNDI to lookup a web service, it uses the following statement to set up the context: | env.setProperty(Context.PROVIDER_URL, "jnp://host:1099"); | I wonder if the look up operation could success if the service is behind the firewall. H

[JBoss-user] [Installation, Configuration & Deployment] - Re: is there a utility to detect which process use a port?

2005-09-15 Thread gfzhang
It is Windows platform i download fport, it is what i need. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895057#3895057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895057 --

[JBoss-user] [Installation, Configuration & Deployment] - is there a utility to detect which process use a port?

2005-09-14 Thread gfzhang
Sometime the 1099/1098 port is used by some process. I want to know which process is using it. please tell me where to download the utilty Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894808#3894808 Reply to the post : http://www.jboss.com/inde

[JBoss-user] [Management, JMX/JBoss] - Re: How to get datasource configuration by using MBean?

2005-06-06 Thread gfzhang
>From jmx-console, I think I should use >"jboss.jca:service=ManagedConnectionFactory,name=myds" as the objectName, but >RMIAdaptor.getMBeanInfo() method cannot find it. What's wrong? Is it a correct >object name to use? Thanks for your help very much. View the original post : http://www.jbo

[JBoss-user] [Management, JMX/JBoss] - How to get datasource configuration by using MBean?

2005-06-02 Thread gfzhang
My application needs to retrieve the datasource inforamation configured in *-ds.xml files. I read a post long ago in the forums to describe how to do it. I can not find it now. Does anyone kindly tell me how to do it? (a sample code or a link is appreciated.) Thank you very much. View the

[JBoss-user] [JBossWS] - Re: Failed to deploy Java WSDP 1.5 web sevice on JBoss 3.2.5

2005-06-02 Thread gfzhang
Yes, you are right. After download Apache Axis, and deploy the jars in the web-inf/lib directory, my applicaion works fine. Thanks for your reply. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880075#3880075 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [JBossWS] - Failed to deploy Java WSDP 1.5 web sevice on JBoss 3.2.5

2005-05-30 Thread gfzhang
I develop a RPC web service based on Java WSDP 1.5, but when I access it, the server throws the following exception: com.sun.xml.rpc.server.http.JAXRPCServletDelegate doPost SEVERE: Couldn't create SOAP message factory due to exception: javax.xml.soap.SOAPException: Unable to create message fact

[JBoss-user] [Installation & Configuration] - Two NICs for redundancy,but JBoss only bind to one of them?

2005-04-29 Thread gfzhang
How to configure JBoss so that at any time if one NIC can not be accessible, I can accecss JBoss by using the IP address bound to by anotherr NIC? If only one NIC installed on the machine with two IPs configured, how to configure JBoss so that only one IP address can be used to access JBoss? t

[JBoss-user] [Installation & Configuration] - How to disable Hot deployment?

2005-03-14 Thread gfzhang
Our J2EE contains too many files. it might cause JBoss to take time to start up. I want to deply the application in unzipped form, and disable the hot deployment of JBoss. I think that in this way JBoss will not copy the files to a temporary place, so that our application will start up quickly.

[JBoss-user] [Installation & Configuration] - How to know a J2EE application or jboss has started up compl

2005-01-06 Thread gfzhang
The Jboss is installed as a NTservice by using Java Service Warpper. Our J2EE application takes some time to start up. A client application need to know the J2EE application or JBoss has started up completely so that it can start to use the sevices provided by the applicaiton. >From the log, I

[JBoss-user] [Installation & Configuration] - Telnet appender: how to set the login and password?

2004-12-24 Thread gfzhang
I want to limit Telnet appender so that only a specific user is allowed to connect to it. How to do it? how to set a user name and password in the appender? Thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859825#3859825 Reply to the pos

[JBoss-user] [Beginners Corner] - Re: maxProcessors & acceptCount parameters

2004-12-16 Thread gfzhang
How about the acceptCount parameter? if maxProcessors is 300, and acceptCount is 10, could the web application proecess 300 concurrent calls? Thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858842#3858842 Reply to the post : http://www.

[JBoss-user] [Installation & Configuration] - server.xml in jboss-tomcat50.sar: acceptCount: what does it

2004-12-14 Thread gfzhang
How can I set the value for acceptCount? what is the relationship between the 'maxThreads' and 'acceptCount'? thank you very much! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858460#3858460 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Installation & Configuration] - Re: How to custom HTTP Status 404 page

2004-12-13 Thread gfzhang
I think web.xml only affect a web application. How about the following case: http://host:port/invalidPage Thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858438#3858438 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [Installation & Configuration] - How to custom HTTP Status 404 page

2004-12-12 Thread gfzhang
I want to display a specific message on the 404 page, how to configure it? Thank you very much. guofeng View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858298#3858298 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858

[JBoss-user] [Installation & Configuration] - start up my application on jboss takes 8 minutes

2004-12-09 Thread gfzhang
the size of the EAR file is 130M, including five web applications. How to quickly start it up? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857983#3857983 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857983

[JBoss-user] [Installation & Configuration] - database connection in the connection pool is not enough

2004-11-10 Thread gfzhang
The database is MS SQL Server 2000. We simulate 100 users to access our thin-client J2EE application, but some operations failed because no database connection can be obtained from the connection pool. We find that we have to set anonymous wrote : max-pool-sizeto 800 to pass the test. It is ex

[JBoss-user] [HTTPD, Servlets & JSP] - Re: request.getSession() somtime return null

2004-10-14 Thread gfzhang
I also find that for a authenticated user, request.isUserInRole() somtime reutrn false. we use this feature to control the look and feel of our application. This issue make our application unstable to user. Is there any work-arround way to solve the issue? Thank you very much! View the origin

[JBoss-user] [HTTPD, Servlets & JSP] - request.getSession() somtime return null

2004-10-14 Thread gfzhang
I use JBoss 3.2.5. This issue also met in the early version of JBoss. How to solve it? Thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851408#3851408 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [HTTPD, Servlets & JSP] - How to configure the default context

2004-09-27 Thread gfzhang
I use JBoss 3.2.5 My web application now is accessed by http://host/myapp My customer want to access it by hpp://host How to? thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849684#3849684 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Session already invalidated exception

2004-09-27 Thread gfzhang
try HttpSessionBindingListener View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849679#3849679 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849679 --- This SF.Net em

[JBoss-user] [HTTPD, Servlets & JSP] - Want to support more concurrent accesses to JBoss, How to?

2004-08-26 Thread gfzhang
My web application is required to support more concurrent access, for example, 500. I find the following definition in server.xml: Is it OK if I only change the value of maxThreads? Thnak you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [HTTPD, Servlets & JSP] - Re: errorPage directive may be used incorrectly, How to?

2004-08-26 Thread gfzhang
I find the problem The tag embedded in template.jsp use pageContext.getOut().flush(); remove it will solve the problem, but the output is not correct in order. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846257#3846257 Reply to the post :

[JBoss-user] [HTTPD, Servlets & JSP] - errorPage directive may be used incorrectly, How to?

2004-08-23 Thread gfzhang
The structure of our web application following the structure of Sun's PetStore, that is: MainServlet-forward->template.jsp---include>abody.jsp---errorPage-->myexception.jsp abody.jsp use the errorPage directive to direct to an error page for error processing when a tag in abo

[JBoss-user] [Security & JAAS/JBoss] - Re: Customized Authecticator failed on JBoss 3.2.4

2004-06-17 Thread gfzhang
it is solved by modifying org/apache/catalina/startup/Authenticators.properties View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839173#3839173 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839173 -

[JBoss-user] [Security & JAAS/JBoss] - Re: Customized Authecticator failed on JBoss 3.2.4

2004-06-17 Thread gfzhang
the mbean definition n mbeans-descriptors.xml is missed in the above post. see the following: [JBoss-user] [Security & JAAS/JBoss] - Customized Authecticator failed on JBoss 3.2.4
I developed an authenticator for JBoss for Single-Sogn On by NTLM, I configure it in web.xml as: NTLM VCSRealm /wardress/main/sys/login /wardress/main/sys/loginerror It works well on JBoss 3.2.3, but now it fails on JBoss 3.2.4. In JBos

[JBoss-user] [Installation & Configuration] - Re: When will JBoss 4 be released for production environment

The jsp files are pre-compiled. I test our application on jdk1.5 beta2 and Jboss DR4. It work fine. no probelm found. By the way, wher to download Jboss 3.2.4? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837489#3837489 Reply to the post : http://www.jbos

[JBoss-user] [Installation & Configuration] - When will JBoss 4 be released for production environment

We need a JNDI function provided by J2se 1.5.0. we found that only JBoss 4.0 could run on J2se 1.5.0. We want to know when JBoss 4 could be released for production environment. By the way, do you know when J2se 1.5 will be released(not the beta). Thans for your information. View the original

[JBoss-user] [Security & JAAS/JBoss] - Re: request.getUserPrincipal returns null

It seems that the request.getUserPrincipal() will return non-null value only when you request the protected resource secured by in web.xml on JBoss even if the user sent the request has been authecticated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Security & JAAS/JBoss] - Re: Single Sign-ON, SPNEGO: How to?

Phantom, thanks. Your implementation works fine. I have integrated it by adding a Authenticator implementation into JBoss. Add this authenticator into Authenticators.properties, so that NTLM could be configured in web.xml. scott, see http://appliedcrypto.com/ for the SPNEGO's jav

[JBoss-user] [Security & JAAS/JBoss] - Single Sign-ON, SPNEGO: How to?

IE 6.0 support SPNEGO(Simple and Protected Negotiation). We are planning to integrate our thin-clinet J2EE application with MS Active Directory, so that the user will not need to sign in to acces our application after he/she sign in to his/her Windows workstation. My question: does Tomca

[JBoss-user] [Installation & Configuration] - Re: BUG?: JBoss class loader issue with multiple web applica

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820684#3820684 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820684 It works well, thanks all of you. --- The SF.Ne

[JBoss-user] [Installation & Configuration] - BUG?: JBoss class loader issue with multiple web application

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820266#3820266 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820266 We packaged two web applications in a J2EE application. We found that when we access a web applicati