由买买提看人间百态

topics

全部话题 - 话题: standalone
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)
s*r
发帖数: 1903
1
help, friends:
I can start the tomcat as a standalone server and run the examples. For
simplicity, I just put my files in examples folder so that I do not need to
change server.xml and web.xml.
I can not compile the servlet, it alwasy says that the javax.servlet.* does
not exist. How can I deal with it? Thank you very very much.
d*g
发帖数: 66
2
I do not run google , but I run site with like a hundred concurrent
access. tomcat is bad at performance. The only thing I can say is
it just work, but not fast.
Here is why people do not use it as http server.(it is from tutorial, I
just paste it here without change)
Tomcat Standalone
Not as fast as Apache for static pages
Not as configurable as Apache
Not as robust as Apache
May not support functionality found only in Apache modules (e.g., Perl, PHP, security)
Mainly for development and debugg
e***g
发帖数: 158
3
来自主题: Java版 - how do you debug java applet?
java plug-in control panel, runtime parameters.
just like how you debug a standalone java app.
i never tried though, good old System.out suffice.
j****j
发帖数: 17
4
Has anyone ever thought about wrapping up eclipse, together with other
plugins and modifying the
logo and outlook and making it a standalone distribution ?
Just for fun ;)
u****s
发帖数: 2186
5
应该不会,但也难说,
前几天用JBoss的application server, it uses a different ClassLoader,
cannot dynamically load a class from a JAR file, throws
ClassCastException, but works finein a standalone application.
g******e
发帖数: 3760
6
来自主题: Java版 - Spring 工作机会好象不多啊!
What do you mean debug problem? Spring is just a stuff that put things
together. We used Spring for our standalone server and use log4j for logging
. They worked great together.

goo
Configura
z***h
发帖数: 405
7
thanks.
it works if standalone, won't work in application server.
c*****t
发帖数: 1879
8
Used to be called LiveConnect for firefox 1.x, but for 2.0, there
is a new API.
http://developer.mozilla.org/en/docs/Gecko_Plugin_API_Reference:Scripting_plugins
It only works for applets though.
For standalone app, you try monitor the clip board (not sure if there
is an event) and use JavaScript to copy text to clipboard (works for
IE, not sure about FireFox).

地址
显示
d********r
发帖数: 199
9
servlet是一直运行的。
它每周调用一次那个package进行计算,存下结果后进入idle状态,
就是啥事也不做。
(当然,负责在webpage的调用下,显示目前的状态 是idle或busy)
那个计算用的package里很多地方有一些static的变量,我只是不想去一个个的找出来
来把它们进行“手工初始化”。
因为本来这个package只是一个正常的standalone的application,
其中的main() 每run一次就正常退出了,所以不存在static变量初始化的问题。
我现在另外加了一个servlet来周期性的调用这个package,
就会产生未初始化的问题。
我只是想问有没有办法让这些package的全部class在run一次后从内存里消失,
就象从来没用过一样。
如果没有办法的话,我只好改code,在每次调用之前,手工对那些static变量初始化了。
g*****g
发帖数: 34805
10
In your case, you may want to start another VM to run the standalone.
Runtime.getRuntime().exec("java ....");
l*****b
发帖数: 82
11
Hi, all,
I encountered some "java.net.ConnectException: Connection refused: connect"
in the following situations:
1. Create about 350 requests to Tomcat server at the same time by sockets
2. Create about 200 requests to standalone Java ServerSocket at the same
time
It seems there is limitation of the max connections to server or
ServerSocket instance. Could you please advise me how many the max
connections are? And how to configure them in ServerSocket or Tomcat server?
Thank you in advance.
x**i
发帖数: 403
12
来自主题: Java版 - 问个java logger的问题
我使用 XML format的log file作为系统日志,append=true,只有一个log file.但每
次我重启系统,就会在原文件的尾巴上再加上一段format 的信息,



请问如何能在log file以存在的情况下,免除这段信息?
t*******e
发帖数: 684
13
来自主题: Java版 - JEE EJB Question
Injection through @EJB only works with app clients, typically deployed as a
client module in an ear. Standalone clients have to use JNDI to lookup EJBs.
b*******9
发帖数: 15
14
来自主题: Java版 - JEE EJB Question
Yes, I want to make standalone client to call remote ejb. How to modify it?
Do you have a good example?
Thanks.

