[jboss-user] [JBoss Getting Started Documentation] - Why can not access JBOSS web app?

2007-11-14 Thread Kentzhou
Download and install JBOSS 4.2.2 GA on windows 2003. The start the server with default. Then I can assess the web app at http://localhost:8080/ but I can not access the web app at http://myserver:8080/ from another computer. The network works fine. For example I can access IIS with http://myser

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to clean or refresh EJB cache?

2007-05-14 Thread Kentzhou
And my JBOSS AS is jboss 3.2.7 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045588#4045588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045588 ___ jboss-user mailing list

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to clean or refresh EJB cache?

2007-05-14 Thread Kentzhou
Change the data manually. same data could be changed by different apps at different time. EntityManager come out for EJB 3.0, but my application user EJB 1.1. Can you show me some demo code how to apply EntityManager for EJB 1.1? View the original post : http://www.jboss.com/index.html?mod

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to clean or refresh EJB cache?

2007-05-11 Thread Kentzhou
Hi, Thanks for reply. I think it is not related to Commit. I have tried your suggestion, but can't solve this issue. The problem is: when the Entity Bean is in JBOSS pool already(this is server side cache), next time if app needs the EJB, it will get from pool, but the data in database maybe

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to clean or refresh EJB cache?

2007-05-09 Thread Kentzhou
Hi, I have a Web application use EJB. UserAccount is a BMP Entity Bean. When user login into the system, web app will put this EJB in session through other session bean. When user log out, clean web session. Then change the user account info in database, then login again. The database changes

[jboss-user] [Beginners Corner] - Re: zip file errors when start JBOSS AS?

2007-01-31 Thread Kentzhou
The ear is a plain folder event not put into a compressed file. Like: myapp.ear mysite.war Foder1 Folder2 ... WEB-INF META-INF The file my.jsp is under folder mysite.war View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=400

[jboss-user] [Beginners Corner] - zip file errors when start JBOSS AS?

2007-01-29 Thread Kentzhou
When I start JBoss 3.2.7 with a web, application, it starts okay, but when it try to load ear file , I get the error as below. But there is no zip file in my whole application. What's the possible reason and how to solve it? 14:32:40,786 WARN [JARDeployer] Failed to add deployable jar: file:/C

[jboss-user] [Installation, Configuration & Deployment] - how to slove path for js file?

2007-01-29 Thread Kentzhou
Hi, I use isapi_redirect.dll to integrate IIS and JBOSS(tomcat). It works after some configuration. And the J2EE web application also works fine. The issue here is the application can not access all javascript file. All this files is put under root of web application. For example, in application

[jboss-user] [JBoss Eclipse IDE (users)] - Re: how to add a j2ee project to server for debugging when u

2007-01-26 Thread Kentzhou
Thanks for help. My project come from previous eclipse (3.1). When I start the server in debug mode in JBoss AS perspective(JBoss Server view). Then go the Java perspective and package the application into ear. Then right click on this ear, from popup menu Run As --> Run on Server, there is a

[jboss-user] [JBoss Eclipse IDE (users)] - how to add a j2ee project to server for debugging when using

2007-01-26 Thread Kentzhou
I try to debug my J2EE application on JBoss 3.2.7. My scenario is: I have J2ee project, for example, named as myPorj I created a Server called JBoss 3.2.7 under JBoss Inc -> JBoss AS 3.2. Then in the package explore, I have folders as below: myProj Servers JBoss 3.2.7 How can I add myProj t

