由买买提看人间百态

topics

全部话题 - 话题: jetty
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
h*********e
发帖数: 247
1
来自主题: Java版 - jetty疑问
是这样的,我本来在试<> by David Winterfeldt中的例子,
svn co http://svn.springbyexample.org/enterprise/simple-spring-web-services/tags/1.1.2/ simple-spring-web-services
在命令行mvn clean install successfully,
但是在eclipse中,我运行junit tests 得到如下error,所以我就想先熟悉熟悉jetty,
我找到http://wiki.eclipse.org/Jetty/Tutorial/Jetty_and_Maven_HelloWorld
试了试Developing a Standard WebApp with Jetty and Maven, 我自己没有做任何改
动,就是想先走一遍文中的步骤,结果发现这个contextroot问题。
总结一下就是:
1. follow http://wiki.eclipse.org/Jetty/Tutorial/Jetty_and_M... 阅读全帖
h*********e
发帖数: 247
2
来自主题: Java版 - jetty疑问
I found the reason
the pom.xml had :


org.eclipse.jetty
jetty-server
${jettyVersion}




org.mortbay.jetty
jetty-maven-plugin
${jettyVersion}


/guoguoHello
... 阅读全帖
g**l
发帖数: 85
3
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:
确实没有其他地方用8080,
我再terminal在jetty的目录中用命令java -jar start.jar 启动jetty就能正常打开页面
但是在eclipse种的jetty用started启动(其实在eclipse中装jetty server的时候也问
过jetty server的目录) 跟terminal中一个目录,只不过又在eclipse中设置了一下,
就出现打开页面时的 404错误
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:
好像jetty的服务还是起来了
就是context路径或者目录没东西,
但是我不知道怎么配置修改
请教是什么原因
谢谢
g**l
发帖数: 85
4
确实没有其他地方用8080,
我再terminal在jetty的目录中用命令java -jar start.jar 启动jetty就能正常打开页面
但是在eclipse种的jetty用started启动(其实在eclipse中装jetty server的时候也问
过jetty server的目录) 跟terminal中一个目录,只不过又在eclipse中设置了一下,
就出现打开页面时的 404错误
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:
好像jetty的服务还是起来了
就是context路径或者目录没东西,
但是我不知道怎么配置修改
谢谢
l**********r
发帖数: 1865
5
来,再贴一遍,注意下面第二段如何将部分jetty定义为public pier:
1.88. Public Pier. A public pier is a publicly owned man-made structure that
has the following characteristics: is connected, above the mean high tide,
to the main coastline or to the landmass of a named and charted natural
island; has unrestricted free access for the general public; and has been
built or currently functions for the primary purpose of allowing angling
access to ocean waters.
Additionally, publicly owned jetties or breakwaters that are conn... 阅读全帖
J*******n
发帖数: 2901
6
一个web application, ui和逻辑层中间加了一层web service, 用的是Jersey
用Jersey Test Framework对web service做unit test, 采用的是server是Jetty
现在遇到的问题怎样把Jersey test project放到maven中。
这个Jersey test project在Eclipse里面是可以run的, 因为我可以在Run
Configuration里面对jetty以及一些相关的dependency设置auto-start = true, 这样
保证jetty率先跑起来
但是在maven里面, 虽然也有类似下面这样对于start level的支持


org.eclipse.equinox.http.jetty
4
... 阅读全帖
l**********r
发帖数: 1865
7
来自主题: Fishing版 - Long Beach Jetty怎么这样?
楼主去的是哪个jetty? 72nd street jetty?
如果是,理应是个halibut宝地,
你用的什么rig?介绍一下环境,我没去过那个jetty,是石头多还是海草多?
石头多比较烦,既挂坠,也挂钩,但是halibut理应爬在沙地上,所以挂石头,是后面收线的问题,应该像前面一帖讲的,提杆,快收;如果挂草,基本就是左右拽拽,然后暴力收线,我最近这样断了几次线,但是我线细,6lb...,所以在考虑换成braid;
试试dropshot,应该会有斩获,要有信心
不要怕jetty,那是有鱼的地方
l*t
发帖数: 10829
8
来自主题: Fishing版 - freeport surfside fishing jetty
It depends on the wind direction and which side (channel vs gulf) of each
jetty you like to fish. You need to pick one with the least wind resistance
against your casting.
Also in general, S-jetty is more crowded than Q-jetty.
b******y
发帖数: 9224
9
来自主题: Java版 - Jetty, Tomcat, JBoss comparison
I've used Jetty, Tomcat and Jboss.
Out of the three web app servers, I find that Jetty is the best because it
is fast and small footprint.
Tomcat is catching up and also pretty good.
JBoss is big/huge. In fact, Jboss uses tomcat/Jetty internally. I feel like
Jboss usage is in a downward trend. Any comments welcome.
r*****l
发帖数: 2859
10
来自主题: Java版 - jetty疑问
As I mentioned before: "As I mentioned before: "这些demo有些时候不是很严谨的
。你只可当做参考".
However, if you use this, it should work with Jetty version 7.2.0.v20101020.


