Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8464505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:45:57+00:00 2026-06-10T14:45:57+00:00

I have three projects in my workspace : prjData, a simple project (no java

  • 0

I have three projects in my workspace :

  • prjData, a “simple” project (no java nor any other facet) including many configuration files (xml, properties and so on)
  • prjWeb, a “dynamic web” project
  • prjEar, an ear project which has prjWeb in its “project references”

I try to deploy the prjEar on a JBoss 4.2 from inside eclipse (helios).

I created the server (in server view), then added the prdData/config in its wtp launcher’s classpath (double clic on the server item, then from the Overview window, clic “Open Launch Configuration”, select Classpath tab, Advanced / Add folders).

When I start the server from the server view, console view confirms that Jboss starts the webapp, but fails on all tasks requiring config files actually located in this additional classpath folder, as log4j or OJB configuration.

I’m used to make it that way with Tomcat, and it works quite fine.
But for the current project it is mandatory to stick to JBoss.

What is wrong in the way classpath additional folders set in the wtp launcher view are taken (or not ?) into account by Jboss and the webapp ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T14:45:59+00:00Added an answer on June 10, 2026 at 2:45 pm

    Actually there was nothing wrong with Eclipse/WTP to add folders to JBoss runtime.

    The problem was coming from my wrong understanding of OJB configuration loading.

    I was taking on an existing application where the repository.xml file was split into pieces which were included through xml entities.
    The pieces were in different folders of prjData, but prjData was configured as a java project, with as many “source” directories as needed.
    Then prjData was included in prjWeb as a java submodule, so pieces in those “source” directories all ended in the same place in WEB-INF/classes, making JBoss happy.

    The problems came when I decided to brake the java nature of prjData and replace its inclusion in prjWeb with classpath inclusions. Then all pieces were in classpath, but still in different folders.

    When repository.xml tried to resolve its xml entities, it failed to find out the pieces (as it looks up files through filesystem organization, not current java classpath), making the whole app fail to start.

    I just had to change the file organisation and relative path in xml entities declaration to make it work again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several projects open in an Eclipse workspace. Like so: com.harbl.project.one com.harbl.project.two com.harbl.project.three
I have three projects 1)unmanaged c++ containing full business logic 2)C++/CLI ( Project name
In a solution I have three projects,you can see on picture.Want to access project-1
I have 5-6 projects in my workspace, many of which are interdependent. I usually
I have a small workspace with 3 projects. One main (Swing) application, two other
In Eclipse, I have a workspace that contains all of my projects. Each project
I have a workspace containing 2 projects: A project that has 2 products: a
Ok, so I have an android project and a few related java projects in
I have three projects written with VB.NET (2005) and have to convert them to
Suppose I have three projects in my sln. (1) xyz.a{Class Lib}{no reference added} (2)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.