Java Source for the tools.jar class files?
Hi
I'm writing custom taglets within an IDE. It would be great if I could find the source for files in tools.jar. Right now I'm a bit hindered by the lack of method specifications I would get if I had the source code.
I'm especially interested by the Tag class methods
Thanks
Hi,
Tag (and everything else in com.sun.javadoc) is an interface, so there are no class (static) methods.
What was it you were wanting to do or to know?
Bruce
Similar Messages
-
Java Docs for the Module Process Classes
Hi,
I would like to start creating my own JDBC and file-based modules for interface development. I have found several SDN contributions which step through the creation of these modules. These are very helpful.
However, I have not yet found comprehensive documentation describing the classes used in module develpment. i.e.:
- com.sap.aii.af.mp.module.Module
- com.sap.aii.af.mp.module.ModuleContext
- com.sap.aii.af.mp.module.ModuleData
Does anyone know where to find the Java Docs for these classes? Or is there any other equivalent explanation of how to use these classes, their methods and fields?
Any help would be greatly appreciated.
Carl Engel
CSC AustraliaHi Carl,
Another link for you
http://help.sap.com/saphelp_nw04/helpdata/en/87/3ef4403ae3db12e10000000a155106/frameset.htm
This says that the java documentation is available in the example adapter/module that is there with XI.
I vaguely remembering seeing the docu..it was long back though..right now i donot have access to a system...
Get the rar(java archive) that i talked about in the above link...
Thanks,
Renjith -
Need Java API doc for the preference Manager class
Where can I get Java Doc for the following classes
import oracle.webcenter.peopleconnections.preference.Preference;
import oracle.webcenter.peopleconnections.preference.PreferenceException;
import oracle.webcenter.peopleconnections.preference.PreferencesManager;
import oracle.webcenter.peopleconnections.preference.PreferencesManagerFactory;
Thanks,
BalaThe API is the same (that's the whole point with Java), and last time I checked there were programs on Linux that can handle zipfiles and html files. :)
So yes, use the same.
(That is, unless you have downloaded the windows help format api docs. Then you need to download the regular html ones.) -
JSP source for the Administration tools?
Hi,
I would like to know where I can find the JSP source for the Administration tools? I downloaded WLCS 3.1.1 a while ago and I thought that it would come as part of the installation but it didn't. Is there any other place to get the source files?
Thanks!
Hugo Penafiel
marchFIRST
Cupertino, CA USAHello Hugi,
The WLPS/WLCS admin tools are a webapp called "tools". See your weblogic.properties file:
# Defines the admin tools Web Application.
weblogic.httpd.webApp.tools=C:/wlcs/wlcs311/server/webapps/admin/tools.war
(my installation dir is "C:/wlcs/wlcs311")
Because you have the Web Application, you have the JSP source code (see http://www.weblogic.com/docs51/classdocs/webappguide.html )
Ture Hoefner
BEA Systems, Inc.
2590 Pearl St.
Suite 110
Boulder, CO 80302
www.bea.com
[att1.html] -
Help: How do you keep the generated source for the servicegen-generated stuff?
Only the following classes have corresponding Java files:
<name>Service
<name>Service_Impl
<name>ServicePort
<name>ServicePort_Stub
I need access to the marshalling code for the DTO java classes (I think there is
a bug).
Is there a keepGenerated option?
Thanks,
NickI found the problem. I have posted it. See here:
http://newsgroups2.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=1014&utag=
Cheers,
Nick
"Nick Minutello" <[email protected]> wrote:
>
>
Actually, you are right - the source for the codecs can be found in the
webservice
WAR. However, I have a funny feeling that the two are not the same (ie,
there is
a difference between the classes in the war, the classes in the client jar
generated
by servicegen and the client jar generated by clientgen. I am getting some
odd behaviour,
and I havent gotten to the bottom of it yet.
It seems for the Data Transfer Objects, it makes a difference whether you
use the
generated classes or the originals (I am using the useServerTypes="True"
option in
the client element of the servicegen task.
-Nick
"Neal Yin" <[email protected]> wrote:
Actually, the behavior right now should be "always keepgenerated". Canyou
post your EJB/javaclass? We can check it out.
-Neal
"Nick Minutello" <[email protected]> wrote
in message news:[email protected]...
Actually, I think this is critical that this is done asap.
It is impossible to debug errors such as this without it!
java.lang.NoSuchMethodError
atcom.x.bond.view.BondDetailDTOCodec.typedInvokeSetter(BondDetailDTOCodec.java
:1214)
atcom.x.bond.view.BondDetailDTOCodec.invokeSetter(BondDetailDTOCodec.java:964)
Any chance of a timeframe?
I dont particularly want to go and use Axis unless I have to... but Iseem
to be
spending a lot of time debugging this weblogic soap implementation...
Thanks.
Regards,
Nick
"Neal Yin" <[email protected]> wrote:
Sorry, we don't have a keepgenerated option yet. We are adding one.
Could you post what bug you think we might have? We can help you to
pass
though it.
Thanks,
-Neal
"Nick Minutello" <[email protected]>
wrote
in message news:[email protected]...
Only the following classes have corresponding Java files:
<name>Service
<name>Service_Impl
<name>ServicePort
<name>ServicePort_Stub
I need access to the marshalling code for the DTO java classes (I
think
there is
a bug).
Is there a keepGenerated option?
Thanks,
Nick -
Provide the java code for the following scenario.
Hi Experts,
I have tried with all the combinations for this scenario. As per my understanding i require java code for the following scenario
so that it becomes easy........
I require a Message mapping for this Logic.
In the Source there are 4 fields and, the Target side, the fields should appear like this.
Source Structure- File
Record
|-> Header
Order_No
Date
|-> Item
Mat_No
Quantity
Target Structure-IDoc
IDoc
|-> Header
|-> Segment
Delivery_Order_No
Recv_Date
|-> Item
|-> Segment
Delivery_Order_No
Material_Num
Recv_Quantity.
The Logic is for every Order number an IDOC is generated.And if the Material num matches then the quantity should be added. and important note is that the material numbers are different for every order number. That means if a material number is 2 in the order number A. Then the material number can never be 2 in any of the order numbers.Here is the following with an example for the above scenario.
For example:-
we have
Source Structure- File
Order-no Date Mat_No Quantity
1 01/02/2011 A 10
1 01/02/2011 B 15
1 01/02/2011 A 10
2 01/02/2011 C 10
2 01/02/2011 C 10
3 01/02/2011 D 20
3 01/02/2011 D 10
3 01/02/2011 E 25
Target Structure-IDoc
Delivery_Order_No Recv_Date Material_Num Recv_Quantity
1 01/02/2011 A 20
1 01/02/2011 B 15
2 01/02/2011 C 20
3 01/02/2011 D 30
3 01/02/2011 E 25
So for this example total of 5-Idocs created. That means for this example if Order_No is 1 When the Mat_No is A the quantity gets added. For this Scenario 1 IDoc with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) is generated by adding the quantity field in the Target Side. Similarly if Order_No is 1 when the Mat_No is B then separate IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) in the Target Side. Similarly, if Order_No is 2 when the Mat_No is C, an IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) by adding the quantity field in the Target Side. ike wise the process goes on upto 3.Kindly do the needy..
Kindly provide the java code.
Thanq very much in advance..what i have understood from ur example is that u want to generate an idoc for unique combination of Order-no and Mat_No
if yes then chk the below mapping..
change the context of Order_No, Date, Mat_No and Quantity to Record (right click-> context)
1)
Order-no
----------------------concat[;]---sort----splitbyvalue(valuechanged)-----collapse context---IDoc
Mat_No
2)
Order-no
--------concat[;]---sort----splitbyvalue(value changed)---collapse context---UDF1--splitbyvalue(each value)--Delivery_Order_No
Mat_No
3)
Order-no
-----------concat[;]---sortbykey----------------------- \
Mat_No / \
Date--------------- / \
----------------------------------------------------------FormatByExample-----collapsecontext---splitbyvalue(each value)----Recv_Date
Order-no /
-----------concat[;]---sort----splitbyvalue(value changed)
Mat_No
4)
Order-no
--------concat[;]---sort----splitbyvalue(value changed)---collapse context-UDF2--splitbyvalue(each value)--Material_Num
Mat_No
5)
Order-no
-----------concat[;]---sortbykey
Mat_No /
Quantity --------------- /
----------------------------------------------------------FormatByExample-----SUM(under statistic)----Recv_Quantity
Order-no
-----------concat[;]---sort----splitbyvalue(value changed)
Mat_No
UDF1:
String [] temp= a.split(";");
return temp[0];
UDF2:
String [] temp= a.split(";");
return temp[1]; -
Creating Java code for the function module
Hi Colleagues,
I have a fuction module in ABAP system. Now I want to Generate java code for the FM.
I cam to know that we can achive that using AXIS, By getting the XML file for the fuction module and generate Java
Class file using that XML file.
Can any one tell me how to achive it.
Or any other way to do that?
Please provide you valid suggestions.
Regards,
SathyaHi,
You can integrate axis2 in eclipse. I think you have to find the plugin for that.
After that you can let axis generate the jave code (stubs and proxies) for your web service via the wsdl file.
Kind Regards,
Robin -
Problem in Packages while compailing the code "bad class file"
Hi,
I wrote the code for encrypt the password in .java file and i used package also
i'm importing that package and i'm compiling the .java file it throws the error like this.
regi1.java:23: cannot access EncryptPassword
bad class file: .\EncryptPassword.java
file does not contain class EncryptPassword
Please remove or make sure it appears in the correct subdirectory of the claspath
EncryptPassword enc = new EncryptPassword();
^
1 error
EncryptPassword.java
package encrypt;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
import sun.misc.CharacterEncoder;
public class EncryptPassword
public EncryptPassword() { }
public EncryptPassword instance;
public String getEncrypt(String plaintext) throws Exception
MessageDigest md = null;
try
md = MessageDigest.getInstance("SHA"); //step 2
catch(NoSuchAlgorithmException e)
throw new Exception(e.getMessage());
try
md.update(plaintext.getBytes("UTF-8")); //step 3
catch(UnsupportedEncodingException e)
throw new Exception(e.getMessage());
byte raw[] = md.digest(); //step 4
String hash = (new BASE64Encoder()).encode(raw); //step 5
return hash; //step 6
public EncryptPassword getInstance() //step 1
if(instance == null)
return new EncryptPassword();
else
return instance;
}regi1.java
import encrypt.*;
import java.io.*;
import java.sql.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class regi1 extends HttpServlet
public regi1(){ }
public void service(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
throws ServletException, IOException
java.io.PrintWriter printwriter = httpservletresponse.getWriter();
HttpSession httpsession = httpservletrequest.getSession(true);
httpservletresponse.setContentType("text/html");
try
{ EncryptPassword enc = new EncryptPassword();
String Email = httpservletrequest.getParameter("email");
String Password = httpservletrequest.getParameter("password");
*--- some code for database connection---*
String insQry1 = "INSERT INTO register (Email, Pass);
pStmt.setString(1,Email);
pStmt.setString(2,enc.getEncrypt(Password));
catch( Exception exception)
exception.printStackTrace();
System.out.println(exception);
httpservletrequest.getRequestDispatcher("./FileSubmit.jsp").forward(httpservletrequest,httpservletresponse);
{code}Multipost: http://forum.java.sun.com/thread.jspa?threadID=5225097&tstart=0
Please continue the thread there and don't multipost!
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
(Yes I know it's on JavaRanch but I think it applies everywhere)
---------------------------------------------------------------- -
Extra bytes at the end of class file listeners/SessionListener ?
wen i am running my JSP pages i am getting this error...
can anybody explain this error, Y it is comming...
SEVERE: Error configuring application listener of class listeners.SessionListener
java.lang.ClassFormatError: Extra bytes at the end of class file listeners/SessionListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jun 24, 2008 10:58:29 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)The class files are broken. Recompile them. If you're uploading them, doublecheck if the FTP program used doesn't do mad things with binary files.
-
Extra bytes at the end of class file error
I have created an applet.
it worked fine when i ran it with appletviewer.
it ran fine when i opened it with a browser (when it still was on my computer and not on the net).
now, when i uploaded all the files, when try to open the page where my applet should be, the applet doesn't start and the console writes:
java.lang.ClassFormatError: Extra bytes at the end of class file ImageHolderNotifier
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
i tried rebuilding the project and uploading all the .class files from scratch... still, no change :-/
i have compiled it using eclipse 3.1.0, JDK1.5.0_02.
my JRE is 1.5.0_02
i've tried running it both with Internet Explorer and FireFox...Works locally but not after uploading.
Must be uploaded wrong then (ftp ascii??) or it's the web server. -
Data source for the concurrent program 'Send Separate Remittance Advices'
Hi All,
We have requirement to develop a custom report to send the remittance to the vendors.
But we are unable to figure out on how to get the data source for the standard program 'Send Separate Remittance Advices'.
The program is of the type Java concurrent program. Is there any way to get the XML tags for this program.
Thanks,
Manojhi,
pls see:
R12 Send Separate Remittance Advice - Data Source (srini)
and also:
http://apps2fusion.com/apps/14-fwk/69-java-concurrent-programs
http://oracle.anilpassi.com/xml-publisher-concurrent-program-xmlp.html -
Problem in data sources for transaction data through flat file
Hello Friends,
While creating the data sources for transaction data through flat file, I am getting the following error "Error 'The argument '1519,05' cannot be interpreted as anumber' while assigning character to application structure" Message no. RSDS016
If any one come across this issue, please provide me the solution.
Thanks in Advance.
Regards
RaviHallo,
just for information.
I had the same problem.
Have changed the field type from CURR to DEC and have set external instead of internal.
Then, the import with flatfile worked fine.
Thank you. -
Looking for the Garbage Collection log files
Hello,
I am looking for the Garbage Collection log files which contain the GC events, like this:
[GC 2095K->1709K(2160K), 0.0017628 secs]
[Full GC 2161K->1018K(2276K), 0.0576353 secs]
The server's GC is already configured accordingly:
verbose:gc
I have examined the std_server<x>.out files at the work folder but can't see this info.
My question is: Where would I find these files on the server?I can't find info in the format I know it not at dev_server* or std_server*.
in std_server I see xml file like this:
<gc type="scavenger" id="1" totalid="1" intervalms="0.000">
<flipped objectcount="303111" bytes="24994248" />
<tenured objectcount="0" bytes="0" />
<refs_cleared soft="429" weak="4329" phantom="0" />
<finalization objectsqueued="1711" />
<scavenger tiltratio="50" />
<nursery freebytes="497866672" totalbytes="524288000" percent="94" tenureage="10" />
<tenured freebytes="1094921936" totalbytes="1098907648" percent="99" >
<soa freebytes="1039977168" totalbytes="1043962880" percent="99" />
<loa freebytes="54944768" totalbytes="54944768" percent="100" />
</tenured>
<time totalms="185.585" />
</gc>
I guess this is the info I need but it's not formatted in a way that your tool can read it and having a tool like this reading it is very helpful.
Any ideas? -
What is "java console" on the tools menu ? How do you use it?
I am a newbie to java and assume java console is an editor, I can write code with. Am I right? When I choose "java console" on the TOOLS menu, nothing happens. What gives?
No.<br />
The Java Console is not an editor, but meant for developers to troubleshoot [[Java]] applications.<br />
That extension is not compatible with current Firefox versions.<br />
See http://kb.mozillazine.org/Java -
I would like to sign up for the HP online classes. But it does not allow me to.
I would like to sign up for the HP online classes. But it does not allow me to. Each time I click on the button I get an error message from internet explorer.
Hi Kathleen: Can you tell me what version Internet Explorer you are using? In the mean time you can sign up for classes by visting web-site. http://h30187.www3.hp.com/?tab=atHome&jumpid=hpr_R1002_USEN Ounce you signed in the rest of the stuff is done through e-mail. I can only give direction on how to set setting in Internet Explorer 8. Internet Explorer 9 I would have to go to MSN.com Read all the website pages and watch all the demo videos. Buy the way is this a new computer? If so in your Internet Explorer favorites all HP links are listed in HP file. They are preprogram in the computer. Just click on link that has a line on the bottom. Web page will open to sign up for classes.
Maybe you are looking for
-
Change background in Adobe Bridge Web Gallery
Hi, I am trying to use a web gallery created with adobe bridge in my webpage. I have inserted gallery in an <iframe>. The gallery shows up just fine. I would like to have the background of the webpage show up rather than the background of the web g
-
Aperture library not showing up in upload browser
When I go to upload Aperture photos to the web, my Aperture library is not listed in the media browser. Only iPhoto and Photo Booth is there. I've had to go into Aperture and export the photos to upload them. This started to happen after I upgraded t
-
JRockit dump 1.4.2_08
Hi, I have the following error: Error code: 52 Error Message: Null pointer exception in native code Version : BEA WebLogic JRockit(TM) 1.4.2_08 JVM R24.5.0-61 ari-49095-20050826-1856-win-ia32 Threads / GC : Native Threads, GC strategy: parallel : mmH
-
Iphoto does not recognise my cameras anymore
Up to a week ago my iphoto 11 running snow leopard worked fine and now when I connect my 2 canonixuis 85 is the computer does not see them nor does it open the iphoto program. 3 weeks ago I got the new Lumix waterproof (i think FT3) and it connects f
-
Can't turn on Hyphenation in AI CS6
I can't turn on hypnenation on Illustrator CS6, read all this http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-63a4a .html , didn't help. I use English version, but in Russia, so all the texts are Russian. In prefe