org.mortbay.jetty
jetty-maven-plugin
${jettyVersion}


/hello-world


c******n
发帖数: 16403
11
来自主题: Fishing版 - 发现个超牛jetty,1 mile长
我没有上那个jetty, 只是在右边的短jetty上钓. 根本没有伸出那么远. 因为我当
时主要是开车去买龙虾螃蟹.
O******e
发帖数: 2834
12
中午买菜归来,小憩,网上查了查天气预报:
Galveston,wind 16, pressure 30.05, stormrain;
Freeport, calm, pressure 31.15, small rain;
好,没什么说的,去Freeport; (连哄带骗,顺带拉来了想去Galveston 螃蟹的朋友一家
;还有一对小夫妻,女的刚来探亲,就呆三月,也带他们玩玩。不过,也多亏带了他们
,不然,哼哼,待我后文表来)
6:30pm, 一行人匆忙赶到 Jetty, 扛鱼竿的扛鱼竿,提桶的提桶,直奔Jetty深处赶
去;(先到的朋友一家,走得不是很深,我决定再走远点);人多,不过还好,总算还
有点空位;
中国人的传统阿,先要招待客人,他们是新手,就给小夫妻俩一根杆子,我帮他们绑了
带浮漂的,钓棚 1.5m;(让他们在我左边)。 我自己,还是打底;老婆准备钓螃蟹,
可惜鸡腿还没化,在她的要求下,只好给她绑了浮游,在我右边钓。
哈哈,这下好了,经过多次钓鱼总结的两条“真理”,今天得到了完美的诠释:
1,“鱼”,都是好色的;专咬 PPMM的饵;
2, 新人手气旺,瞎猫都能碰到死耗子;
O******e
发帖数: 2834
13
哈哈,你好!
1, 除了这个礼拜,两周前也是这里;也钓到带鱼,但是没这次多,也没有这次的大;
印象中夏末是钓带鱼的季节。
时间,感觉太阳下山前后最好;我昨天就看到很多带鱼跃出水面; 基本排除下雨,因
为天气一点都不闷,好像是在水面吃小鱼;同样用虾,我沉底,基本不咬,换成浮游,
咬得很凶;哈哈;
再,jetty上,我朋友比较靠外钓,就是一些常见的小鱼,没有带鱼,不知道是不是靠
里更多; 不过他好像是打底。
2, 那边的水位高低,我还不是最熟悉; 不过我查过潮水,好像最近High Tide 在晚
上, low tide 在早上; 哈哈;
3,挂底,是 freeport jetty的一个顽疾,的确比较头痛;熟悉水情,地形,再就是用
浮漂,会好很多; 哈哈。
4, 钓棚,是我看国内矶钓时看来的术语,就是钩子到浮漂;1.5m,也是毛估估; 有
机会,我们在那里碰个头,见面交流下;
5,鱼钩大小,我一般是 2#,比较大;因为不太想要小鱼;再,有一种Round hook,是
不是你说的那种?
6,如果用浮漂,我都不太喜欢扔得太远,一是没力气,鱼竿也比较短;主要是高度近
视,远了看起来太费力。所以我最
c******n
发帖数: 16403
14
jetty不免鱼证, public pier免鱼证。 pier不是jetty
g*****g
发帖数: 34805
15
I have a program which is an email server, we want to embed a web console
and do configuration on the fly.
I can use an embeded jetty as web server. Now between email server and web
console, how can I do communication?
For example, I finish configuration in web console, new configuration data
available in database, how do I inform the the email server to pick up the
configuration?
MBean? Appreicate it if someone can tell me how to communite with
an embeded jetty.
g*****g
发帖数: 34805
16
我的问题是web server要作为client call background process,这个process是
一个email server,而不是反过来,这样基于web的各种协议都不行吧。
我能想到的只有RMI和JMX
如果基于jetty的话可以只用一个jvm,但是我不知道怎么local function call,
也许调用jetty的时候可以放一个参数进去?
好像是可以
Server jettyServer = new Server(jettyConfig);
jettyServer.setAttribute("hello", helloBean);
g*****g
发帖数: 34805
17
It's based on apache james and I do have most of the controls
I need. e.g. I can expose a configuration bean, the problem is
how to invoke it. I am seeking a same JVM solution, but I am
not familiar with jetty, I don't know how to make a bean
available for web app running in jetty container.
m******t
发帖数: 2416
18

