Mathias Andrae

Greenhorn
+ Follow
since Feb 04, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mathias Andrae

Is there any way to copy a file from one URL to another?
Downloading from an URL is no problem, but I did not find any way to get this file to the other URL.
Both URL are files on ftp-servers.
Anybody any idea???
I am new in socket programming.
I only want to receive a document from an URL.
Doing it in the intranet works fine. But doing it over the proxy from the WWW it gives an IOException.
I suppose the proxy is the cause for it.
Any idea what I have to do??
Here my simple source:
Thanks for your help.
But it was a more easier problem.
There were some sourcefile placed twice in different directories. And I suppose javadoc got some problem with this, while generating the doc-files.
After deleting the duplicates it worked perfectly.
22 years ago
Do you know any reason, why javadoc only generates the constant-values.html and no more files?
I got these message:
javadoc: No public or protected classes found to document.
Generating H:\entwick\java\test\intern\javadoc\constant-values.html...
But there are public and protected classes!!!
Any idea?
22 years ago
I think all necessary attributes are set.
It is really confusing. the call runs perfectly on most directories. but on some I get this exception.
And I can't find the difference.
Do you know any naturally limits of javadoc?
Here is my build.xml of ant. Maybe you see a mistake. The source and destination dir are set correct in the original version.
<?xml version="1.0"?>
<project name="tutorial" default="build" basedir=".">
<target name="build">

<javadoc
packagenames="*"
destdir="---destination dir---"
author="true"
windowtitle="API"
version="true">

<fileset dir="---source dir---" defaultexcludes ="yes">
<include name="**/*.java"/>
</fileset>
</javadoc>
</target>
</project>
22 years ago
Thanks for this great idea. it works...
...but in some cases I got following exception:
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[javadoc] javadoc: In doclet class com.sun.tools.doclets.standard.Standard, method start has thrown an exception java
.lang.reflect.InvocationTargetException

[javadoc] java.lang.NullPointerException
[javadoc] at java.util.zip.ZipFile.getInputStream(ZipFile.java:176)
[javadoc] at com.sun.tools.javadoc.PackageDocImpl.documentation(PackageDocImpl.java:76)
[javadoc] at com.sun.tools.javadoc.DocImpl.comment(DocImpl.java:77)
[javadoc] at com.sun.tools.javadoc.DocImpl.tags(DocImpl.java:107)
[javadoc] at com.sun.tools.doclets.standard.HtmlStandardWriter.serialDocInclude(HtmlStandardWriter.java:1381)
[javadoc] at com.sun.tools.doclets.standard.HtmlStandardWriter.serialInclude(HtmlStandardWriter.java:1362)
[javadoc] at com.sun.tools.doclets.standard.tags.SeeTaglet.toString(SeeTaglet.java:105)
[javadoc] at com.sun.tools.doclets.standard.HtmlStandardWriter.generateTagInfo(HtmlStandardWriter.java:1494)
[javadoc] at com.sun.tools.doclets.standard.ClassWriter.generateClassFile(ClassWriter.java:234)
[javadoc] at com.sun.tools.doclets.standard.ClassWriter.generate(ClassWriter.java:95)
[javadoc] at com.sun.tools.doclets.standard.Standard.generateClassCycle(Standard.java:245)
[javadoc] at com.sun.tools.doclets.standard.Standard.generateClassFiles(Standard.java:195)
[javadoc] at com.sun.tools.doclets.standard.Standard.startGeneration(Standard.java:166)
[javadoc] at com.sun.tools.doclets.standard.Standard.start(Standard.java:44)
[javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[javadoc] at java.lang.reflect.Method.invoke(Method.java:324)
[javadoc] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:196)
[javadoc] Generating C:\andrae\destdir\_0002fnve_0002ejspnve_jsp_0.html...
[javadoc] 1 error
[javadoc] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:95)
[javadoc] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:288)
[javadoc] at com.sun.tools.javadoc.Start.begin(Start.java:114)
[javadoc] 100 warnings
[javadoc] at com.sun.tools.javadoc.Main.execute(Main.java:44)
[javadoc] at com.sun.tools.javadoc.Main.main(Main.java:34)
BUILD SUCCESSFUL
................
then I got only the tree but not the javadocs of the classes.

any idea why???
22 years ago
and any idea for win nt???
22 years ago
Is there any way I can generate a javadoc over all sources which are in different subdirectory of a rootpath.
The problem is that the name of the subdirectories are not static. only the rootpath is static.
Is there any way that javadoc seeks automaticly for all sources in the subdirectories???
22 years ago
Is there anybody who can give me a short description how to create a DataSource in the Admin-Console of Websphere 4
In 3.5 it was really easy. Now I work with 4.0 and I don't find the position where I can adjust the Datasources.
22 years ago
My AppServer is WebSphere 4.0, my IDE is JBuilder 6 Enterprise.
Now my problem:
I have got problems to connect to my ejb.
the ejb runs correctly on websphere.
the lookup() in the works also correctly.
but when I cast the HomeInterface I got following exception:
java.lang.ClassCastException: Unable to load class: org.omg.stub.ejb._SessionHome_Stub
at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:269)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:136)
at ejb.SessionTestClient1.<init>(SessionTestClient1.java:39)
at ejb.SessionTestClient1.main(SessionTestClient1.java:185)
....................
Is there anything I have to do on the client???
classpath??? imports???
I used the standard-test-client of JBuilder.
I only changed the URL of my AppServer.
thanks for help!!!
Thanks for your fast answer.
But I have to request again.
Is there really no way to prevent cookies while coding the servlet???
22 years ago
Can anybody give me some sourcecode for a servlet which handles sessions with URL-rewriting and EXPLICITELY WITHOUT cookies.
Thanks.
22 years ago
which appserver do you use?
The connection between the appserver and an CMP-Entity-Bean will be done with a deployment-tool, which is delivered with your appserver or your IDE. (mostly with the appserver)
thanks, but thats not the problem.
The jndi-name is correct.
Is there any setting I forgot at the client.
Can anybody give me an overview of what is to do at the client to enable access to an ejb-server.
Thanks, it helped.
.........
I don't work with ejb in webstart. I want to load the ClientApplication of an ejb from the server.
...........
Another Question! When on my Client is not the right jdk, where I have to define the place of the jdk, if it is to download.
Can you give me example-code or any other help???
22 years ago