[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to create JBOSS AS for dubug?

2007-01-26 Thread Kentzhou
Ok. Thanks for response. When I create new server, if I use the JBoss v3.2.3 under JBoss, then I can't set 3.2.7 home directory for it. So I try to use JBoss AS 3.2 under JBoss Inc, then I can create a server to use 3.2.7. View the original post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to create JBOSS AS for dubug?

2007-01-26 Thread Kentzhou
Ok. Thanks for response. When I create new server, if I use the JBoss v3.2.3 under JBoss, then I can't set 3.2.7 home directory for it. So I try to use JBoss AS 3.2 under JBoss Inc, then I can create a server to use 3.2.7. View the original post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to create JBOSS AS for dubug?

2007-01-25 Thread Kentzhou
Yes. But JBOSS IDE 1.5 includes all JBOSS AS for debugging as: JBoss 2.4.x JBoss 3.0.x JBoss 3.2.x JBoss 4.0.x Why there is no such items included for JBoss IDE 2.0? I want to to use JBoss 3.2.7 with IDE 2.0, How can do it? View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to create JBOSS AS for dubug?

2007-01-24 Thread Kentzhou
If open JBOSS IDE 2.0, then click on Debug, on the left list, only following item related to JBOSS: .. JBOSS AOP Application. .. There is no such JBOSS 3.2.3 or JBOSS 3.2.7 or JBOSS 4.0... If you click on NEW--> Server-->Server, then there is a New Server wizard window. In the list und

[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to create JBOSS AS for dubug?

2007-01-23 Thread Kentzhou
Hi, Thanks for suggestion. I downloaded JBOSS IDE 2.0 and open it. But there is no JBOSS AS when I open debug windows try to create JBOSS AS for debugging. Then I go to Server perspective, there is no JBOSS v3.2.7 in the server list. Only JBOSS 3.2.3 and 4.0 in the list. What I want to use i

[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to create JBOSS AS for dubug?

2007-01-22 Thread Kentzhou
You are right. It's SDK 3.2 with JBOSS IDE 1.6. If there are not compatible, what's the solution for my request? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004839#4004839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss Eclipse IDE (users)] - How to create JBOSS AS for dubug?

2007-01-19 Thread Kentzhou
Hi I dwonloaded Eclipse SDK 3.2 and updated it from JBOSS update site. Then I tried to create JBOSS AS for debugging. I clicked on Debug icon in toolbar. There is a Debug popup window for configuration. In the left list there is JBOSS 2.4x, JBOSS 3.0x, JBOSS 3.2x, JBOSS 4.0x, so right clicked on

[jboss-user] [Installation, Configuration & Deployment] - Re: How to read tomcat isapifilter log info and find out the

2007-01-16 Thread Kentzhou
Does anybody know how to solve this issue? Help Please. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002429#4002429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002429

[jboss-user] [JBoss Eclipse IDE (users)] - Syntax for JBOSS IDE

2007-01-12 Thread Kentzhou
I have an application. If its source code opened by Eclipse, everything is okay. But if its code opened by JBOSS IDE 1.5, I got syntax error for some jsp pages. For example, keyword INCLUDE should be changed to INCLUDES. Why? View the original post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [Installation, Configuration & Deployment] - How to read tomcat isapifilter log info and find out the pro

2007-01-12 Thread Kentzhou
I build a test application test.war under JBOSS deoply folder. Only one file test.jsp inside this test.war folder. Then I config IIS as: Create virtual directory to point at test.war set isapifilter for IIS and set registry items for it. this is okay. The file for this filter is: workers.proper

[jboss-user] [Installation, Configuration & Deployment] - How to intergate IIS and JBOSS?

2007-01-12 Thread Kentzhou
I use Tomcat isapifilter to config IIS and JBOSS. I get the guide from the forums and under the guider who succeeded to integrate IIS and JBOSS on his computer. But the same process doesn't work on my computer. When all has been done, I try to access this applicatin. In broswer, I get the error

[jboss-user] [JNDI/Naming/Network] - How to use JNDI names?

2007-01-03 Thread Kentzhou
The following code is used for finding out a datasource or ejb: InitialContext ic = new InitialContext(); datasource = (DataSource) ic.lookup(myJNDIName); Question is: in JBOSS, it convert ENC name to JNDI name in jboss-web.xml If my ENC for datasource is java:comp/env/jdbc/myDataSo

[jboss-user] [Security & JAAS/JBoss] - How to find out the problem when login doesn't work when usi

2006-12-26 Thread Kentzhou
hi, I try to config Jboss using sql server as security datasource. The datasource is okay when I test it. The file jboss-web.xml in war file as: java:/jaas/todo In file login-config.xml, I add following info: java:/MSSQLDS select

[jboss-user] [EJB/JBoss] - Re: Problem with Mysql for CMP

2006-12-25 Thread Kentzhou
Thanks for your reminder. I got the reason. It is because of port is set not correct. Thanks, Merry Christmas. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996196#3996196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [EJB/JBoss] - Problem with Mysql for CMP

2006-12-24 Thread Kentzhou
I use jboss default db hsqldb to run application with CMP, it is okay. But When I change the datasource to mysql, I got the errors as below. It seems can not connect to db. But I the user name and password set in file mysql-ds.xml are correct. Please help to identify the problem and to solve t

[jboss-user] [EJB/JBoss] - CMP EJB Issue when connect to SQL Server

2006-12-23 Thread Kentzhou
Hi, I run Todo example for CMP EJB from book JBOSS: A Developer notebook. I used SQL Server for this application. After config JBOSS AS, it is okay for JDBC, but when I start AS, I got the error as below. Pleas help to solve this issue: .. 2006-12-23 12:43:49,198 DEBUG [org.jboss.ejb.EjbMod

[jboss-user] [Installation, Configuration & Deployment] - Re: Install JBOSS 404 with SQL Server, starting with huge er

2006-12-14 Thread Kentzhou
Hi thanks for help. After download MS Sql server JDBC driver, I can connect to SQL Server. But When I start AS, I still get errors as below: . 10:05:52,304 WARN [ServiceController] Problem starting service jboss.mq.destination:service=Topic,name=testTopic org.jboss.mq.SpyJMSException:

[jboss-user] [Installation, Configuration & Deployment] - Install JBOSS 404 with SQL Server, starting with huge errors

2006-12-13 Thread Kentzhou
I followed Admin Guide to install JBOSS AS 4.0.4 using jems-installer-1.2.0.BETA2.jar. The is option to select database during the installation. I select mssql wit the correct config. When the installation finised, just start AS, I got so many errors. What's wrong with this installation? I c

[jboss-user] [EJB/JBoss] - EJB Errors

2006-11-22 Thread Kentzhou
I have a application with some BMP EJB. When I deoply this EJB, all EJB can't be loaded. For each EJB, JBOSS reported the errors as: Bound EJB Home 'TheSignOn' to jndi 'TheSignOn' Failed to load users/passwords/role files .. Could not restore ejb timers .. Invalid authentication attempt,

[jboss-user] [Beginners Corner] - How to change JBOSS connect to SQL Server?

2006-11-16 Thread Kentzhou
I want config JBOSS to use SQL Server for BMP EJB. What I did as below: Add following line in login-config.xml: sa sa supermalibu jboss.jca:service=LocalTxCM,name=EstoreDataSource Add following lines in standardjbosscmp-jdbc.xml: java:/EstoreDataSource

[jboss-user] [Beginners Corner] - How to use definition xml file?

2006-11-09 Thread Kentzhou
I have a web app and deployed to JBOSS server. There are some screens definition as: In file requestmappings.xml : In file screendefinitions.xml: myhome < parameter key="HtmlTitle" value="myhome" direct="true"/> < parameter key="HtmlBanner" value="/mydir/banner.jsp" direct="false"/> .. <

[jboss-user] [Beginners Corner] - How to solve EJB Spec violation ?

2006-08-29 Thread Kentzhou
I use JDK 1_4_03, JBOSS 4_0_4_GA to run JBOSS IDE tutorial. The EJB spec is 2.0. When I deploy this FiboApp.ear, got violation error. Where to find out the proper EJB spec and correct it? How can I know which spec should be used? 11:16:22,394 INFO [Server] Starting JBoss (MX MicroKernel)...

[jboss-user] [Beginners Corner] - Jboss-4.0.4.GA start problem with default server

2006-08-29 Thread Kentzhou
I can start JBOSS 4.0.4GA with default conf at firstly. But I can not start it again. I did not change anything related conf. My environment is XP with SP2, No windows firwwall. The start log as below: 10:59:30,816 INFO [Server] Starting JBoss (MX MicroKernel)... 10:59:30,832 INFO [Server]

[jboss-user] [Beginners Corner] - Re: JBossIDE-Tutorial problem.

2006-08-28 Thread Kentzhou
After deploying the app, the info as 18:20:14,687 INFO [EjbModule] Deploying Fibo 18:20:14,906 INFO [ProxyFactory] Bound EJB Home 'Fibo' to jndi 'ejb/Fibo' 18:20:14,906 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.4/server/all/tmp/deploy/tmp38102FiboApp.ear-contents/FiboEJB.jar 18:20:14,968

[jboss-user] [Beginners Corner] - Re: JBossIDE-Tutorial problem.

2006-08-28 Thread Kentzhou
After removing FiboEJB-client.jar form FiboWeb.war, I still got the error as below: 18:13:40,968 ERROR [[compute]] Allocate exception for servlet compute javax.servlet.ServletException: Lookup of java:/comp/env/ failed at myweb.web.computeServlet.init(computeServlet.java:57) at o

[jboss-user] [Beginners Corner] - What is the best version to run example in JBossIDE-Tutorial

2006-08-28 Thread Kentzhou
For JBossIDE-1.5.1.GA-Bundle-win32.zip ( Eclipse Version: 3.1.1), what the is best JBOSS and JDK to run JBossIDE-Tutorial? When I try this toturial, so many problems. When solve one, another come out. Most of them seems because of different verision of JDK and JBOSS and Eclipse when someone ans

[jboss-user] [Beginners Corner] - JBossIDE-Tutorial problem.

2006-08-26 Thread Kentzhou
I followed JBossIDE-Tutorial.pdf to create the fibo application. Everything is okay now. When I try to run this app, it is okay, index.html come out. But when I sibmit the form, it report error as : type Exception report message description The server encountered an internal error () that pre

[jboss-user] [Beginners Corner] - XDoclet error

2006-08-18 Thread Kentzhou
I did not change anything it is ok. After I try to deploy example fibo, then comback tu run XDoclet, I got the error as: Java.lang.UnsupportedClassVersionError: xjavadoc/ant/XJavadocTask (Unsupported major.minor version 49.0) What happened to JBossIDE-1.5.1.GA? (JDK 2sdk1.4.2_09, JBOSS jboss-4

[jboss-user] [Beginners Corner] - Warning: The file cannot be validated as there was a connect

2006-08-18 Thread Kentzhou
I got a lot of warning messages for all xml files under META-INF and WEB-INF: The file cannot be validated as there was a connection problem. for such as code http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd";> This codes are generated by XDoclet. How to solve this issue? Any affection for applica

[jboss-user] [Beginners Corner] - Re: Why JBOSS can't run it's simple example?

2006-08-18 Thread Kentzhou
additional info: the environment is: JDK j2sdk1.4.2_09 JBOSS jboss-4.0.4.GA IDE JBossIDE-1.5.1.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966146#3966146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966146 _

[jboss-user] [Beginners Corner] - Why JBOSS can't run it's simple example?

2006-08-18 Thread Kentzhou
I followed JBossIDE-Tutorial.pdf to create the fibo application. Everything is okay untill I finished the packaging. The I deployed the FiboApp.ear. No error. But when I access the application for browser as http://localhost:8080/fibo/, it gave me following info in page: Directory Listing For