NullPointerException on jetty 7 startup with jetty deployment descriptorPassword protect app in jettyProxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18Check pid of GeoServer running with JettyHelp with Jetty crash logadding response header to Jetty config fileJetty interprets JETTY_ARGS as file nameEnable SSL with Jetty 8Configuring the jetty shipped with SolrDisable Connection:keep alive in Jetty 9Solr4 installation with Jetty
Bringing Food from Hometown for Out-of-Town Interview?
Make a formula to get the highest score
How do I truncate a csv file?
Explain Ant-Man's "not it" scene from Avengers: Endgame
If a problem only occurs randomly once in every N times on average, how many tests do I have to perform to be certain that it's now fixed?
Looking after a wayward brother in mother's will
What's the most polite way to tell a manager "shut up and let me work"?
What does the behaviour of water on the skin of an aircraft in flight tell us?
How can I offer a test ride while selling a bike?
Can you please explain this joke: "I'm going bananas is what I tell my bananas before I leave the house"?
What if you don't bring your credit card or debit for incidentals?
What are the problems in teaching guitar via Skype?
Modern approach to radio buttons
If a massive object like Jupiter flew past the Earth how close would it need to come to pull people off of the surface?
What people are called "кабан" and why?
Can a helicopter mask itself from Radar?
If Sweden was to magically float away, at what altitude would it be visible from the southern hemisphere?
What should I do about a religious player who refuses to accept the existence of multiple gods in D&D?
Are there regional foods in Westeros?
The most awesome army: 80 men left and 81 returned. Is it true?
What is a natural deduction proof from ~(A↔B) to ~(A→B)?
Asking for something with different prices
Applicants clearly not having the skills they advertise
Why is there a need to modify system call tables in Linux?
NullPointerException on jetty 7 startup with jetty deployment descriptor
Password protect app in jettyProxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18Check pid of GeoServer running with JettyHelp with Jetty crash logadding response header to Jetty config fileJetty interprets JETTY_ARGS as file nameEnable SSL with Jetty 8Configuring the jetty shipped with SolrDisable Connection:keep alive in Jetty 9Solr4 installation with Jetty
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm getting the following error when I start Jetty:
2010-03-01 12:30:19.328:WARN::Failed startup of context WebAppContext@15ddf5@15ddf5/webapp,null,/path/to/jetty-distribution-7.0.1.v20091125/webapps-plus/webapp.war
With this commandline:
java -jar start.jar OPTIONS=All lib=/path/to/jetty-distribution-7.0.1.v20091125/lib/ext etc/jetty.xml etc/jetty-plus.xml /path/to/webapp/src/configuration/test.xml
And test.xml contains:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/webapp</Set>
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps-plus/webapp.war</Set>
</Configure>
If I don't include test.xml on the commandline it works fine.
jetty
add a comment |
I'm getting the following error when I start Jetty:
2010-03-01 12:30:19.328:WARN::Failed startup of context WebAppContext@15ddf5@15ddf5/webapp,null,/path/to/jetty-distribution-7.0.1.v20091125/webapps-plus/webapp.war
With this commandline:
java -jar start.jar OPTIONS=All lib=/path/to/jetty-distribution-7.0.1.v20091125/lib/ext etc/jetty.xml etc/jetty-plus.xml /path/to/webapp/src/configuration/test.xml
And test.xml contains:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/webapp</Set>
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps-plus/webapp.war</Set>
</Configure>
If I don't include test.xml on the commandline it works fine.
jetty
add a comment |
I'm getting the following error when I start Jetty:
2010-03-01 12:30:19.328:WARN::Failed startup of context WebAppContext@15ddf5@15ddf5/webapp,null,/path/to/jetty-distribution-7.0.1.v20091125/webapps-plus/webapp.war
With this commandline:
java -jar start.jar OPTIONS=All lib=/path/to/jetty-distribution-7.0.1.v20091125/lib/ext etc/jetty.xml etc/jetty-plus.xml /path/to/webapp/src/configuration/test.xml
And test.xml contains:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/webapp</Set>
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps-plus/webapp.war</Set>
</Configure>
If I don't include test.xml on the commandline it works fine.
jetty
I'm getting the following error when I start Jetty:
2010-03-01 12:30:19.328:WARN::Failed startup of context WebAppContext@15ddf5@15ddf5/webapp,null,/path/to/jetty-distribution-7.0.1.v20091125/webapps-plus/webapp.war
With this commandline:
java -jar start.jar OPTIONS=All lib=/path/to/jetty-distribution-7.0.1.v20091125/lib/ext etc/jetty.xml etc/jetty-plus.xml /path/to/webapp/src/configuration/test.xml
And test.xml contains:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/webapp</Set>
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps-plus/webapp.war</Set>
</Configure>
If I don't include test.xml on the commandline it works fine.
jetty
jetty
asked Mar 1 '10 at 12:42
DraemonDraemon
407514
407514
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
my guess is, you have an additional slash. replace
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps-plus/webapp.war</Set>
with
<Set name="war"><SystemProperty name="jetty.home" default=".">/webapps-plus/webapp.war</Set>
1
That's not properly formed XML.
– Draemon
Mar 1 '10 at 14:46
sorry. thought it belonged to theSet
tag.
– Christian
Mar 1 '10 at 15:18
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f117829%2fnullpointerexception-on-jetty-7-startup-with-jetty-deployment-descriptor%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
my guess is, you have an additional slash. replace
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps-plus/webapp.war</Set>
with
<Set name="war"><SystemProperty name="jetty.home" default=".">/webapps-plus/webapp.war</Set>
1
That's not properly formed XML.
– Draemon
Mar 1 '10 at 14:46
sorry. thought it belonged to theSet
tag.
– Christian
Mar 1 '10 at 15:18
add a comment |
my guess is, you have an additional slash. replace
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps-plus/webapp.war</Set>
with
<Set name="war"><SystemProperty name="jetty.home" default=".">/webapps-plus/webapp.war</Set>
1
That's not properly formed XML.
– Draemon
Mar 1 '10 at 14:46
sorry. thought it belonged to theSet
tag.
– Christian
Mar 1 '10 at 15:18
add a comment |
my guess is, you have an additional slash. replace
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps-plus/webapp.war</Set>
with
<Set name="war"><SystemProperty name="jetty.home" default=".">/webapps-plus/webapp.war</Set>
my guess is, you have an additional slash. replace
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps-plus/webapp.war</Set>
with
<Set name="war"><SystemProperty name="jetty.home" default=".">/webapps-plus/webapp.war</Set>
answered Mar 1 '10 at 14:37
ChristianChristian
4,17211826
4,17211826
1
That's not properly formed XML.
– Draemon
Mar 1 '10 at 14:46
sorry. thought it belonged to theSet
tag.
– Christian
Mar 1 '10 at 15:18
add a comment |
1
That's not properly formed XML.
– Draemon
Mar 1 '10 at 14:46
sorry. thought it belonged to theSet
tag.
– Christian
Mar 1 '10 at 15:18
1
1
That's not properly formed XML.
– Draemon
Mar 1 '10 at 14:46
That's not properly formed XML.
– Draemon
Mar 1 '10 at 14:46
sorry. thought it belonged to the
Set
tag.– Christian
Mar 1 '10 at 15:18
sorry. thought it belonged to the
Set
tag.– Christian
Mar 1 '10 at 15:18
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f117829%2fnullpointerexception-on-jetty-7-startup-with-jetty-deployment-descriptor%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown