简体   繁体   English

Netbeans 6.9.1上的Sun Java System App Server

[英]Sun Java System App Server on Netbeans 6.9.1

In adding a server on Netbeans 6.9.1 when SJSAPS 8.2 is chosen I receive an error. 在选择SJSAPS 8.2的情况下在Netbeans 6.9.1上添加服务器时,我收到错误消息。 Something to do with the location. 与位置有关。 Can I use SJSAPS in Netbeans 6.9.1? 我可以在Netbeans 6.9.1中使用SJSAPS吗? Or have to use Java EE 5 which comes with Glassfish v2. 或者必须使用Glassfish v2随附的Java EE 5。 6.9.1 also has a choice for Glassfish v2.x but I get the same error. 对于Glassfish v2.x,6.9.1也可以选择,但出现相同的错误。 Reading Sun's tutorial on "Servlet Technology." 阅读有关“ Servlet技术”的Sun教程。 See links: 查看链接:

App Server Download App Server下载

Servlet Tut Servlet图

- - - - - - - - -* - - - - - - - - - *
Tools->Servers->Add Server->Add Server Instance - chose "Sun Java System Application Server 8.2"->Next 工具->服务器->添加服务器->添加服务器实例-选择“ Sun Java System Application Server 8.2”->下一步

ERROR: "Server Location is not an "Sun Java System Application Server ..." 错误:“服务器位置不是“ Sun Java System Application Server ...” 替代文字

- - - - - - - - - - - - - - - -
How to get to the NB log file . 如何获取NB日志文件

SERVER->LOG FILE - end of output here: SERVER-> LOG FILE-输出结束在这里:

WARNING [org.openide.filesystems.Ordering]: Not all children in
Loaders/text/x-ant+xml/Factories/ marked with the position attribute: [org-
apache-tools-ant-module-loader-AntProjectDataLoader.instance], but some 
are: [org.apache.tools.ant.module.resources.xml-ergonomics.instance]
WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/text/x-ant+xml/Factories/ marked with the position attribute: [org-
apache-tools-ant-module-loader-AntProjectDataLoader.instance], but some 
are: [org.apache.tools.ant.module.resources.xml-ergonomics.instance]
WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/text/x-dd-sun-web+xml/Factories/ marked with the position 
attribute: [org-netbeans-modules-j2ee-sun-ddloaders-
SunDescriptorDataLoader.instance], but some are: 
[org.netbeans.modules.j2ee.sun.share.xml-ergonomics.instance]
WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/text/x-dd-servlet2.5/Factories/ marked with the position attribute: 
[org-netbeans-modules-j2ee-ddloaders-app-EarDataLoader.instance, org-
netbeans-modules-j2ee-ddloaders-client-ClientDataLoader.instance, org-
netbeans-modules-j2ee-ddloaders-ejb-EjbJar30DataLoader.instance, org-
netbeans-modules-j2ee-ddloaders-ejb-EjbJarDataLoader.instance, org-netbeans-
modules-j2ee-ddloaders-web-DDDataLoader.instance, org-netbeans-modules-j2ee-
ddloaders-web-DDWeb25DataLoader.instance], but some are: 
[org.netbeans.modules.j2ee.ddloaders.resources.xml-ergonomics.instance]
WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/application/x-class-file/Factories/ marked with the position 
attribute: [org-netbeans-modules-java-ClassDataLoader.instance], but some 
are: [org.netbeans.modules.java.source.resources.xml-ergonomics.instance]
WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/application/x-java-archive/Factories/ marked with the position 
attribute: [org-netbeans-modules-java-jarloader-JarDataLoader.instance], 
but some are: [org.netbeans.modules.java.j2seplatform.resources.xml-
ergonomics.instance]
WARNING [org.openide.text.CloneableEditorSupport]: 
org.netbeans.modules.properties.PropertiesEditorSupport should override 
asynchronousOpen(). See http://bits.netbeans.org/dev/javadoc/org-openide-
text/apichanges.html#CloneableEditorSupport.asynchronousOpen
WARNING [org.openide.text.CloneableEditorSupport]: 
org.netbeans.modules.xml.text.TextEditorSupport should override 
asynchronousOpen(). See http://bits.netbeans.org/dev/javadoc/org-openide-
text/apichanges.html#CloneableEditorSupport.asynchronousOpen
WARNING [org.openide.text.CloneableEditorSupport]: 
org.apache.tools.ant.module.loader.AntProjectDataEditor should override 
asynchronousOpen(). See http://bits.netbeans.org/dev/javadoc/org-openide-
text/apichanges.html#CloneableEditorSupport.asynchronousOpen

The error message that you are seeing basically means that the IDE does not think there is an install of SJSAS 8.2 in C:\\Sun\\AppServer. 您基本上看到的错误消息表示IDE认为C:\\ Sun \\ AppServer中没有安装SJSAS 8.2。

If you installed SJSAS 8.2 in that location, then there is a bug in the IDE. 如果在该位置安装了SJSAS 8.2,则IDE中存在错误。

If you installed the server in a different location, enter the path of the install directory in the text field (or use the browse button). 如果将服务器安装在其他位置,请在文本字段中输入安装目录的路径(或使用浏览按钮)。

If you haven't installed SJSAS 8.2 on this machine yet... you will need to do that first. 如果尚未在此计算机上安装SJSAS 8.2,则需要首先执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM