• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI:I can't get the JNDI demo to run  RSS feed

 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JNDI Demo Browser (source and binaries): https://sdlc4a.sun.com/ECom/EComActionServlet;jsessionid=BB354AD61088A67687856B6C58F834D4

The error message is:

The JNDI can work. I've tested another simple example. When I try to run the demo sun supplied, it failed.
cd jndidemo\examples\browser
javac *.java
appletviewer browser.html

the directory structure is:
D:.
│ COPYRIGHT
test
│ test.txt

├─examples
│ └─browser
│ │ AttrDialog$1.class
│ │ AttrDialog$AddActionHandler.class
│ │ AttrDialog$ApplyActionHandler.class
│ │ AttrDialog$AttrCellRenderer.class
│ │ AttrDialog$AttrTableModel.class
│ │ AttrDialog$AudioVideoChecker.class
│ │ AttrDialog$DismissActionHandler.class
│ │ AttrDialog$ReloadActionHandler.class
│ │ AttrDialog$RemoveActionHandler.class
│ │ AttrDialog.class
│ │ AttrDialog.java
│ │ Browser$1.class
│ │ Browser$TabbedPaneSwitcher.class
│ │ Browser.class
│ │ browser.html
│ │ Browser.java
│ │ BrowserApplet.class
│ │ BrowserApplet.java
│ │ ConfigDialog$1.class
│ │ ConfigDialog$AddActionHandler.class
│ │ ConfigDialog$ApplyActionHandler.class
│ │ ConfigDialog$DismissActionHandler.class
│ │ ConfigDialog$EnvTableModel.class
│ │ ConfigDialog$ReloadActionHandler.class
│ │ ConfigDialog$RemoveActionHandler.class
│ │ ConfigDialog$RootAction.class
│ │ ConfigDialog.class
│ │ ConfigDialog.java
│ │ ConfigListener.class
│ │ ConfigListener.java
│ │ ConsoleDialog$1.class
│ │ ConsoleDialog$ClearActionHandler.class
│ │ ConsoleDialog$DismissActionHandler.class
│ │ ConsoleDialog.class
│ │ ConsoleDialog.java
│ │ CreateDialog$CreateActionHandler.class
│ │ CreateDialog.class
│ │ CreateDialog.java
│ │ CreateListener.class
│ │ CreateListener.java
│ │ DirData.class
│ │ DirData.java
│ │ DirIconMap.class
│ │ DirIconMap.java
│ │ DirPanel$ConfigAction.class
│ │ DirPanel$ConsoleAction.class
│ │ DirPanel$CreateChildAction.class
│ │ DirPanel$CreateResultAction.class
│ │ DirPanel$DirListCellRenderer.class
│ │ DirPanel$DirTreeCellRenderer.class
│ │ DirPanel$DirTreeModel.class
│ │ DirPanel$DirTreeNode.class
│ │ DirPanel$DoubleClickHandler.class
│ │ DirPanel$HelpAction.class
│ │ DirPanel$ReloadAction.class
│ │ DirPanel$RemoveAction.class
│ │ DirPanel$SchemaAction.class
│ │ DirPanel$SearchAction.class
│ │ DirPanel$SearchResultAction.class
│ │ DirPanel$ShowAttributesAction.class
│ │ DirPanel$ShowClassAction.class
│ │ DirPanel$ShowComponentThread.class
│ │ DirPanel$TreeSelectionHandler.class
│ │ DirPanel.class
│ │ DirPanel.java
│ │ HelpDialog$1.class
│ │ HelpDialog$PageLoader.class
│ │ HelpDialog.class
│ │ HelpDialog.java
│ │ README-DEMO.txt
│ │ readme.html
│ │ runnit
│ │ runnit.bat
│ │ SchemaDialog$1.class
│ │ SchemaDialog$SchemaPanel.class
│ │ SchemaDialog.class
│ │ SchemaDialog.java
│ │ SearchDialog$1.class
│ │ SearchDialog$ChangeScopeHandler.class
│ │ SearchDialog$CountLimitAction.class
│ │ SearchDialog$DerefHandler.class
│ │ SearchDialog$DismissActionHandler.class
│ │ SearchDialog$ReloadActionHandler.class
│ │ SearchDialog$RetObjHandler.class
│ │ SearchDialog$TimeLimitAction.class
│ │ SearchDialog.class
│ │ SearchDialog.java
│ │ SearchListener.class
│ │ SearchListener.java
│ │
│ └─images
│ attributes.gif
│ bean.gif
│ class.gif
│ configure.gif
│ console.gif
│ dukeWithTitle.gif
│ hashtable.gif
│ help.gif
│ iconmap.properties
│ jndiLabelSmall.gif
│ new.gif
│ number.gif
│ pointer.gif
│ reload.gif
│ remove.gif
│ schema.gif
│ search.gif
│ speaker.gif
│ stop.gif

└─lib
jndibrowser.jar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!