由买买提看人间百态

topics

全部话题 - 话题: tomcats
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
T*****e
发帖数: 361
1
来自主题: Java版 - 笨问题续:TOMCAT
呵呵,那些设置好像都没有什么问题,tomcat启动运行也基本正常。在我提交了bug报告
之后,得到的回复是,tomcat5.5是为java5开发的,不能在j2se1.4.x下运行,除非是安
装一个package。不过tomcat5.5的文档中没有相关的信息,我当时并不知道。现在用5.0.
28,一切都好。
n*******d
发帖数: 4
2
折腾了二个星期了 :(
Tomcat 4.0 on Linux, trying to connect to MySQL
It can't find the data source I defined and throws this error:
javax.servlet.ServletException: Cannot create resource instance
I'm not sure if there's any security setting preventig this?
I can access MySQL using the following jsp code:
Class.forName("org.gjt.mm.mysql.Driver");
Connection dbcon = DriverManager.getConnection(loginUrl,
loginUser, loginPasswd);
Statement statement = dbcon.createSta
l******u
发帖数: 10
3
If you defined the JNDI name for the datasource on Tomcat platform, you don't
even need to declare a corresponding resource-ref in your web.xml file. Your
jndi lookup code should be able to locate the datasource directly.
c********m
发帖数: 16
4
来自主题: Java版 - Tomcat andJboss
Does tomcat implement EJB container? Or Jboss has to be installed to use EJB?
Can Jboss alone handle the webapps?
z***e
发帖数: 5393
5
来自主题: Java版 - Tomcat andJboss
tomcat is not a EJB container.
JBoss is.
There is another free OpenEJB, I haven't tried it yet.

EJB?
r*****l
发帖数: 2859
6
来自主题: Java版 - Tomcat andJboss
There is a Tomcat instance in Jboss installation.
z***e
发帖数: 5393
7
来自主题: Java版 - Tomcat用一阵之后就不行了?
汗死,总算找到问题了.
问题就是我每次lock computer(windows xp)之后,不知道就自动锁了端口还是怎么的,反
正就不响应了.



用,

log里面倒是有一个出现多次的error,说有一个class找不到,但是我从来没定义过那个cla
3D"http:


你是直接访问tomcat还是用apache转了一次?防火墙,apache都可能约束访问者的IP范
w*******w
发帖数: 18
8
来自主题: Java版 - 有没有人熟悉tomcat?急!
I re-installed and after starting apache tomcat 5.5. what i did is as before
http://localhost:8080, then it looks worse:The page cannot be displayed.
So what's the problem? Thanks a lot.


No
f********h
发帖数: 149
9
是不是tomcat用了自带的compiler
p***p
发帖数: 559
10
来自主题: Java版 - 编译Tomcat真是恶梦
自动从CVS下载编译,结果里面好几个服务器都有问题,只好手动搜索
谁有用Eclipse运行调试Tomcat源代码的经验请问?
p***p
发帖数: 559
11
It takes me 2 weeks time, class after class.
The Project manager must be a fan fo aircraft
Catalina is nickname of PBY 5, a famous amphibios plane
Tomcat is the nick of F14
Coyota is the nick of a submodel of P3 Orion
Apache is nick of AH64 Helicoper
c***c
发帖数: 6234
12
I installed Eclipse and Tomcat. I try to use XDoclet to generate Web.xml and
package the files. But I can not find it.
DO I have to use JBoss to do so?
Thanks a lot
T*****e
发帖数: 361
13
来自主题: Java版 - 问一个奇怪的tomcat+svg问题
一直在折腾……
发现:
1. tomcat/conf/web.xml中有svg mime type的重复定义,我删除了重复;
2. ff 1.5有内置的svg支持,我删除了adobe svg viewer plug-in for ff。
新的试验结果:
ie6 with adobe svg viewer:
- can display svg files from other websites
- can display svg files from localhost
- cannot display svg files from other sites in xhtml (localhost)
- cannot display svg files from localhost in xhtml (localhost)
ff 1.5 with native svg support:
- can properly display svg files from other websites
- cannot display svg files from localh
h*i
发帖数: 3446
14
来自主题: Java版 - SYSDEO tomcat的问题。
Try lauch tomcat from the directory where your myExe is located, or put that
directory into your OS path.
z****g
发帖数: 2497
15
来自主题: Java版 - SYSDEO tomcat的问题。
不应该是路径的问题吧。
我用sysdeo启动tomcat是没有问题, 只是用tomcat5w.exe启动, 就不行。
太奇怪了。
m******t
发帖数: 2416
16
来自主题: Java版 - SYSDEO tomcat的问题。
Looks like a OS path issue, too. I have a theory - just a theory - sysdeo
starts tomcat from within eclipse, so it inherits whatever envirionment
eclipse provides. On the other hand, tomcat5w.exe sets up a different
environment (e.g. without passing along all the OS environment variables).
b**l
发帖数: 25
17
Now I am deploying a web application on Solaris9. In the application, I have
to use a JVM Profiler.
I developped it on WindowsXP with Eclipse and Sysdeo plug-in. It is easy to
add -Xrun* JVM argument when starting Tomcat server on Windows with IDE. But
in Solaris, I have no idea how to add -Xrun to startup.sh file.
Any body know how to add -Xrun* JVM argument to startup.sh file?
Thanks!
b**l
发帖数: 25
18
Now I am trying to launch an external application in my web application, and
killing it by PID after a while. But when I execute Runtime.getRuntime.exec
() in my JSP page or Servlet, Tomcat is stuck in that page and do not
display anything. It seems that it will run forever. Is there any solution
to solve this problem?
BTW, I do not use System.exit() in my program. It may cause Security Manager
problem.
Thanks!
h*********o
发帖数: 62
19
来自主题: Java版 - server push & tomcat comet
I am a little surprised to see that even tomcat tries to implement server
push.
is it a trend to do it today? Comments?
h*********o
发帖数: 62
20
来自主题: Java版 - server push & tomcat comet
1. As I know server push has nothing to do with browsers. In most
implementations, either javascript or ajax is used.
2. HTTP protocol inversion is a mechanism for ajax push. If interested, you
can google it to find more explanation
The major issue for server push is scalability (of course there are some
other concerns). Even with java nio, things do not look promising.
As i said I am surprised to see there are many implementations now, even
tomcat tries it. I thought it might take a little lo
A**o
发帖数: 1550
21
来自主题: Java版 - Jetty, Tomcat, JBoss comparison
tomcat is not a complete j2ee container yet.
when you need the traditional ejb etc, you have to use jboss or other
application servers. what else can you do?

like
S*********t
发帖数: 78
22
来自主题: Java版 - Jetty, Tomcat, JBoss comparison
没错,tomcat 和 jboss 类型还是不一样的,不能一起来比较。
jboss 和 apache 的 geronimo 可以比较比较。
b******y
发帖数: 9224
23
来自主题: Java版 - Jetty, Tomcat, JBoss comparison
In our application, we haven't really used any EJB, so, that's why I am
thinking jboss is not that efficient compared to either tomcat or jetty.
t*******e
发帖数: 684
24
看看tomcat配置文件引用的是那个policy文件。
试试改JVM的policy文件
l****u
发帖数: 2166
25
来自主题: Java版 - Tomcat JSP syntax error
If i have a syntax error on my jsp, let's say, not in the script, but some
html tag. i.e. forget to close a tag.
How can i configure tomcat to give me the error stack on the page source?
right now, it gives me blank page...
-Bow
l****u
发帖数: 2166
26
来自主题: Java版 - Tomcat JSP syntax error
tomcat 5.5.2
i suspect it is configurable but donno how to do it..
A**o
发帖数: 1550
27
来自主题: Java版 - Tomcat JSP syntax error
i think tomcat will eat it and give user what you wrote...
g*****g
发帖数: 34805
28
来自主题: Java版 - Tomcat JSP syntax error
No, tomcat will ignore all html error.
l****u
发帖数: 2166
29
来自主题: Java版 - Tomcat JSP syntax error
right now, i have compiling error at tomcat server console
but the browser shows blank page....
l****u
发帖数: 2166
30
来自主题: Java版 - Tomcat JSP syntax error
o. Not about the fixing of the compilation.
We have group of site designers they only develops JSP pages but
knows little about java.
What they complain is that when they wrote JSP, they could not have any clue
where is the JSP is wrong, they want to see the error message on their
browser.
they have no clue about what is printed to the tomcat console...
e*******0
发帖数: 367
31
来自主题: Java版 - Tomcat JSP syntax error
Tomcat only print the JSP error. In order to print your own stack, you need
to catch that exception, store the message in the session.
When rendering the JSP page, check if message is null, if not, print it.
g*****g
发帖数: 34805
32
来自主题: Java版 - Tomcat JSP syntax error
That probably depends on your app server.
I use tomcat exclusively and jsp compilation error
is showed on web browser automatically.
l****u
发帖数: 2166
33
来自主题: Java版 - Tomcat JSP syntax error
yeah. we are using tomcat as well. i know it can be configured to do so
but i just could not figure out how....//sigh
m******t
发帖数: 2416
34
来自主题: Java版 - Tomcat JSP syntax error

I think in tomcat everything that blows up blows
all the way up to the browser window, and you'd
have to specifically configure it _not_ to do so.
I would start with the web.xml from your own app's
and see if there are any error pages declared.
l*****b
发帖数: 82
35
am testing the servlet application using tomcat and customized multithreded
test clients. I try the following different scenarios - synchronize or not
the servlet method. In client side, I generate 200 concurrent requests to
this servlet. There are quite different CPU usage in this scenarios: non-
synchronized one use much more CPU (almost 100%) than synchronized (as usual
). Could anyone advise me what's happened there and why has that different?
e.g.
public TestServlet .....{
public void doGet
k***r
发帖数: 4260
36
java service wrapper

Tomcat
b******y
发帖数: 1684
37
hahah, poor goodbug.
but I remember tomcat itself supports running as a service
d*******i
发帖数: 77
38
来自主题: Java版 - Tomcat Hot deployment
有没有人用过 Tomcat + Spring + Hibernate+ Hot Deployement
这些组合 存在Memory Leak, 讨论也充斥在网络, 貌似就没人又能解决, 所有的3rd
party code 都互相推卸责任。
linux 上我后来用一个小程序, 只有一个hibernate bean, 反复deploy 大约40次
server 就废了
windows 一次都不行, 因为hibernate.jar被锁住了。
i**e
发帖数: 6810
39
来自主题: Java版 - 有人在 Win7 上用 Tomcat 吗?
默认的8080口怎么也打不开,就好像没有开似的。但
netstat -noa 列出来java在8005和8080上听着呢。
8005的口是开着的,8080跟没开一样。没有其它process
listen在8080了。
同样的tomcat在XP上工作正常
w******o
发帖数: 32
40
来自主题: Java版 - tomcat连接mysql求助
自己顶,现在自己正在看tomcat的文档,上面有介绍。先试试再说。
l****3
发帖数: 8
41
来自主题: Java版 - tomcat连接mysql求助
what did you get if you access
http://localhost:8080/
did you get default tomcat welcome page?

5.
w******o
发帖数: 32
42
来自主题: Java版 - tomcat连接mysql求助
配置了半天还是
HTTP Status 404 - /myapps/index.jsp
type Status report
message /myapps/index.jsp
description The requested resource (/myapps/index.jsp) is not available.
Apache Tomcat/7.0.16
s******e
发帖数: 493
43
来自主题: Java版 - tomcat连接mysql求助
Check your deployment file structure. You should have some directory called
webapps/myapps in the tomcat root. And as myapps's direct child, you should
have index.jsp file. If you index.jsp is in myapps/WEB-INF, you will see the
error like this since you cannot access it from outside.
(actuallY once you fully understand how to deploy web app, you will know
that a url pattern can be forced to map any servlet/jsp inside WEB-INF) but
for a beginner I think that might be your problem.
S****h
发帖数: 558
44
来自主题: Java版 - 安装tomcat不成功
Is that JRE path? I think JRE is a subdirectory in JDK. Or you can use a
standalone JRE. Tomcat (after 5) itself does not need JDK per se.
c*********e
发帖数: 16335
45
现在都啥年代了,jboss都被glassfish取代了,还要我为了维护legacy code去用
tomcat, sigh
g*****g
发帖数: 34805
46
tomcat有啥问题?
z*******3
发帖数: 13709
47
glassfish不行,很难用,sun的东西从来都是如此
jboss的esb什么好用很多
虽然7之后也变得复杂起来,但是还是比较简单
tomcat也很容易用,文档也多,随便一找,到处都是
c*m
发帖数: 836
48
TOMCAT可是多少年来酒精考验的,最难得的是这么多年来体重控制的很好,不象很多软
件一样越来越臃肿,Glassfish 还差的远呢。
F*******X
发帖数: 143
49
我原来规划的学习计划是使用 Eclipse + Tomcat,感觉 Eclipse 轻巧好用。
后来看到2本书的作者都不约而同地介绍 Netbeans 在 Web application 方面有某些“
优势”,是怎样的优就没有祥说。后来决定把学习计划改了,我改成了用 Netbeans +
Glassfish。等以后有点进度再上来向同学们汇报。
报告完毕。
o***i
发帖数: 603
50
书本上或者教室里,都是betbeans+glassfish
但是到公司里基本就是eclipse + tomcat

+
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)