Re: broken default web app - not found

2001-05-07 Thread Bill Winspur

Joey,
I had the same problem (basic understanding missing), but got around it and
did a howto (attached). Hope this helps. Like you I wanted to keep the jsp
examples. I repackaged them as a war file (not covered in the howto,
degrading the examples, to a 'normal' web-app. There were a few changes
required in the confiiguration - minor - making an href relative I think.
Good luck,
Bill.
- Original Message -
From: joey sark [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, May 02, 2001 4:56 PM
Subject: broken default web app - not found


 I managed to deploy a website/app but in so doing, broke the default
website
 with all the nice jsp examples. I would like to use that default app to
test
 and learn about jsp and plug modified versions into my app.

 now i get this error from orion:

 Error initializing site Default Orion WebSite: No application named
'default'
 found in the server

 how do i unbreak the default web app and keep it working alongside my
app -
 and KISS?

 thanks in advance.

 Joey,
 newbie in distress

 relevent config files:

 orion/config/server.xml:
 ...
 global-application name=pussycat path=application.xml /
 !-- global-application name=default path=application.xml /  can't
do
 this--
 global-web-app-config path=global-web-application.xml /
 web-site path=./pussycat-web-site.xml /
 web-site path=./default-web-site.xml /
 ...

 orion/config/application.xml:
 ...
 orion-application
 web-module id=pussycat path=../applications/pussycat /
 web-module id=defaultWebApp path=../applications/default-web-app /
 ...

 orion/config/default-web-site.xml:
 ...
 web-site host=[all] port=80 display-name=Default Orion WebSite
 default-web-app application=default name=defaultWebApp /
 /web-site


 orion/config/pussycat-web-site.xml:
 ...
 web-site host=[all] port=80 display-name=Pussycat Web Study
 virtual-hosts=localhost
 
 default-web-app application=pussycat name=pussycat /
 !-- default-web-app application=pussycat name=defaultWebApp / can't
do
 this--
 ...
 /web-site


 server.xml:
 ...
 application-server
 application-directory=../applications
 deployment-directory=../application-deployments
 
 ...
 global-application name=pussycat path=application.xml /
 !-- global-application name=default path=application.xml /  can't
do
 this--
 global-web-app-config path=global-web-application.xml /
 web-site path=./pussycat-web-site.xml /
 web-site path=./default-web-site.xml /
 ...


 end

 
 Get free email and a permanent address at http://www.netaddress.com/?N=1



 howto-welcome-app.zip


Re: broken default web app - not found

2001-05-04 Thread Johan Fredriksson

If you want I can send you a clean installation where I have set up two
applications. They are also configured for virtual hosting.

The only thing you need to get it up and running is some messing around with
hosts file ( under windows or winnt /system32/drivers/etc/ or /etc/ under
unix )

Mapping like appname.localhost 127.0.0.1

Only index.html is included in both apps.

Its a rar archive ~3.9Mb

Tell me if you'd like to look at it. I created it so I can use it whenever I
start a new project, and as a template for creating new apps.

Johan

- Original Message -
From: joey sark [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 03, 2001 5:02 PM
Subject: Re: broken default web app - not found


 Thanks Johan, Scott, and Tim

 I did try to reconcile and follow all of your advice; I did learn
something,
 but basically it's all gummed up now.

 what's missing here for me is:

 a fundamental understanding of the relationships between
 server, website, web app, web module,
  --and--
 global application, default web app

 ,what files these should be defined in, and where these file go.

 for expample, is the default web app just another app, or is it a special
 thing that must be there untampered-with.

 It's all pretty bewildering to a newbie, and nowhere on orion site do i
see a
 straightforward explanation/primer of the above. AFTER I grasp this, i'm
less
 likely to ask dumb config questions or make things worse.

 thanks to anyone who can point me in the right direction.

 j

 Johan Fredriksson [EMAIL PROTECTED] wrote:
  That is because your application.xml is not found. Should be
 
  C:\orion\applications\pussycat\META-INF\application.xml
 
 
  - Original Message -
  From: joey sark [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Thursday, May 03, 2001 7:21 AM
  Subject: Re: broken default web app - not found
 
 
   That did bring back the default Orion Web App, and as the default
  site/app
  
   my other app is dead now:
  
   Error instantiating application at
file:/C:/orion/applications/pussycat/:
   Unable to find/read assembly info for C:\orion\applications\pussycat
   (META-INF/application.xml)
   Error initializing site Pussycat Web Study: No application named
  'pussycat'
   found in the server
   Orion/1.4.5 initialized
  
   I guess the real trouble is that I'm not sure of the distinct meanings
   between
   server
   web site
   web appliction
   default web site
   default web appliction
   global...
  
   i have not found these defined on the orion site.
   j.
  
  
  
   Tim Endres [EMAIL PROTECTED] wrote:
In my server.xml file, I have the following line:
   
   global-application name=default path=application.xml /
   
Looks to me like you've replaced the default web-app with your own
   'pussycat'.
You application should be defined by a separate app line, such as:
   
   application name=pussycat path=/path/to/app/dir
  auto-start=true
   /
   
Note how the path is a path, not an xml file. It could also be your
EAR
   file
if you have deployed that way.
   
tim.
   
 I managed to deploy a website/app but in so doing, broke the
default
   website
 with all the nice jsp examples. I would like to use that default
app
  to
   test
 and learn about jsp and plug modified versions into my app.

 now i get this error from orion:

 Error initializing site Default Orion WebSite: No application
named
   'default'
 found in the server

 how do i unbreak the default web app and keep it working alongside
my
  app
   -
 and KISS?

 thanks in advance.

 Joey,
 newbie in distress

 relevent config files:

 orion/config/server.xml:
 ...
 global-application name=pussycat path=application.xml /
 !-- global-application name=default path=application.xml /
  can't
   do
 this--
 global-web-app-config path=global-web-application.xml /
 web-site path=./pussycat-web-site.xml /
 web-site path=./default-web-site.xml /
 ...

 orion/config/application.xml:
 ...
 orion-application
 web-module id=pussycat path=../applications/pussycat /
 web-module id=defaultWebApp
path=../applications/default-web-app
  /
 ...

 orion/config/default-web-site.xml:
 ...
 web-site host=[all] port=80 display-name=Default Orion
 WebSite
 default-web-app application=default name=defaultWebApp /
 /web-site


 orion/config/pussycat-web-site.xml:
 ...
 web-site host=[all] port=80 display-name=Pussycat Web Study
 virtual-hosts=localhost
 
 default-web-app application=pussycat name=pussycat /
 !-- default-web-app application=pussycat name=defaultWebApp
/
  can't
   do
 this--
 ...
 /web-site


 server.xml:
 ...
 application-server
 application-directory=../applications
 deployment-directory=../application-deployments

Re: broken default web app - not found

2001-05-03 Thread Johan Fredriksson

That is because your application.xml is not found. Should be

C:\orion\applications\pussycat\META-INF\application.xml


- Original Message -
From: joey sark [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 03, 2001 7:21 AM
Subject: Re: broken default web app - not found


 That did bring back the default Orion Web App, and as the default
site/app

 my other app is dead now:

 Error instantiating application at file:/C:/orion/applications/pussycat/:
 Unable to find/read assembly info for C:\orion\applications\pussycat
 (META-INF/application.xml)
 Error initializing site Pussycat Web Study: No application named
'pussycat'
 found in the server
 Orion/1.4.5 initialized

 I guess the real trouble is that I'm not sure of the distinct meanings
 between
 server
 web site
 web appliction
 default web site
 default web appliction
 global...

 i have not found these defined on the orion site.
 j.



 Tim Endres [EMAIL PROTECTED] wrote:
  In my server.xml file, I have the following line:
 
 global-application name=default path=application.xml /
 
  Looks to me like you've replaced the default web-app with your own
 'pussycat'.
  You application should be defined by a separate app line, such as:
 
 application name=pussycat path=/path/to/app/dir
auto-start=true
 /
 
  Note how the path is a path, not an xml file. It could also be your EAR
 file
  if you have deployed that way.
 
  tim.
 
   I managed to deploy a website/app but in so doing, broke the default
 website
   with all the nice jsp examples. I would like to use that default app
to
 test
   and learn about jsp and plug modified versions into my app.
  
   now i get this error from orion:
  
   Error initializing site Default Orion WebSite: No application named
 'default'
   found in the server
  
   how do i unbreak the default web app and keep it working alongside my
app
 -
   and KISS?
  
   thanks in advance.
  
   Joey,
   newbie in distress
  
   relevent config files:
  
   orion/config/server.xml:
   ...
   global-application name=pussycat path=application.xml /
   !-- global-application name=default path=application.xml /
can't
 do
   this--
   global-web-app-config path=global-web-application.xml /
   web-site path=./pussycat-web-site.xml /
   web-site path=./default-web-site.xml /
   ...
  
   orion/config/application.xml:
   ...
   orion-application
   web-module id=pussycat path=../applications/pussycat /
   web-module id=defaultWebApp path=../applications/default-web-app
/
   ...
  
   orion/config/default-web-site.xml:
   ...
   web-site host=[all] port=80 display-name=Default Orion WebSite
   default-web-app application=default name=defaultWebApp /
   /web-site
  
  
   orion/config/pussycat-web-site.xml:
   ...
   web-site host=[all] port=80 display-name=Pussycat Web Study
   virtual-hosts=localhost
   
   default-web-app application=pussycat name=pussycat /
   !-- default-web-app application=pussycat name=defaultWebApp /
can't
 do
   this--
   ...
   /web-site
  
  
   server.xml:
   ...
   application-server
   application-directory=../applications
   deployment-directory=../application-deployments
   
   ...
   global-application name=pussycat path=application.xml /
   !-- global-application name=default path=application.xml /
can't
 do
   this--
   global-web-app-config path=global-web-application.xml /
   web-site path=./pussycat-web-site.xml /
   web-site path=./default-web-site.xml /
   ...
  
  
   end
  
   
   Get free email and a permanent address at
http://www.netaddress.com/?N=1
  
 
 


 end

 
 Get free email and a permanent address at http://www.netaddress.com/?N=1





Re: broken default web app - not found

2001-05-03 Thread joey sark

Thanks Johan, Scott, and Tim

I did try to reconcile and follow all of your advice; I did learn something,
but basically it's all gummed up now.

what's missing here for me is:

a fundamental understanding of the relationships between
server, website, web app, web module, 
 --and-- 
global application, default web app

,what files these should be defined in, and where these file go.

for expample, is the default web app just another app, or is it a special
thing that must be there untampered-with.

It's all pretty bewildering to a newbie, and nowhere on orion site do i see a
straightforward explanation/primer of the above. AFTER I grasp this, i'm less
likely to ask dumb config questions or make things worse.

thanks to anyone who can point me in the right direction.

j

Johan Fredriksson [EMAIL PROTECTED] wrote:
 That is because your application.xml is not found. Should be
 
 C:\orion\applications\pussycat\META-INF\application.xml
 
 
 - Original Message -
 From: joey sark [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 03, 2001 7:21 AM
 Subject: Re: broken default web app - not found
 
 
  That did bring back the default Orion Web App, and as the default
 site/app
 
  my other app is dead now:
 
  Error instantiating application at file:/C:/orion/applications/pussycat/:
  Unable to find/read assembly info for C:\orion\applications\pussycat
  (META-INF/application.xml)
  Error initializing site Pussycat Web Study: No application named
 'pussycat'
  found in the server
  Orion/1.4.5 initialized
 
  I guess the real trouble is that I'm not sure of the distinct meanings
  between
  server
  web site
  web appliction
  default web site
  default web appliction
  global...
 
  i have not found these defined on the orion site.
  j.
 
 
 
  Tim Endres [EMAIL PROTECTED] wrote:
   In my server.xml file, I have the following line:
  
  global-application name=default path=application.xml /
  
   Looks to me like you've replaced the default web-app with your own
  'pussycat'.
   You application should be defined by a separate app line, such as:
  
  application name=pussycat path=/path/to/app/dir
 auto-start=true
  /
  
   Note how the path is a path, not an xml file. It could also be your EAR
  file
   if you have deployed that way.
  
   tim.
  
I managed to deploy a website/app but in so doing, broke the default
  website
with all the nice jsp examples. I would like to use that default app
 to
  test
and learn about jsp and plug modified versions into my app.
   
now i get this error from orion:
   
Error initializing site Default Orion WebSite: No application named
  'default'
found in the server
   
how do i unbreak the default web app and keep it working alongside my
 app
  -
and KISS?
   
thanks in advance.
   
Joey,
newbie in distress
   
relevent config files:
   
orion/config/server.xml:
...
global-application name=pussycat path=application.xml /
!-- global-application name=default path=application.xml /
 can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...
   
orion/config/application.xml:
...
orion-application
web-module id=pussycat path=../applications/pussycat /
web-module id=defaultWebApp path=../applications/default-web-app
 /
...
   
orion/config/default-web-site.xml:
...
web-site host=[all] port=80 display-name=Default Orion
WebSite
default-web-app application=default name=defaultWebApp /
/web-site
   
   
orion/config/pussycat-web-site.xml:
...
web-site host=[all] port=80 display-name=Pussycat Web Study
virtual-hosts=localhost

default-web-app application=pussycat name=pussycat /
!-- default-web-app application=pussycat name=defaultWebApp /
 can't
  do
this--
...
/web-site
   
   
server.xml:
...
application-server
application-directory=../applications
deployment-directory=../application-deployments

...
global-application name=pussycat path=application.xml /
!-- global-application name=default path=application.xml /
 can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...
   
   
end
   

Get free email and a permanent address at
 http://www.netaddress.com/?N=1
   
  
  
 
 
  end
 
  
  Get free email and a permanent address at http://www.netaddress.com/?N=1
 
 


end


Get free email and a permanent address at http://www.netaddress.com/?N=1




Re: broken default web app - not found

2001-05-03 Thread joey sark

Thanks Johan, Scott, and Tim

I did try to reconcile and follow all of your advice; I did learn something,
but basically it's all gummed up now.

what's missing here for me is:

a fundamental understanding of the relationships between
server, website, web app, web module, 
 --and-- 
global application, default web app

,what files these should be defined in, and where these file go.

for expample, is the default web app just another app, or is it a special
thing that must be there untampered-with.

It's all pretty bewildering to a newbie, and nowhere on orion site do i see a
straightforward explanation/primer of the above. AFTER I grasp this, i'm less
likely to ask dumb config questions or make things worse.

thanks to anyone who can point me in the right direction.

j

Johan Fredriksson [EMAIL PROTECTED] wrote:
 That is because your application.xml is not found. Should be
 
 C:\orion\applications\pussycat\META-INF\application.xml
 
 
 - Original Message -
 From: joey sark [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 03, 2001 7:21 AM
 Subject: Re: broken default web app - not found
 
 
  That did bring back the default Orion Web App, and as the default
 site/app
 
  my other app is dead now:
 
  Error instantiating application at file:/C:/orion/applications/pussycat/:
  Unable to find/read assembly info for C:\orion\applications\pussycat
  (META-INF/application.xml)
  Error initializing site Pussycat Web Study: No application named
 'pussycat'
  found in the server
  Orion/1.4.5 initialized
 
  I guess the real trouble is that I'm not sure of the distinct meanings
  between
  server
  web site
  web appliction
  default web site
  default web appliction
  global...
 
  i have not found these defined on the orion site.
  j.
 
 
 
  Tim Endres [EMAIL PROTECTED] wrote:
   In my server.xml file, I have the following line:
  
  global-application name=default path=application.xml /
  
   Looks to me like you've replaced the default web-app with your own
  'pussycat'.
   You application should be defined by a separate app line, such as:
  
  application name=pussycat path=/path/to/app/dir
 auto-start=true
  /
  
   Note how the path is a path, not an xml file. It could also be your EAR
  file
   if you have deployed that way.
  
   tim.
  
I managed to deploy a website/app but in so doing, broke the default
  website
with all the nice jsp examples. I would like to use that default app
 to
  test
and learn about jsp and plug modified versions into my app.
   
now i get this error from orion:
   
Error initializing site Default Orion WebSite: No application named
  'default'
found in the server
   
how do i unbreak the default web app and keep it working alongside my
 app
  -
and KISS?
   
thanks in advance.
   
Joey,
newbie in distress
   
relevent config files:
   
orion/config/server.xml:
...
global-application name=pussycat path=application.xml /
!-- global-application name=default path=application.xml /
 can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...
   
orion/config/application.xml:
...
orion-application
web-module id=pussycat path=../applications/pussycat /
web-module id=defaultWebApp path=../applications/default-web-app
 /
...
   
orion/config/default-web-site.xml:
...
web-site host=[all] port=80 display-name=Default Orion
WebSite
default-web-app application=default name=defaultWebApp /
/web-site
   
   
orion/config/pussycat-web-site.xml:
...
web-site host=[all] port=80 display-name=Pussycat Web Study
virtual-hosts=localhost

default-web-app application=pussycat name=pussycat /
!-- default-web-app application=pussycat name=defaultWebApp /
 can't
  do
this--
...
/web-site
   
   
server.xml:
...
application-server
application-directory=../applications
deployment-directory=../application-deployments

...
global-application name=pussycat path=application.xml /
!-- global-application name=default path=application.xml /
 can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...
   
   
end
   

Get free email and a permanent address at
 http://www.netaddress.com/?N=1
   
  
  
 
 
  end
 
  
  Get free email and a permanent address at http://www.netaddress.com/?N=1
 
 


end


Get free email and a permanent address at http://www.netaddress.com/?N=1




Re: broken default web app - not found

2001-05-03 Thread Tim Endres

Sounds to me like you have no META-INF/* for your application at the path
C:/orion/applications/pussycat, which you specified for your app? Where
is your META-INF setup?

 That did bring back the default Orion Web App, and as the default site/app 
 
 my other app is dead now:
 
 Error instantiating application at file:/C:/orion/applications/pussycat/:
 Unable to find/read assembly info for C:\orion\applications\pussycat
 (META-INF/application.xml)
 Error initializing site Pussycat Web Study: No application named 'pussycat'
 found in the server
 Orion/1.4.5 initialized
 
 I guess the real trouble is that I'm not sure of the distinct meanings
 between
 server
 web site
 web appliction
 default web site
 default web appliction
 global...
 
 i have not found these defined on the orion site.
 j.
 
 
 
 Tim Endres [EMAIL PROTECTED] wrote:
  In my server.xml file, I have the following line:
  
 global-application name=default path=application.xml / 
  
  Looks to me like you've replaced the default web-app with your own
 'pussycat'.
  You application should be defined by a separate app line, such as:
  
 application name=pussycat path=/path/to/app/dir auto-start=true
 /
  
  Note how the path is a path, not an xml file. It could also be your EAR
 file
  if you have deployed that way.
  
  tim.
  
   I managed to deploy a website/app but in so doing, broke the default
 website
   with all the nice jsp examples. I would like to use that default app to
 test
   and learn about jsp and plug modified versions into my app.
   
   now i get this error from orion:
   
   Error initializing site Default Orion WebSite: No application named
 'default'
   found in the server
   
   how do i unbreak the default web app and keep it working alongside my app
 -
   and KISS?
   
   thanks in advance.
   
   Joey,
   newbie in distress
   
   relevent config files:
   
   orion/config/server.xml:
   ...
   global-application name=pussycat path=application.xml /
   !--  global-application name=default path=application.xml /  can't
 do
   this--
   global-web-app-config path=global-web-application.xml /
   web-site path=./pussycat-web-site.xml /
   web-site path=./default-web-site.xml /
   ...
   
   orion/config/application.xml:
   ...
   orion-application
   web-module id=pussycat path=../applications/pussycat /
   web-module id=defaultWebApppath=../applications/default-web-app /
   ...
   
   orion/config/default-web-site.xml:
   ...
   web-site host=[all] port=80 display-name=Default Orion WebSite
 default-web-app application=default name=defaultWebApp / 
   /web-site
   
   
   orion/config/pussycat-web-site.xml:
   ...
   web-site host=[all] port=80 display-name=Pussycat Web Study 
   virtual-hosts=localhost
   
   default-web-app application=pussycat name=pussycat /
   !-- default-web-app application=pussycat name=defaultWebApp / can't
 do
   this--
   ...
   /web-site 
   
   
   server.xml:
   ...
   application-server
 application-directory=../applications
 deployment-directory=../application-deployments
   
   ...   
   global-application name=pussycat path=application.xml /
   !--  global-application name=default path=application.xml /  can't
 do
   this--
   global-web-app-config path=global-web-application.xml /
   web-site path=./pussycat-web-site.xml /
   web-site path=./default-web-site.xml /
   ...





Re: broken default web app - not found

2001-05-03 Thread joey sark

originally from the install the default-web-app had no 
META-INF/ 
directory nor a 
META-INF/application.xml
but there is one in config/

then when i replaced default with my app, i kept the same config. during a
trial of someone's advice, i did add 
applictions/pussycat/Web-inf (windows refuses to let me all-cap it)
but I did not see that it made any difference.
j


Tim Endres [EMAIL PROTECTED] wrote:
 Sounds to me like you have no META-INF/* for your application at the path
 C:/orion/applications/pussycat, which you specified for your app? Where
 is your META-INF setup?
 
  That did bring back the default Orion Web App, and as the default
site/app 
  
  my other app is dead now:
  
  Error instantiating application at file:/C:/orion/applications/pussycat/:
  Unable to find/read assembly info for C:\orion\applications\pussycat
  (META-INF/application.xml)
  Error initializing site Pussycat Web Study: No application named
'pussycat'
  found in the server
  Orion/1.4.5 initialized
  
  I guess the real trouble is that I'm not sure of the distinct meanings
  between
  server
  web site
  web appliction
  default web site
  default web appliction
  global...
  
  i have not found these defined on the orion site.
  j.
  
  
  
  Tim Endres [EMAIL PROTECTED] wrote:
   In my server.xml file, I have the following line:
   
  global-application name=default path=application.xml / 
   
   Looks to me like you've replaced the default web-app with your own
  'pussycat'.
   You application should be defined by a separate app line, such as:
   
  application name=pussycat path=/path/to/app/dir
auto-start=true
  /
   
   Note how the path is a path, not an xml file. It could also be your EAR
  file
   if you have deployed that way.
   
   tim.
   
I managed to deploy a website/app but in so doing, broke the default
  website
with all the nice jsp examples. I would like to use that default app
to
  test
and learn about jsp and plug modified versions into my app.

now i get this error from orion:

Error initializing site Default Orion WebSite: No application named
  'default'
found in the server

how do i unbreak the default web app and keep it working alongside my
app
  -
and KISS?

thanks in advance.

Joey,
newbie in distress

relevent config files:

orion/config/server.xml:
...
global-application name=pussycat path=application.xml /
!--global-application name=default path=application.xml / 
can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...

orion/config/application.xml:
...
orion-application
web-module id=pussycat   path=../applications/pussycat /
web-module id=defaultWebApp  path=../applications/default-web-app
/
...

orion/config/default-web-site.xml:
...
web-site host=[all] port=80 display-name=Default Orion
WebSite
default-web-app application=default name=defaultWebApp / 
/web-site


orion/config/pussycat-web-site.xml:
...
web-site host=[all] port=80 display-name=Pussycat Web Study 
virtual-hosts=localhost

default-web-app application=pussycat name=pussycat /
!-- default-web-app application=pussycat name=defaultWebApp /
can't
  do
this--
...
/web-site 


server.xml:
...
application-server
application-directory=../applications
deployment-directory=../application-deployments

... 
global-application name=pussycat path=application.xml /
!--global-application name=default path=application.xml / 
can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...
 
 


end


Get free email and a permanent address at http://www.netaddress.com/?N=1




Re: [Re: broken default web app - not found]

2001-05-03 Thread joey sark

I copied config/applictation.xml to
applications/pussycat/META-INF/

and changed 
web-module id=defaultWebApp path=../default-web-app /
to:
web-module id=pussycat path=../pussycat /
which yields:
Error instantiating application at file:/O:/applications/pussycat/: Unknown
assembly tag in file:/O:/applications/pussycat/: web-module



Tim Endres [EMAIL PROTECTED] wrote:
 Sounds to me like you have no META-INF/* for your application at the path
 C:/orion/applications/pussycat, which you specified for your app? Where
 is your META-INF setup?
 
  That did bring back the default Orion Web App, and as the default
site/app 
  
  my other app is dead now:
  
  Error instantiating application at file:/C:/orion/applications/pussycat/:
  Unable to find/read assembly info for C:\orion\applications\pussycat
  (META-INF/application.xml)
  Error initializing site Pussycat Web Study: No application named
'pussycat'
  found in the server
  Orion/1.4.5 initialized
  
  I guess the real trouble is that I'm not sure of the distinct meanings
  between
  server
  web site
  web appliction
  default web site
  default web appliction
  global...
  
  i have not found these defined on the orion site.
  j.
  
  
  
  Tim Endres [EMAIL PROTECTED] wrote:
   In my server.xml file, I have the following line:
   
  global-application name=default path=application.xml / 
   
   Looks to me like you've replaced the default web-app with your own
  'pussycat'.
   You application should be defined by a separate app line, such as:
   
  application name=pussycat path=/path/to/app/dir
auto-start=true
  /
   
   Note how the path is a path, not an xml file. It could also be your EAR
  file
   if you have deployed that way.
   
   tim.
   
I managed to deploy a website/app but in so doing, broke the default
  website
with all the nice jsp examples. I would like to use that default app
to
  test
and learn about jsp and plug modified versions into my app.

now i get this error from orion:

Error initializing site Default Orion WebSite: No application named
  'default'
found in the server

how do i unbreak the default web app and keep it working alongside my
app
  -
and KISS?

thanks in advance.

Joey,
newbie in distress

relevent config files:

orion/config/server.xml:
...
global-application name=pussycat path=application.xml /
!--global-application name=default path=application.xml / 
can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...

orion/config/application.xml:
...
orion-application
web-module id=pussycat   path=../applications/pussycat /
web-module id=defaultWebApp  path=../applications/default-web-app
/
...

orion/config/default-web-site.xml:
...
web-site host=[all] port=80 display-name=Default Orion
WebSite
default-web-app application=default name=defaultWebApp / 
/web-site


orion/config/pussycat-web-site.xml:
...
web-site host=[all] port=80 display-name=Pussycat Web Study 
virtual-hosts=localhost

default-web-app application=pussycat name=pussycat /
!-- default-web-app application=pussycat name=defaultWebApp /
can't
  do
this--
...
/web-site 


server.xml:
...
application-server
application-directory=../applications
deployment-directory=../application-deployments

... 
global-application name=pussycat path=application.xml /
!--global-application name=default path=application.xml / 
can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...
 
 


end


Get free email and a permanent address at http://www.netaddress.com/?N=1




Re: broken default web app - not found

2001-05-03 Thread joey sark

I copied config/applictation.xml to
applications/pussycat/META-INF/

and changed 
web-module id=defaultWebApp path=../default-web-app /
to:
web-module id=pussycat path=../pussycat /
which yields:
Error instantiating application at file:/O:/applications/pussycat/: Unknown
assembly tag in file:/O:/applications/pussycat/: web-module



Tim Endres [EMAIL PROTECTED] wrote:
 Sounds to me like you have no META-INF/* for your application at the path
 C:/orion/applications/pussycat, which you specified for your app? Where
 is your META-INF setup?
 
  That did bring back the default Orion Web App, and as the default
site/app 
  
  my other app is dead now:
  
  Error instantiating application at file:/C:/orion/applications/pussycat/:
  Unable to find/read assembly info for C:\orion\applications\pussycat
  (META-INF/application.xml)
  Error initializing site Pussycat Web Study: No application named
'pussycat'
  found in the server
  Orion/1.4.5 initialized
  
  I guess the real trouble is that I'm not sure of the distinct meanings
  between
  server
  web site
  web appliction
  default web site
  default web appliction
  global...
  
  i have not found these defined on the orion site.
  j.
  
  
  
  Tim Endres [EMAIL PROTECTED] wrote:
   In my server.xml file, I have the following line:
   
  global-application name=default path=application.xml / 
   
   Looks to me like you've replaced the default web-app with your own
  'pussycat'.
   You application should be defined by a separate app line, such as:
   
  application name=pussycat path=/path/to/app/dir
auto-start=true
  /
   
   Note how the path is a path, not an xml file. It could also be your EAR
  file
   if you have deployed that way.
   
   tim.
   
I managed to deploy a website/app but in so doing, broke the default
  website
with all the nice jsp examples. I would like to use that default app
to
  test
and learn about jsp and plug modified versions into my app.

now i get this error from orion:

Error initializing site Default Orion WebSite: No application named
  'default'
found in the server

how do i unbreak the default web app and keep it working alongside my
app
  -
and KISS?

thanks in advance.

Joey,
newbie in distress

relevent config files:

orion/config/server.xml:
...
global-application name=pussycat path=application.xml /
!--global-application name=default path=application.xml / 
can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...

orion/config/application.xml:
...
orion-application
web-module id=pussycat   path=../applications/pussycat /
web-module id=defaultWebApp  path=../applications/default-web-app
/
...

orion/config/default-web-site.xml:
...
web-site host=[all] port=80 display-name=Default Orion
WebSite
default-web-app application=default name=defaultWebApp / 
/web-site


orion/config/pussycat-web-site.xml:
...
web-site host=[all] port=80 display-name=Pussycat Web Study 
virtual-hosts=localhost

default-web-app application=pussycat name=pussycat /
!-- default-web-app application=pussycat name=defaultWebApp /
can't
  do
this--
...
/web-site 


server.xml:
...
application-server
application-directory=../applications
deployment-directory=../application-deployments

... 
global-application name=pussycat path=application.xml /
!--global-application name=default path=application.xml / 
can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...
 
 


end


Get free email and a permanent address at http://www.netaddress.com/?N=1




Re: broken default web app - not found

2001-05-03 Thread joey sark

I copied config/applictation.xml to
applications/pussycat/META-INF/

and changed 
web-module id=defaultWebApp path=../default-web-app /
to:
web-module id=pussycat path=../pussycat /
which yields:
Error instantiating application at file:/O:/applications/pussycat/: Unknown
assembly tag in file:/O:/applications/pussycat/: web-module



Tim Endres [EMAIL PROTECTED] wrote:
 Sounds to me like you have no META-INF/* for your application at the path
 C:/orion/applications/pussycat, which you specified for your app? Where
 is your META-INF setup?
 
  That did bring back the default Orion Web App, and as the default
site/app 
  
  my other app is dead now:
  
  Error instantiating application at file:/C:/orion/applications/pussycat/:
  Unable to find/read assembly info for C:\orion\applications\pussycat
  (META-INF/application.xml)
  Error initializing site Pussycat Web Study: No application named
'pussycat'
  found in the server
  Orion/1.4.5 initialized
  
  I guess the real trouble is that I'm not sure of the distinct meanings
  between
  server
  web site
  web appliction
  default web site
  default web appliction
  global...
  
  i have not found these defined on the orion site.
  j.
  
  
  
  Tim Endres [EMAIL PROTECTED] wrote:
   In my server.xml file, I have the following line:
   
  global-application name=default path=application.xml / 
   
   Looks to me like you've replaced the default web-app with your own
  'pussycat'.
   You application should be defined by a separate app line, such as:
   
  application name=pussycat path=/path/to/app/dir
auto-start=true
  /
   
   Note how the path is a path, not an xml file. It could also be your EAR
  file
   if you have deployed that way.
   
   tim.
   
I managed to deploy a website/app but in so doing, broke the default
  website
with all the nice jsp examples. I would like to use that default app
to
  test
and learn about jsp and plug modified versions into my app.

now i get this error from orion:

Error initializing site Default Orion WebSite: No application named
  'default'
found in the server

how do i unbreak the default web app and keep it working alongside my
app
  -
and KISS?

thanks in advance.

Joey,
newbie in distress

relevent config files:

orion/config/server.xml:
...
global-application name=pussycat path=application.xml /
!--global-application name=default path=application.xml / 
can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...

orion/config/application.xml:
...
orion-application
web-module id=pussycat   path=../applications/pussycat /
web-module id=defaultWebApp  path=../applications/default-web-app
/
...

orion/config/default-web-site.xml:
...
web-site host=[all] port=80 display-name=Default Orion
WebSite
default-web-app application=default name=defaultWebApp / 
/web-site


orion/config/pussycat-web-site.xml:
...
web-site host=[all] port=80 display-name=Pussycat Web Study 
virtual-hosts=localhost

default-web-app application=pussycat name=pussycat /
!-- default-web-app application=pussycat name=defaultWebApp /
can't
  do
this--
...
/web-site 


server.xml:
...
application-server
application-directory=../applications
deployment-directory=../application-deployments

... 
global-application name=pussycat path=application.xml /
!--global-application name=default path=application.xml / 
can't
  do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...
 
 


end


Get free email and a permanent address at http://www.netaddress.com/?N=1




Re: broken default web app - not found

2001-05-02 Thread Tim Endres

In my server.xml file, I have the following line:

   global-application name=default path=application.xml / 

Looks to me like you've replaced the default web-app with your own 'pussycat'.
You application should be defined by a separate app line, such as:

   application name=pussycat path=/path/to/app/dir auto-start=true /

Note how the path is a path, not an xml file. It could also be your EAR file
if you have deployed that way.

tim.

 I managed to deploy a website/app but in so doing, broke the default website
 with all the nice jsp examples. I would like to use that default app to test
 and learn about jsp and plug modified versions into my app.
 
 now i get this error from orion:
 
 Error initializing site Default Orion WebSite: No application named 'default'
 found in the server
 
 how do i unbreak the default web app and keep it working alongside my app -
 and KISS?
 
 thanks in advance.
 
 Joey,
 newbie in distress
 
 relevent config files:
 
 orion/config/server.xml:
 ...
 global-application name=pussycat path=application.xml /
 !--  global-application name=default path=application.xml /  can't do
 this--
 global-web-app-config path=global-web-application.xml /
 web-site path=./pussycat-web-site.xml /
 web-site path=./default-web-site.xml /
 ...
 
 orion/config/application.xml:
 ...
 orion-application
 web-module id=pussycat path=../applications/pussycat /
 web-module id=defaultWebApppath=../applications/default-web-app /
 ...
 
 orion/config/default-web-site.xml:
 ...
 web-site host=[all] port=80 display-name=Default Orion WebSite
   default-web-app application=default name=defaultWebApp / 
 /web-site
 
 
 orion/config/pussycat-web-site.xml:
 ...
 web-site host=[all] port=80 display-name=Pussycat Web Study 
 virtual-hosts=localhost
 
 default-web-app application=pussycat name=pussycat /
 !-- default-web-app application=pussycat name=defaultWebApp / can't do
 this--
 ...
 /web-site 
 
 
 server.xml:
 ...
 application-server
   application-directory=../applications
   deployment-directory=../application-deployments
 
 ...   
 global-application name=pussycat path=application.xml /
 !--  global-application name=default path=application.xml /  can't do
 this--
 global-web-app-config path=global-web-application.xml /
 web-site path=./pussycat-web-site.xml /
 web-site path=./default-web-site.xml /
 ...
 
 
 end
 
 
 Get free email and a permanent address at http://www.netaddress.com/?N=1
 





RE: broken default web app - not found

2001-05-02 Thread Michael J. Cannon

working on it...2morrow shud havee it sussed...

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of joey sark
 Sent: Wednesday, May 02, 2001 5:56 PM
 To: Orion-Interest
 Subject: broken default web app - not found
 
 
 I managed to deploy a website/app but in so doing, broke the 
 default website
 with all the nice jsp examples. I would like to use that default 
 app to test
 and learn about jsp and plug modified versions into my app.
 
 now i get this error from orion:
 
 Error initializing site Default Orion WebSite: No application 
 named 'default'
 found in the server
 
 how do i unbreak the default web app and keep it working 
 alongside my app -
 and KISS?
 
 thanks in advance.
 
 Joey,
 newbie in distress
 
 relevent config files:
 
 orion/config/server.xml:
 ...
 global-application name=pussycat path=application.xml /
 !--  global-application name=default path=application.xml 
 /  can't do
 this--
 global-web-app-config path=global-web-application.xml /
 web-site path=./pussycat-web-site.xml /
 web-site path=./default-web-site.xml /
 ...
 
 orion/config/application.xml:
 ...
 orion-application
 web-module id=pussycat path=../applications/pussycat /
 web-module id=defaultWebApp
 path=../applications/default-web-app /
 ...
 
 orion/config/default-web-site.xml:
 ...
 web-site host=[all] port=80 display-name=Default Orion WebSite
   default-web-app application=default name=defaultWebApp / 
 /web-site
 
 
 orion/config/pussycat-web-site.xml:
 ...
 web-site host=[all] port=80 display-name=Pussycat Web Study 
 virtual-hosts=localhost
 
 default-web-app application=pussycat name=pussycat /
 !-- default-web-app application=pussycat name=defaultWebApp 
 / can't do
 this--
 ...
 /web-site 
 
 
 server.xml:
 ...
 application-server
   application-directory=../applications
   deployment-directory=../application-deployments
 
 ...   
 global-application name=pussycat path=application.xml /
 !--  global-application name=default path=application.xml 
 /  can't do
 this--
 global-web-app-config path=global-web-application.xml /
 web-site path=./pussycat-web-site.xml /
 web-site path=./default-web-site.xml /
 ...
 
 
 end
 
 
 Get free email and a permanent address at http://www.netaddress.com/?N=1
 




Re: broken default web app - not found

2001-05-02 Thread SCOTT FARQUHAR

orion/config/default-web-site.xml:
default-web-app application=default name=defaultWebApp / -- default-web-app 
application=pussycat name=defaultWebApp /

You may also have problems as you are running two websites that are both listening on 
port 80 to all hosts:
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /

You may need to change orion/config/default-web-site.xml:
web-site host=[all] port=80 display-name=Default Orion WebSite - web-site 
host=[all] port=8080 display-name=Default Orion WebSite

All you examples should then be available on port 8080.

I think this is right.

What you should have done is left the default-application as default in server.xml, 
and then don't worry about the extra web-site.  You can then add extra web-apps in 
default-web-site.xml

If I haven't explained things properly, let me know and I'll write a full example.

Scott


 [EMAIL PROTECTED] 05/03/01 08:56am 
I managed to deploy a website/app but in so doing, broke the default website
with all the nice jsp examples. I would like to use that default app to test
and learn about jsp and plug modified versions into my app.

now i get this error from orion:

Error initializing site Default Orion WebSite: No application named 'default'
found in the server

how do i unbreak the default web app and keep it working alongside my app -
and KISS?

thanks in advance.

Joey,
newbie in distress

relevent config files:

orion/config/server.xml:
...
global-application name=pussycat path=application.xml /
!--global-application name=default path=application.xml /  can't do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...

orion/config/application.xml:
...
orion-application
web-module id=pussycat   path=../applications/pussycat /
web-module id=defaultWebApp  path=../applications/default-web-app /
...

orion/config/default-web-site.xml:
...
web-site host=[all] port=80 display-name=Default Orion WebSite
default-web-app application=default name=defaultWebApp / 
/web-site


orion/config/pussycat-web-site.xml:
...
web-site host=[all] port=80 display-name=Pussycat Web Study 
virtual-hosts=localhost

default-web-app application=pussycat name=pussycat /
!-- default-web-app application=pussycat name=defaultWebApp / can't do
this--
...
/web-site 


server.xml:
...
application-server
application-directory=../applications
deployment-directory=../application-deployments

... 
global-application name=pussycat path=application.xml /
!--global-application name=default path=application.xml /  can't do
this--
global-web-app-config path=global-web-application.xml /
web-site path=./pussycat-web-site.xml /
web-site path=./default-web-site.xml /
...


end


Get free email and a permanent address at http://www.netaddress.com/?N=1





Re: broken default web app - not found

2001-05-02 Thread joey sark

That did bring back the default Orion Web App, and as the default site/app 

my other app is dead now:

Error instantiating application at file:/C:/orion/applications/pussycat/:
Unable to find/read assembly info for C:\orion\applications\pussycat
(META-INF/application.xml)
Error initializing site Pussycat Web Study: No application named 'pussycat'
found in the server
Orion/1.4.5 initialized

I guess the real trouble is that I'm not sure of the distinct meanings
between
server
web site
web appliction
default web site
default web appliction
global...

i have not found these defined on the orion site.
j.



Tim Endres [EMAIL PROTECTED] wrote:
 In my server.xml file, I have the following line:
 
global-application name=default path=application.xml / 
 
 Looks to me like you've replaced the default web-app with your own
'pussycat'.
 You application should be defined by a separate app line, such as:
 
application name=pussycat path=/path/to/app/dir auto-start=true
/
 
 Note how the path is a path, not an xml file. It could also be your EAR
file
 if you have deployed that way.
 
 tim.
 
  I managed to deploy a website/app but in so doing, broke the default
website
  with all the nice jsp examples. I would like to use that default app to
test
  and learn about jsp and plug modified versions into my app.
  
  now i get this error from orion:
  
  Error initializing site Default Orion WebSite: No application named
'default'
  found in the server
  
  how do i unbreak the default web app and keep it working alongside my app
-
  and KISS?
  
  thanks in advance.
  
  Joey,
  newbie in distress
  
  relevent config files:
  
  orion/config/server.xml:
  ...
  global-application name=pussycat path=application.xml /
  !--global-application name=default path=application.xml /  can't
do
  this--
  global-web-app-config path=global-web-application.xml /
  web-site path=./pussycat-web-site.xml /
  web-site path=./default-web-site.xml /
  ...
  
  orion/config/application.xml:
  ...
  orion-application
  web-module id=pussycat   path=../applications/pussycat /
  web-module id=defaultWebApp  path=../applications/default-web-app /
  ...
  
  orion/config/default-web-site.xml:
  ...
  web-site host=[all] port=80 display-name=Default Orion WebSite
  default-web-app application=default name=defaultWebApp / 
  /web-site
  
  
  orion/config/pussycat-web-site.xml:
  ...
  web-site host=[all] port=80 display-name=Pussycat Web Study 
  virtual-hosts=localhost
  
  default-web-app application=pussycat name=pussycat /
  !-- default-web-app application=pussycat name=defaultWebApp / can't
do
  this--
  ...
  /web-site 
  
  
  server.xml:
  ...
  application-server
  application-directory=../applications
  deployment-directory=../application-deployments
  
  ... 
  global-application name=pussycat path=application.xml /
  !--global-application name=default path=application.xml /  can't
do
  this--
  global-web-app-config path=global-web-application.xml /
  web-site path=./pussycat-web-site.xml /
  web-site path=./default-web-site.xml /
  ...
  
  
  end
  
  
  Get free email and a permanent address at http://www.netaddress.com/?N=1
  
 
 


end


Get free email and a permanent address at http://www.netaddress.com/?N=1




Re: broken default web app - not found

2001-05-02 Thread joey sark

That did bring back the default Orion Web App, and as the default site/app 

my other app is dead now:

Error instantiating application at file:/C:/orion/applications/pussycat/:
Unable to find/read assembly info for C:\orion\applications\pussycat
(META-INF/application.xml)
Error initializing site Pussycat Web Study: No application named 'pussycat'
found in the server
Orion/1.4.5 initialized

I guess the real trouble is that I'm not sure of the distinct meanings
between
server
web site
web appliction
default web site
default web appliction
global...

i have not found these defined on the orion site.
j.



Tim Endres [EMAIL PROTECTED] wrote:
 In my server.xml file, I have the following line:
 
global-application name=default path=application.xml / 
 
 Looks to me like you've replaced the default web-app with your own
'pussycat'.
 You application should be defined by a separate app line, such as:
 
application name=pussycat path=/path/to/app/dir auto-start=true
/
 
 Note how the path is a path, not an xml file. It could also be your EAR
file
 if you have deployed that way.
 
 tim.
 
  I managed to deploy a website/app but in so doing, broke the default
website
  with all the nice jsp examples. I would like to use that default app to
test
  and learn about jsp and plug modified versions into my app.
  
  now i get this error from orion:
  
  Error initializing site Default Orion WebSite: No application named
'default'
  found in the server
  
  how do i unbreak the default web app and keep it working alongside my app
-
  and KISS?
  
  thanks in advance.
  
  Joey,
  newbie in distress
  
  relevent config files:
  
  orion/config/server.xml:
  ...
  global-application name=pussycat path=application.xml /
  !--global-application name=default path=application.xml /  can't
do
  this--
  global-web-app-config path=global-web-application.xml /
  web-site path=./pussycat-web-site.xml /
  web-site path=./default-web-site.xml /
  ...
  
  orion/config/application.xml:
  ...
  orion-application
  web-module id=pussycat   path=../applications/pussycat /
  web-module id=defaultWebApp  path=../applications/default-web-app /
  ...
  
  orion/config/default-web-site.xml:
  ...
  web-site host=[all] port=80 display-name=Default Orion WebSite
  default-web-app application=default name=defaultWebApp / 
  /web-site
  
  
  orion/config/pussycat-web-site.xml:
  ...
  web-site host=[all] port=80 display-name=Pussycat Web Study 
  virtual-hosts=localhost
  
  default-web-app application=pussycat name=pussycat /
  !-- default-web-app application=pussycat name=defaultWebApp / can't
do
  this--
  ...
  /web-site 
  
  
  server.xml:
  ...
  application-server
  application-directory=../applications
  deployment-directory=../application-deployments
  
  ... 
  global-application name=pussycat path=application.xml /
  !--global-application name=default path=application.xml /  can't
do
  this--
  global-web-app-config path=global-web-application.xml /
  web-site path=./pussycat-web-site.xml /
  web-site path=./default-web-site.xml /
  ...
  
  
  end
  
  
  Get free email and a permanent address at http://www.netaddress.com/?N=1
  
 
 


end


Get free email and a permanent address at http://www.netaddress.com/?N=1