a
EJBs.
l*****b
发帖数: 82
15
I am developing a JSF web application running on Jetty to handling about 70,
000 to 80,000 transactions simultaneously per day. I am headache how to
determine the hardwares, how many servers? standalone or VM? CPU, RAM, etc?
t*******e
发帖数: 684
16
好虫又来这个了,去年还是前年和他在这个话题讨论了很久。XML的发展很迅速,而且
也不依赖JAVA。
不要把XML仅仅看成一个protocol。SOA,BPM,Portal都严重依赖新的XML技术。大规模
企业开发
离开XML肯定不行。搞个standalone web app, 或着简单的SOAP接口是不用直接接触XML.
F****n
发帖数: 3271
17
来自主题: Java版 - GWT + Spring ?
No, it cannot. Web start applications still run standalone.
m*****k
发帖数: 731
18
来自主题: Java版 - How you guys debug applet?
No, applet communicates extensively with server, something not easy to mock
out. we do have some standalone for dev/debug purpose.
a*****p
发帖数: 1285
19
来自主题: Java版 - java web service 得迷惑
需要用soap 做一个实时看图的软件,java新手求教。。
用soap一定要用J2EE么??我们有这个软件得Java SE得版本,就想用soap做个链接,
然后做个client和server。很小得程
序,跟聊天软件差不多得实时功能。。这样得一定要用J2EE么??现在很迷惑。
还有Axis装哪个好??用standalone server得安装法还是用servlet container。
现在机子上只有tomcat。
q*********u
发帖数: 280
20
来自主题: Java版 - java web service 得迷惑
赞同restful,
如果是纯app,推荐standalone学习曲线直接,比较快,如果是webapp, servlet
container那是迟早的
不喜欢axis(2),太老

