• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

forbidden ear deploy wildfly 10

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone.
I was faced with the EAR file deploy wildfly 10 problem. I got an application with ejb module and web module. And all this is under EAR. i got maven to control all plugins and dependencys.

When i packaging my ear project with "mvn package" all good, and project builds successfully. I even copy that ear file to wildfly "10.0.0\standalone\deployments" without any problems. My application deploys with no errors. But when im trying to get on my site, i got Forbidden error.

who can tell me where im wrong?

link on github - https://github.com/aiidko/StaticTime

if someone want, i can copy source to this topic.

Thanks.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A quick look suggests, you might be missing an index.html (the default welcome file for an application). If you want to use StaticTime.jsp as your welcome file (the one which gets rendered when you access the root of the web application), then you'll have to edit the web.xml to include it as the welcome file. Take a look at the web.xml's xsd file to see how to specify that in the web.xml.
 
Andrey Zolotukhin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for uour reply.

I added
" <welcome-file-list>
<welcome-file>StaticTime.jsp</welcome-file>
</welcome-file-list>"
in my web.xml. Then i tryed to launch the app -> forbidden again. Then i added index.html file near StaticTime.jsp. And i still get this error.
 
Andrey Zolotukhin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A bit additional info, if i run app on server from eclipse, its works fine.
That makes me not understanding this situaution with settings in web.xml.
 
knowledge is the difference between drudgery and strategic action -- tiny ad
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic