Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

planning to make url without port no

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Friends,

I am planning to make a http url without port no.EX : http://mydomain.com/myapp instead of http://mydomain.com:8080/myapp/
for that i did below change in server.xml(JBoss 4.2.3GA)

System confiuration: windows server 2008 64 -bit

Server.xml

<Connector port="80" address="${jboss.bind.address}"
maxThreads="250" maxHttpHeaderSize="8192"
emptySessionPath="true" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />

but i am facing below error

Error Summary:HTTP Error 404.0 - Not FoundThe resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Detailed Error Information:Module: IIS Web Core Notification: MapRequestHandler Handler: StaticFile Error Code: 0x80070002 Requested URL: http://localhost:80/awebapp/ Physical Path: C:\inetpub\wwwroot\awebapp\ Logon Method: Anonymous Logon User: Anonymous
Failed Request Tracing Log Directory: C:\inetpub\logs\FailedReqLogFiles

Most Likely Causes:The directory or file specified does not exist on the Web server. The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file

Things you can Try:Create the content on the Web server. Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

Please find error attachment.

But its worked in windows 32 bit,

please help me how to resolve this.

Thanks in advance.

Regards,
Fairoz P.



error.png
[Thumbnail for error.png]
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Requested URL: http://localhost:80/awebapp/


If your web app is called "myapp", then "awebapp" is not going to work. Also, what client would use "localhost" - that is likely not going to work - does it have something to do with the JBoss/IIS integration?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!