why soap..
k***s
发帖数: 277
21
现在在读一个系统的code,java写的。
请各位大拿推荐一个从java代码生成UML的工具,standalone或eclipse plugin都可以
;不需要太复杂的功能,大概能生成出来就可以,也不需要什么编辑功能,就是想用他
做个big picture, 大概的系统结构。细节当然还是要自己看代码的。
多谢了。
r***y
发帖数: 4379
22
来自主题: Java版 - VisualVM profiler,有朋友用过么
多谢好虫
自己用肯定是配置一下container就用standalone了.
但是做evaluation, ide integration 是其中的一项 factor, 所以列上了
r***y
发帖数: 4379
23
来自主题: Java版 - VisualVM profiler,有朋友用过么
多谢好虫
自己用肯定是配置一下container就用standalone了.
但是做evaluation, ide integration 是其中的一项 factor, 所以列上了
S****h
发帖数: 558
24
来自主题: 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.
m*****k
发帖数: 731
25
来自主题: Java版 - hadoop quickstart 疑问
我在试http://hadoop.apache.org/common/docs/r0.20.2/quickstart.html
我用的是win7 和 cygwin,
Standalone Operation
By default, Hadoop is configured to run in a non-distributed mode, as a
single Java process. This is useful for debugging.
The following example copies the unpacked conf directory to use as input and
then finds and displays every match of the given regular expression. Output
is written to the given output directory.
$ mkdir input
$ cp conf/*.xml input
在这一步
$ bin/hadoop jar hadoop-*-examples.ja... 阅读全帖
m*****k
发帖数: 731
26
来自主题: Java版 - hadoop quickstart 疑问
我在试http://hadoop.apache.org/common/docs/r0.20.2/quickstart.html
我用的是win7 和 cygwin,
Standalone Operation
By default, Hadoop is configured to run in a non-distributed mode, as a
single Java process. This is useful for debugging.
The following example copies the unpacked conf directory to use as input and
then finds and displays every match of the given regular expression. Output
is written to the given output directory.
$ mkdir input
$ cp conf/*.xml input
在这一步
$ bin/hadoop jar hadoop-*-examples.ja... 阅读全帖
t*******e
发帖数: 684
27
完全可以,特别是有integration要求的时候。
standalone和server side最大的区别在concurrency management. 桌面程序就一个人
用,如果要和server通信,server side就是多用户体系了。
g*****g
发帖数: 34805
28
来自主题: Java版 - 说说spring和ejb的差别
Regarding vendor lock-in. Spring has two advantages.
1. It's Apache license, so someone can branch it if there's no continued
support. Think of how Amazon takes on Google's Android code.
2. Spring is an embedded container, which makes it more flexible than
standalone ejb container. Say if Spring becomes legacy code and everybody is
using ejb, you can put that piece of legacy code in your ejb 10.0 container
. You can't do it the other way around. i.e. Spring has less dependency. It'
s like compar... 阅读全帖
b******d
发帖数: 794
29
来自主题: Java版 - 库存查询应该怎么做?
谢谢两位, 不知道这两个对付js,ajax之类的谁更好用点?
作为一个standalone app而不是一个test case呢?哪个更合适?
c*****e
发帖数: 3226
30
来自主题: Java版 - ECLLIPSE 做 GUI
现在还写desk standalone app, 太远古了。
看看这个开源的spped tracer, gwt写的,秒杀99%的desktop app.
https://developers.google.com/web-toolkit/speedtracer/speed-tracer-examples
g*****g
发帖数: 34805
31
来自主题: Java版 - 请教framework
JBoss is an ejb server. You can run war web app or ear ejb app in it.
Spring is more flexible and it doesn't require any special container.
Most applications run in a web app container like tomcat, but there are
standalones also.
Spring provides what ejb does without the need of an ejb server. Some
concepts are hard to explain. But it's easy once you go over a helloworld
project.
b***i
发帖数: 3043
32
最近折腾了一段时间,搞清楚了Spring JDBC。现在继续折腾JPA。求高手指点。
OpenShift上的Spring-quickstart架在jboss eap上,使用了h2,这是个内存中的数据库
,我想改为Mysql。Readme说,只要把persistene.xml里面的
java:jboss/datasources/ExampleDS
改成
java:jboss/datasources/MysqlDS
就行了。但是我试了不行,页面为the page was not found。我觉得,至少得把Mysql的
用户名密码什么的写了吧?我使用的是Eclipse,没有安装jboss,所以找不到
standalone.xml,也没有module.xml。相关的有一个文件spring-quickstart-ds.xml,
里面有
http://www.jboss.org/ironjacamar/schema"
... 阅读全帖
b***i
发帖数: 3043
33
居然搞定了,居然就是把字符串改了就行了.改数据库真这么简单啊。那个用户名和密码
用系统变量的形式在git里面的openshift里面standalone.xml中设置了。我一直没找到。
那个印度人的例子,我重启app,出现Exception也有新发现。重启后过了一段时间又好
了。我估计,重启后,是不是数据库的连接没有切断,重新连被拒了。

statement
b***i
发帖数: 3043
34
我加入了connection pool在standalone.xml里面, driver后面。
mysql

10
20
true

Push之后好用,但是重启后仍然Exception。过一段时间就好了,比如几个小时。
不知道下面这个加在哪里?网上说可以检查连接什么的。有用吗?
select 1
n****n
发帖数: 104
35
personal computing is very challenging area for x system. ubuntu stride a
good start. the most interesting idea is its live desktop, which also makes
it looks like a wrapper. not a standalone system. what we are expecting? it'
s one the two candidates that has potential to challenge windows share.
another one is vmware.
D***D
发帖数: 5321
l*****b
发帖数: 82
37
I am developing a JSF web application running on Jetty to handling about 70,000 to 80,000 transactions simultaneously per day. I am headache how to determine the hardwares, how many servers? standalone or VM? CPU, RAM, etc?
Could you give me some advice? Thank you.
N****w
发帖数: 21578
38
start with some cheap ones so you can get some idea,
and add load balance hardware when needed.

70,000 to 80,000 transactions simultaneously per day. I am headache how to
determine the hardwares, how many servers? standalone or VM? CPU, RAM, etc?
y****e
发帖数: 23939
39
来自主题: Linux版 - VMWare converter 问题
我下载的是VMware-converter-all-4.3.0-292238.exe,确实只能支持VI。
另外还试过一个Linux下的VMWare-converter-4.0.1-161434.tar.gz,也是同样。
那个destination type根本就不是可选项。
这个windows上的安装后显示就是“VMWare vCenter Converter Standalone”,
我也怀疑我用的版本不对。我下载安装的是免费版本。你说的那个是收费的吗?
花钱也没关系的,我可以花钱买。折腾了好久,非常frustrate。
非常感谢你的帮助。google里也查了很久,都不管用。VMware的高级用户还是太少啊。
o**n
发帖数: 1249
40
那个linux版的qq就一个standalone excutable,不需要安装,文件也不大,好像用起
来很方便阿。webqq垃圾太多,上国内网站又慢,每次都load很久,而且很奇怪,我经
常登录不上去,密码是正确的。
F*******i
发帖数: 190
41
来自主题: Linux版 - Google go 还挺不错的
that is true :)
The thing is sometime, want to do some computing with hybrid code (python+c+
+/c)
instead of in the standalone c extension(module) :(
N****w
发帖数: 21578
42
来自主题: Linux版 - sandy bridge and games
这有阿,不少呢
http://phoronix.com/forums/showthread.php?28092-Intel-Sandy-Bri
% sh x64_1024x768_windowed_tess_normal.sh
Xlib: extension "NV-GLX" missing on display ":0.0".
Loading "/u1/home/x/sandy/bench/Unigine_Heaven/bin/../data/heaven_2.
1.cfg"...
Engine::init(): clear video settings for "Mesa DRI Intel(R)
Sandybridge Desktop GEM 20100330 DEVELOPMENT 1.4 (2.1 Mesa 7.9)"
Loading "libGL.so.1"...
Loading "libopenal.so.1"...
Set 1024x768 windowe... 阅读全帖
r*****e
发帖数: 792
43
来自主题: Linux版 - mac下从terminal启动emacs
standalone window
if emacs -nw, it can be considered 'embedded' in terminal.
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)