How can I compile BaseResource.java on iAS 6.0 SP4 on Solaris 8?
I'm trying to upgrade our application server to SP4 but I can't until I am able to compile a couple hundred AppLogics in SP4. I posted about this last week but got no answer. Here's a simple compile that succeeds in SP2 and fails in SP4 :
wwwtest% /export/home/iplanet/ias6/ias/usr/java/bin/javac -classpath .:/export/home/iplanet/ias6/ias/classes/java/nab25.jar:/export/home/iplanet/ias6/ias/classes/java/kfcjdk11.jar TBG/BaseResource.java
TBG/BaseResource.java:0: The method void setSessionTimeout(int) declared in class com.netscape.server.nas.BaseResource cannot override the method of the same signature declared in interface com.kivasoft.ISession2. They must have the same return type.
package TBG;
^
1 error
Here's the problem. kfcjdk11.jar was changed btwn
SP2 and SP4 but nab25.jar wasn't. com.kivasoft.ISession2.setSessionTimeout (in kfcjdk11.jar) changed but com.netscape.server.nas.BaseResource (in nab25.jar) wasn't updated to conform to the new interface declaration. The old nab25.jar is included in the SP4 distribution but it's useless. Any recommendations on how to resolve this issue?
Hi,
Greetings to you. I'm interested to know the following.
1. Are you able to run cxs engine ?. This means, just start the cxs engine
without any errors before invoking any components with app server.
2. Does cxs engine crash after you start and kas keeps restarting the cxs
engine.
Thanks & Regards
Raj
Similar Messages
-
How can I compile Javascript from Java??
Hi all,
I am facing a problem, problem is I have to compile JavaScript code in Java. JavaScript code will given in Text field, those code i have to compile and i should display a message saying this is valid Java script code or Invalid code.Can anyone help on this...JavaScript code interpreting but not compiling... I need to compile, but not Interpret the code. How can i Compile the JavaScript Code...
-
How can I share a *.java source file across multiple projects in NetBeans?
I'm sure this simple and a pretty common operation but how can I share a *.java source file across multiple projects in NetBeans? Right now I keep cut, coping and pasting the same source file between multiple projects to re-use the same code. But I could I make this source file a library file or something like that so that I could access it from any project. I assume this would be a generic operation but I mentioned NetBeans for clarity. Thanks.
fiebigc wrote:
I know I mentioned NetBeans but I'm most interested in the generic method for creating a library of source files that I can call into whatever program I am developing. I've done such a thing in C using header files and such but I'm trying to get a direction on how this is accomplished in Java. I'm sorry if I could edit the title I would. If anyone wants to be specific about NetBeans I welcome that too.
Edited by: fiebigc on Jun 20, 2008 5:57 PM
>I know I mentioned NetBeans but I'm most interested in the generic method for creating a library of source files that I can call into whatever program I am developing. I've done such a thing in C using header files and such but I'm trying to get a direction on how this is accomplished in Java. I'm sorry if I could edit the title I would. If anyone wants to be specific about NetBeans I welcome that too.
Edited by: fiebigc on Jun 20, 2008 5:57 PM
Create a class library.
Write your code, compile it to .class files, put those class files in a .jar file and include the jar file in the classpath whenever you want to compile a project against it. -
How can i build a java parser/interpreter
How can i build a java parser/interpreter
i know java offers a tokenizer, how can i use it for build a parser or interpreter that recognize tags like this:
<query db="db1" select="row1, row2">
and then perform some actionshow can i use it for build a parser or interpreter that recognize tags like this:A compiler design class would help understand the issues involved.
Or as suggested if you are merely trying to parse XML then there are variety of existing solutions.
Of if not XML and you already understand the principles of compiler design (formally or perhaps with experience with lexx/yacc) then you could use JavaCC
http://www.webgain.com/products/java_cc/ -
How do I compile my Java project?
How do I compile my Java project? The "Build" option is missing from the right-click menu of my Project Explorer and I can't find a compile button.
On 08/05/2015 12:42 PM, Chris Wilkinson wrote:
> How do I compile my Java project? The "Build" option is missing from
> the right-click menu of my Project Explorer and I can't find a compile
> button.
Examine the Project menu. You'll see that, by default, Build
Automatically is checked. Each time you make a change to a Java file,
Eclipse rebuilds it into a .class file. To force the entire project to
be rebuilt, whether it needs it or not, select Project -> Clean.
Is this what you're looking for? -
How can I use Seeburger java functions on SAP XI's user defined functions?
Hi All,
As my title implies; how can I use Seeburger java functions on SAP XI's user defined functions? I've tried searching over the net in tutorials regarding this topic but I failed to find one; can someone provide me information regarding my question? thanks very much.
best regards,
MikeHi Mike !
You should check your documentation about which java classes you need to reference in the "import" section of your UDF. And also deploy the java classes into the java stack or include them as a imported archive in integration repository...it should be stated in the seeburger documentation.
What kind of functions are you trying to use?
Regards,
Matias. -
How can I create a java.awt.Image from ...
Hi all,
How can I create a java.awt.Image from a drawing on a JPanel?
Thanks.JPanel p;
BufferedImage image =
new BufferedImage(p.getWidth(), p.getHeight, BufferedImage.TYPE_INT_RGB);
Graphics2D g = image.createGraphics();
p.paint(g);
g.dispose(); -
How can I run a java-application on starting of Windows 2000
How can I run a java-application without any user on starting of Windows 2000?
For example, if the computer is restarted and nobody enter into it yet, my java-application should run anyway.
How can I do that?Hi, you have to put it in a Windows service.
To do this you have a program, Srvany.exe that allow to insert a .exe or .bat program in a Windows service.
For example, i develop a program, TomcatGuardian and i put it in a service because i need to run it in a server without Administrator logged in.
Regards,
Ivan. -
How can i apply this java program for a jsp page?
import java.io.*;
import java.util.*;
public class FileProcessing
//create a vector container for the input variables
Vector variables = new Vector();
//create a vector container for the constants
Vector constants = new Vector();
/*create a string expression container for the equation
as read from the file */
String expression = " ";
//create double result container for the final result
double result = 0;
public boolean processFile(String filename,String delim)
//index for values vector
int num_values = 0;
//index for constants vector
int num_constants = 0;
//current line being read from the external file.
String curline = " ";
//start reading from the external file
try
FileReader fr = new FileReader(filename);
BufferedReader br = new BufferedReader(fr);
while(true)
curline = br.readLine();
if(curline == null)
break;
//determine the type of current interaction
boolean variable = curline.startsWith("input");
boolean constant = curline.startsWith("constant");
boolean equation = curline.startsWith("equation");
boolean output = curline.startsWith("result");
//on input variables
if(variable)
StringTokenizer st = new StringTokenizer(curline,delim);
int num = st.countTokens();
int count=0;
while(st.hasMoreTokens())
String temp = st.nextToken();
if(count==1)
byte b[]= new byte[100];
System.out.println(temp);
System.in.read(b);
String inputval = (new String(b)).trim();
variables.add(num_values,inputval);
num_values++;
count++;
// on constant values
if(constant)
StringTokenizer st = new StringTokenizer(curline,delim);
int num = st.countTokens();
int count = 0;
while(st.hasMoreTokens())
String temp = st.nextToken();
if(count==1)
byte b[]= new byte[100];
System.out.println(temp);
System.in.read(b);
String cons = (new String(b)).trim();
constants.add(num_constants,cons);
num_constants++;
count++;
// on equation
if(equation)
StringTokenizer st = new StringTokenizer(curline,delim);
int num = st.countTokens();
int count = 0;
while(st.hasMoreTokens())
String temp = st.nextToken();
if(count==2)
this.expression = temp;
count++;
// now we are ready to evaluate the expression
if(output)
org.nfunk.jep.JEP myparser= new org.nfunk.jep.JEP();
myparser.setAllowAssignment(true);
for(int i=1;i<variables.size()+1;i++)
String name = "arg"+Integer.toString(i);
myparser.addVariable(name,new Double(variables.get(i-1)
.toString()).doubleValue());
for(int i=1;i<constants.size()+1;i++)
String name = "arg" +Integer.
toString(i+variables.size());
myparser.addConstant(name,new Double(constants.get(i-1).toString()));
//output is obtained as follows
myparser.parseExpression(expression);
result = myparser.getValue();
System.out.println("Assay value: "+result);
catch(Exception e)
System.out.println(e.toString());
return true;
public static void main(String[] args)
FileProcessing fp = new FileProcessing();
fp.processFile("input.eqn",":");
}//my text file name is: "input.eqn" (given below)
input:Enter Value1:arg1
input:Enter Value2:arg2
input:Enter Value3:arg3
constant:arg4
constant:arg5
Equation:arg1+arg2+arg3
result:how can i apply this java program for a jsp pagewhy do you want to do this ?
Your program reads from a file on the disk and formats based on a patterm.
Jsp is not intended for such stuff.
ram. -
How can I get the Java EE 5 Compatibility Test Suite?
How can I get the Java EE 5 Compatibility Test Suite?
which department should I contact with in oracle company in china ?
Who can tell me?
thanks.The title of this forum is...
Community Feedback and Suggestions (Do Not Post Product-Related Questions Here)
And you thought this was the appropriate place to post this question ?:| -
How can I get the java 2D java2D tutorials�H
How can I get the java 2D java2D tutorials which I dont need lookup it online?
The download link for all the Java tutorial is here:
http://java.sun.com/docs/books/tutorial/ -
How can i get a java application
how can i get a java application on my mac pro?
I'm not sure I understand the question. If the application is a standalone applet, you download it as you would any other application or file. If the applet is embedded in a web site, just go to the appropriate web page.
If you can provide more specifics about what it is you are trying to download/accomplish, perhaps we can be of more specific assistance.
Regards. -
How Can I get personal java example source?
i want to know how to program with p-java.
How Can I get personal java example source?
and where can i get them?pjava is pretty much the same as regular java 1.1.x, so you could just look at any java examples. www.javasoft.com has a learning center with tutorials if that's what you're looking for
-
How can I drop the java objects from a schema
hi..good afternoon all...
How can I drop the java objects from a database schema???
suppose the credentials are scott/tiger@db1
Another thing is that...I have to do this from cmd(command prompt) as there is no plsql developer or sqldeveloper installed in the machine.
plss help...thanks in advance...hi...i have already tried all the options..but it is showing the error..
ora:01435 - user does not exist
but when i have given the command...
select object type, object_name, status from user_objects where object_type like'%JAVA%';
then it is showing that the java_object is present....
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
SQL>
SQL>
SQL> set linesize 200
SQL>
SQL>
SQL>
SQL> select object_type, object_name, status from user_objects where object_type
like '%JAVA%';
OBJECT_TYPE OBJECT_NAME
STATUS
JAVA CLASS javaclass1
VALID
JAVA SOURCE javaclass1
VALID
SQL> drop java source javaclass1.java;
drop java source javaclass1.java
ERROR at line 1:
ORA-01435: user does not exist
SQL> -
How can I debug webdynpro java application?
hi,
How can I debug webdynpro java application?
ThanksCheck this document
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56
Also check this sdn thread Re: DeBugginng The WebDynPro Application particularly shailesh kumar posting
/padmanaban
Edited by: Padmanaban on Sep 26, 2008 1:55 AM
Maybe you are looking for
-
File-RFC-File (without BPM)- Issue
Hi All, I am working on a File-RFC-File (without BPM) scenario in PI 7.1. My scenario is having few problems like, its not able to delete the file from the source directory path (for which we have delete permissions) and it is an NFS system and it sh
-
Making a node in JTree non expandable
How do I make a node in a JTree non expandable. The nodes in the tree are DefaultMutableTreeNode. I have a tree with root R. It has children ch1, ch2, ch3. Nodes ch1 etc also have X number of children. What I want is if I click (either double click o
-
Where is the Album Information and Art?
I just purchased and downloaded my first album from the iTunes store. OK it cost less than if I bought the CD but it doesn't seem to have much information besides the songs themselves. Some of the songs don't even list the composer. And isn't there s
-
I am sorry if this is not the suitable newsgroup for my posting. I am using Eclipse. I have a package called com.group.code. If I want to use any class from this package, I import all java files from it in my current project and have import com.group
-
InDesign master page reformatting like Microsoft Powerpoint
Is there a way to which I can add in a right hand master page into an existing layout which would push the previous right hand page into a left hand master page format? Kind of like how Microsoft PowerPoint, where you can add in any type of master sl