I thought the whole point of you _embedding_ jetty
was to have it running in the same jvm as the email server.
So looks to me like you just need to wrap the email server
config api in mbeans, and deploy them into jetty, which just
needs to host a jmx console.
Another idea that might sound crazy but I think actually
would work is sending the config changes to the email
server in, well, emails. The sender can just digitally
sign the email for authentication. The email can further
have a special
b******y
发帖数: 9224
19
来自主题: Java版 - Jetty Web Server/Servlet Engine
Just want to know who have used the Jetty Web Server? It seems these days
tomcat is picking up a lot of steam.
What your take on the performance comparison between Jetty and tomcat?
b******y
发帖数: 9224
20
来自主题: Java版 - Jetty Web Server/Servlet Engine
I've used Jetty in the past, but, need to refresh my memory and learn the
new Jetty configuration stuff. Planning to pick it back up.
h*********e
发帖数: 247
21
来自主题: Java版 - jetty疑问
I am following http://wiki.eclipse.org/Jetty/Tutorial Jetty_and_Maven_HelloWorld Building and Running the Web Application
somehow http://localhost:8080/hello-world/hello does not work,
while http://localhost:8080/hello does!
why jetty ignores my contextroot? did I miss anything?
thank you
b*******f
发帖数: 3
22
拿来做嵌入其他应用的时的独立的server会非常便捷,
我之前一个项目需要提供php的执行环境,
但是安装apache会比较麻烦,所以嵌入一个jetty然后使用quercus来调用php,
支持跨平台免安装(java 必须)
i*****h
发帖数: 1534
23
Jetty performance比tomcat好
a****j
发帖数: 468
24
【 以下文字转载自 Fishing 讨论区 】
发信人: aaajjj (AJ), 信区: Fishing
标 题: 休斯顿最近有人去galveston的north jetty钓鱼吗
发信站: BBS 未名空间站 (Sat Jul 2 18:52:09 2011, 美东)
鱼情怎么样
海藻厉害么
打算最近去一趟
请最近去过的兄弟务必回一下
不想大老远空跑一趟
u******c
发帖数: 1077
25
我看了下,从岔路口走到sprial jetty的话,差不多1 mile, 有18分钟能步行过去,应
该没有suv也行。我就打算租辆小车,真要一起去的话,站内联系。
c*********k
发帖数: 20696
26
来自主题: Fishing版 - 发现个超牛jetty,1 mile长
galveston那有个jetty
在地图上看了看
似乎有4miles或者更长的样子...
a*o
发帖数: 19981
27
来自主题: Fishing版 - 发现个超牛jetty,1 mile长
哦那个河口是不是没桥?看来长的jetty大有前途啊!
a*****8
发帖数: 25
28
来自主题: Fishing版 - 发现个超牛jetty,1 mile长
Very uncommon from shore, but I caught a 22" fluke off a jetty last year in
Long Island.
e******7
发帖数: 175
29
每次看你的钓鱼报告不论收获如何,都可感受到一份快乐.多谢你能分享你的经验.钓点.
另请问Freeport Jetty(surfside)的亭子又重建了?(冬天烧了,BBQ的地方没有了.)
J********G
发帖数: 25
30
高人,能告诉我freeport jetty的大概位子吗?或者下次楼主去的时候,叫上我和我家
那位,带个路啊。还有,你用什么bait钓得带鱼啊。
O******e
发帖数: 2834
31
哈哈,多谢;
那边,就在停车场通向Jetty的草地上,有两个凉亭,每次去都是被老墨占据,一大家
子人,烧烤,爽得来;哈哈;
旁边还有几个秋千,适合小孩子玩;总的来说,很不错啊。

