How to get modules to show up in server integration?
I have an app with a couple of web modules defined in it, but in my appserver plugin tab, I can't get the modules to show up. What's the requirement for having stuff in there?
Please sign in to leave a comment.
Sorry, what is "my appserver plugin tab"?
--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Hani Suleiman" <hani@formicary.net> wrote in message
news:29253591.1085028689345.JavaMail.itn@is.intellij.net...
appserver plugin tab, I can't get the modules to show up. What's the
requirement for having stuff in there?
I'm writing my own plugin (using the weblogic one as a starting point and modifying as appropriate), but the modules never show up, I have the 3 empty nodes (web, ejb, and app) with nothing under them, and the 'deployment' panel on the right is always blanked out.
Do you mean modules in j2ee view?
It seems your deployment descriptors are invalid (they became invalid
because of some bug, for example). Try to open ProjectSettings->Paths->***
Module Settings and set the value of deployment descriptor's path into the
valid path.
--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Hani Suleiman" <hani@formicary.net> wrote in message
news:17194663.1085065281001.JavaMail.itn@is.intellij.net...
modifying as appropriate), but the modules never show up, I have the 3 empty
nodes (web, ejb, and app) with nothing under them, and the 'deployment'
panel on the right is always blanked out.
No, the modules show up fine in the j2ee view (I have two web modules).
I've created a new 'orion' appserver plugin. When I go to run->edit configurations, the 'j2ee modules to deploy at the server startup' panel has 3 nodes under it, 'j2ee apps', 'ejb modules', and 'web modules'. I would expect the web modules node to show my two web modules that show up in the j2ee view, but they do not. The 'deployment settings' panel on the right of that is also greyed out.
Oh, I see!
Please add attribute j2ee-integration="WebLogic Server" into "module" tag
in your iml files. Unfortunally there should be converter for projects under
j2ee... (panel will be enabled after some j2ee module will be selected)
--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Hani Suleiman" <hani@formicary.net> wrote in message
news:28021537.1085067374298.JavaMail.itn@is.intellij.net...
>
configurations, the 'j2ee modules to deploy at the server startup' panel has
3 nodes under it, 'j2ee apps', 'ejb modules', and 'web modules'. I would
expect the web modules node to show my two web modules that show up in the
j2ee view, but they do not. The 'deployment settings' panel on the right of
that is also greyed out.
Heh, so I should add that even if I'm not using the weblogic server? Is that magic string hardcoded somewhere? Should I file a bug?
(some time later)
Aha! I added 'Orion Server' there and it does show up. However, it's in red. What does red mean in this context?
Sorry, I shought you're using weblogic.
>However, it's in red. What does red mean in this context?
If module is red try workaround from the previous post - reset deployment
descriptor paths
--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Hani Suleiman" <hani@formicary.net> wrote in message
news:22022962.1085068522165.JavaMail.itn@is.intellij.net...
that magic string hardcoded somewhere? Should I file a bug?
>
>
red. What does red mean in this context?
Aha, you're right. My web module had an empty path to the orion deployment descriptor.
However, I've now run into another issue! canBeDeleted() returns true for my web descriptor metadata, but the delete button remains disabled in web settings. Should I file a bug?
Deleting it from the iml file still doesn't help, it shows up there on restart (get added with an empty path). I think this ties in to my problem with not being able to specify file templates for my custom descriptors that point to resources in my plugin jar.
my web descriptor metadata, but the >delete button remains disabled in web
settings. Should I file a bug?
Yes, please.
It'd be great if the problem related to external resources (templates) will
be submitted too.
--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Hani Suleiman" <hani@formicary.net> wrote in message
news:21182682.1085071706889.JavaMail.itn@is.intellij.net...
descriptor.
>
my web descriptor metadata, but the delete button remains disabled in web
settings. Should I file a bug?
>
restart (get added with an empty path). I think this ties in to my problem
with not being able to specify file templates for my custom descriptors that
point to resources in my plugin jar.
Done:
http://www.intellij.net/tracker/idea/viewSCR?publicId=33000 and http://www.intellij.net/tracker/idea/viewSCR?publicId=32999