Topic: jboss部署是碰到的问题

  Print this page

1.jboss部署是碰到的问题 Copy to clipboard
Posted by: jhlqab
Posted on: 2003-06-28 08:37

c:\jboss_tomcat\examples\build>ant InterestClient
Got context
javax.naming.NameNotFoundException: interest not bound
BUILD SUCCESSFUL

前面用ANT部署都正确的,提示BUILD SUCCESSFUL
也没有出错。
这是什么原因啊。
帮忙看一下,我用的是最新的版本jboss-4.0.0DR1_tomcat-4.1.24
,谢谢
用的例子是JBOSS自己网站上的documentation-example.zip

2.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: why
Posted on: 2003-06-28 12:20

Apparently the JAR for InterestClient can't be found.
Where is it located?
check [JBOSS_HOME]\server\default\conf\jboss-service.xml --> URLDirectoryScanner and modify accordingly. (I don't have JBoss here)

you may also need to add extra client JAR in the classpath.Smile

3.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: jhlqab
Posted on: 2003-06-28 16:23

要添加哪几个JAR文件?

4.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: why
Posted on: 2003-06-28 18:43

jhlqab wrote:
要添加哪几个JAR文件?

you can
1. add ALL of them;Smile
2. wait for the error message and then add accordingly;Wink
3. study the doc carefully and figure out what is the minimum requirement for a particular application.

5.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: jhlqab
Posted on: 2003-06-28 19:00

thank you
but I can find a little resource about jboss.
I study deploy jboss just now.

6.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: jhlqab
Posted on: 2003-07-01 08:17

c:\jboss_tomcat\examples\build>ant InterestClient
Got context
javax.naming.NameNotFoundException: interest not bound
BUILD SUCCESSFUL
还是有这个错误,我解决不了啊。全部的类我都放到CLASSPATH上去了。可还是不行。

7.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: why
Posted on: 2003-07-01 09:52

jhlqab wrote:
c:\jboss_tomcat\examples\build>ant InterestClient
Got context
javax.naming.NameNotFoundException: interest not bound
BUILD SUCCESSFUL
还是有这个错误,我解决不了啊。全部的类我都放到CLASSPATH上去了。可还是不行。

Adding client jars to the classpath isn't that important.

Have you checked the URL entry in [JBOSS_HOME]\server\default\conf\jboss-service.xml?
Where's your JAR for InterestClient?

8.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: ringayumi
Posted on: 2003-07-01 18:01

my problem with you same.....
I can't solve that .....

My Jboss is 3.2.1........but I change be 3.0.x than be OK!!
I still can't solve that on JBoss 3.2.1.................

9.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: why
Posted on: 2003-07-01 21:43

Which documentation-example.zip are you folks using?
I just grab it from JBoss site (size: 103,749). Are you folks using this? Have you modify anything?
This's quite old. Does JBoss have a newer version for 3.2.X?
I'll try if I could get a copy of 3.2.1 and 4.0DR1 (I guess I should wait for DR2, which is supposed to be out tomorrow) -- my connection is very sluggish Sad

I agree with struggle that 3.2.X要比3.0.X更为严格, the DTDs have a lot of c
hanges, too.

10.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: jhlqab
Posted on: 2003-07-02 08:29

I download from :
http://jboss.org/docs/manual/files/documentation-example.zip
size :101k
the build.xml has change a lot at classpath,
in the client the .jar file alse change a lot.
I don't know all the file what to do in the client directory

11.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: why
Posted on: 2003-07-02 08:46

jhlqab, since JBoss is so new to you, I believe that you shouldn't tried v.4.0.0DR1 which is a developer release for experienced JBoss developers. In fact, I've heard that jboss-4.0.0DR1_tomcat-4.1.24 (JBoss with Tomcat) doesn't work at all -- have to wait for fixes in DR2 (due out tomorrow, July 2)
I should have said this earlier, sorry.Sad

By the way, I'm frustrated that you never responded to my questions.
I asked you the following questions twice:
1. Have you checked the URL entry in [JBOSS_HOME]\server\default\conf\jboss-service.xml?
2. Where's your JAR for InterestClient? SadSad


ringayumi:
did you check whether *interest*whatever was in the managment view?

Thanks, nothing downstairs for correcting me.Smile

12.Re:jboss部署是碰到的问题 [Re: why] Copy to clipboard
Posted by: nothing
Posted on: 2003-07-02 09:03

http://localhost:8080/web-console

13.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: jhlqab
Posted on: 2003-07-02 12:36

sorry!
1、[JBOSS_HOME]\server\default\conf\jboss-service.xml] is correct
2、I search for *interest* ,the result is null.

14.Re:jboss部署是碰到的问题 [Re: jhlqab] Copy to clipboard
Posted by: why
Posted on: 2003-07-02 21:23

jhlqab wrote:
sorry!
1、[JBOSS_HOME]\server\default\conf\jboss-service.xml] is correct
2、I search for *interest* ,the result is null.

1. How do you know your jboss-service.xml is correct for this example?
2. Where did you search for the JAR file? If it's built successfully, it should be laying around somewhere -- you can tell it from the build.xml, can't you?


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923