点.
O******e
发帖数: 2834
32
288 南; 转 332,到底右拐到底:
surfside beach; freeport Jetty; 很容易找。
虾,便宜的 Bait shrimp,死的。
O******e
发帖数: 2834
33
因为我一直去的是左边那个,停车非常方便;停车场过去就上Jetty;不过感觉人比右边
那个多很多;
没去过右边那个;不过一次刮西南风,挺大,我就希望我在右边那个上,顺风往中间河
里扔。哈哈
c******n
发帖数: 16403
34
来自主题: Fishing版 - Long Beach Jetty怎么这样?
不要去jetty, 除非你知道下面是沙地
l***7
发帖数: 112
35
来自主题: Fishing版 - Long Beach Jetty怎么这样?
在jetty上钓halibut是十分困难的
s****l
发帖数: 10462
36
33.087272,-117.311958
我唯一一次被渔警查证是在上面这里钓鱼
下面这个没有查过
33.091103,-117.302108
我的理解这两个都属于jetty,但是不知道为什么要查证,或者不属于免证的范围?
s****l
发帖数: 10462
37
我觉得也是,但是版上好几个人都说jetty不要证。真如此的话,明年我不买证了。
你昨天过来钓了没有?我五点多的时候拉起来的那条大的stingray(姑且这么叫吧)。
l**********r
发帖数: 1865
38
哈,google了你的这个jetty,还挺cute的,它不是保护harbor的,应该不算,
桥下不少鱼吧
d**l
发帖数: 133
39
来自主题: Fishing版 - freeport surfside fishing jetty
请问一下大家,freeport surfside fishing jetty有两条,那边比较好钓一点呢?南
边的还是北边的?谢谢!
L********t
发帖数: 1916
40
来自主题: Fishing版 - freeport surfside fishing jetty
7/28 星期六我钓了一条red fish,15磅,35英寸长.
在南面的jetty.
d*******s
发帖数: 528
41
额,陪友看装备,
看到这个:Lamiglas Surf & Jetty Spinning Rods
Dick's上有个评论说梦淘客木有问题。
http://www.dickssportinggoods.com/product/index.jsp?productId=1
不知老大们有啥评论不。
Lamiglas Surf King Spinning Rods呢?
http://www.dickssportinggoods.com/product/index.jsp?productId=1
Thanks.
b******y
发帖数: 9224
42
来自主题: 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
43

This is a good solution.
It doesn't seem possible to start jetty and james through a single JVM.
t*******e
发帖数: 684
44
来自主题: Java版 - Jetty Web Server/Servlet Engine
Jetty is mostly used for development purpose due to its small memory
footprint. It is skeptical that it is ever used in production environment.
k***r
发帖数: 4260
45
来自主题: Java版 - Jetty Web Server/Servlet Engine
I use jetty in production environment :) Fast, small and stable.
r*****l
发帖数: 2859
46
来自主题: Java版 - jetty疑问
By default就是这样了。建议你用ServletContextHandler map到不同的context root上面。我最近在用embedded jetty写RESTful,所以正好也遇到这个
问题。
public class OneServletContext
{
public static void main(String[] args) throws Exception
{
Server server = new Server(8080);
ServletContextHandler context = new ServletContextHandler(
ServletContextHandler.SESSIONS);
context.setContextPath("/");
server.setHandler(context);
context.addServlet(new ServletHolder(new HelloServlet()),"/*");
... 阅读全帖
g**l
发帖数: 85
47
http://localhost:8080就是显示这个结果
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:
好像jetty的服务还是起来了
就是context路径或者目录没东西,
但是我不知道怎么配置修改
t*******e
发帖数: 684
48
404code is returned by Jetty.
c*********e
发帖数: 16335
49
装jetty server的时候,有没有问过端口号码?

页面
p**e
发帖数: 335
50
来自主题: Fishing版 - 独立日空军
独立日,5点出发,到了停车场,只有寥寥几辆车。一个老黑兄弟正在整理装备。我绑
好竿子,直奔沙滩。沙滩上一个钓鱼人也没有,jetty上有几个。在沙滩上边钓边走,
里jetty越来越近,我忽然注意到jetty那里有一群鸟。怪不得jetty上的人都挤在jetty
的尽头。不淡定了,直奔jetty,挤了一个位子,只见一群鸟上下翻飞,啄食水面上的
bait。心说今天发达了,可是后来证明不是这么容易。鸟群时近时远,近的时候用
bucktail都可够到,可是就是没有咬钩。周围其他的人也没有咬钩,有两个人干脆就收
了竿在旁边看。一直到走的时候也没有咬钩。回到停车场,老黑兄弟也在收拾东西。他
说他在我的左边钓,看我奔鸟群去了,问我钓的怎么样。我如实相告。他示意我去他车
后看看,一条大的striper。啊哑哑。
奇怪的是有bait却没有鱼。这个时候不知道是什么bait,可能是sand eel。如果有bait
就还可能有鱼,下次再来。
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)