Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!

muskaan gaffor

Ranch Hand
+ Follow
since May 19, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by muskaan gaffor

can any one please help me out
regards
muskhaan
12 years ago
Hi All,

I am getting following error while migrating the application in websphere from 5.1 to 6.1

I have done changes in code to remove the deprecated methods and apis.

am using ant tool to build my application.

if build each module Individually,Its getting build successfully.

While building a complete application, am getting following error
------------------------------------------------------

Starting workbench.
[exec] o0619.34framework search path: /opt/WAS6.1/deploytool/itp/plugins
[exec] Creating the project.
[exec] Opening ExternalServices. Importing JAR..META-INF/ Importing JAR..C.jar Importing JAR..D.jar Importing JAR..META-INF/application.xml Updating project classpaths... Opening ExternalServices_EJB. Importing JAR..META-INF/ejb-jar.xml Setting classpath for: ExternalServices_EJB Deploying jar ExternalServices_EJB
[exec] Validating
[exec] [*Warning] ejbModule/META-INF/ejb-jar.xml(Enterprise bean: ExternalService):
CHKJ2877W: Missing JNDI name for reference ExternalService : jdbc/TDMFIN
[exec] [*Warning] ejbModule/META-INF/ejb-jar.xml(Enterprise bean: ExternalService):
CHKJ2877W: Missing JNDI name for reference ExternalService : datasource/ABC
[exec] Generating deployment code
[exec] Processing session bean: ExternalService Refreshing /ExternalServices_EJB/ejbModule. Invoking Java Builder on /ExternalServices_EJB. Preparing for build Cleaning output folder Copying resources to the output folder Analyzing sources
[exec] Writing output file
[exec] Shutting down workbench.
[exec] EJBDeploy complete.0 Errors, 3 Warnings, 0 Informational Messages
[unjar] Expanding: /A/B/build/Lib/ExternalServicesOut.ear into /A/B/build/Lib
[copy] Copying 3 files to /A/B/build/Packages

-----------------------------------------------------------
please help me out

regards,
Mussy
12 years ago
Hi Cameron McKenzie,
thanks for your reply,

I have come with other error while migrating the application in websphere from 5.1 to 6.1

I have done changes in code to remove the deprecated methods and apis.

am using ant tool to build my application.

if build each module Individually,Its getting build successfully.

While building a complete application, am getting following error
------------------------------------------------------

Starting workbench.
[exec] o0619.34framework search path: /opt/WAS6.1/deploytool/itp/plugins
[exec] Creating the project.
[exec] Opening ExternalServices. Importing JAR..META-INF/ Importing JAR..C.jar Importing JAR..D.jar Importing JAR..META-INF/application.xml Updating project classpaths... Opening ExternalServices_EJB. Importing JAR..META-INF/ejb-jar.xml Setting classpath for: ExternalServices_EJB Deploying jar ExternalServices_EJB
[exec] Validating
[exec] [*Warning] ejbModule/META-INF/ejb-jar.xml(Enterprise bean: ExternalService):
CHKJ2877W: Missing JNDI name for reference ExternalService : jdbc/TDMFIN
[exec] [*Warning] ejbModule/META-INF/ejb-jar.xml(Enterprise bean: ExternalService):
CHKJ2877W: Missing JNDI name for reference ExternalService : datasource/ABC
[exec] Generating deployment code
[exec] Processing session bean: ExternalService Refreshing /ExternalServices_EJB/ejbModule. Invoking Java Builder on /ExternalServices_EJB. Preparing for build Cleaning output folder Copying resources to the output folder Analyzing sources
[exec] Writing output file
[exec] Shutting down workbench.
[exec] EJBDeploy complete.0 Errors, 3 Warnings, 0 Informational Messages
[unjar] Expanding: /A/B/build/Lib/ExternalServicesOut.ear into /A/B/build/Lib
[copy] Copying 3 files to /A/B/build/Packages

-----------------------------------------------------------

please help me out

regards,
Mussy
12 years ago
Hi ,
thanks for your time.

Actualy the migration is from websphere 5.1 to 6.1

I need the supporting jars details


thanks & regards

Mussy G.
12 years ago
Hi All,
could you please tell me the required jars supported by 6.1

thanks in advancce

regards,
muskhan
Hi All,
could you please tell me the required jars supported by 6.1

thanks in advancce

regards,
muskhan
12 years ago
Hi Alex,

I am in confusion.

I have recently cleared SCJP 1.5 with 87%. I got 4+ years of experience in coding.

Do I have to write.. scwcd or scjd? else can directly go for SCEA ?

could you plzz suggest me ..

regards,
Mussy.
Hi ranches,

can any one tell me,

what is the eligibility for take up the SCEA.?

If the person who is done either of SCJD or SCWCD , can take up the SCEA or have to go for both SCJD and SCWCD

Please correct me.

Thanks & Regards,
Mussy.
Hi All,

I cleared SCJP 5 with 87% yesterday.

Thanks to all ranchers, for answering all my doubts!!!

A Specil Thanks to Kathy & Berts for their superb book !!!



Regards,
Mussy G.
12 years ago
Are you sure??

Cause , I have used the same program and tried execute it.

Its showing no main method found.

regards,
Mussy
can we call constructor inside a constructor?

Like
public Hello(){
title +="world";
}
public Hello(int value){
this.value=value;
title = "Hello";
Hello(5); // line # 1
//Hello(); // line # 2

line # 1 - throws compilation err saying Hello(int) is undefined for the type Hello()

if I comment the line # 1 and use the line# 2 , am getting same compilation err --Hello() is undefined for the type Hello()

could any one please explain me?

regards,
Mussy.


}
-------------------------------------------------------------

int x=0; //line#1
public static void main(String d[]) { //line#2

classA a=new classA();

while(a.x<=0) { // line#3


will work fine
---------------------

public static void main(String d[]) { //line#4
int x=5; //line#5
while(x<=0) { // line#6

this compiles fine.

in this line#5 is not a static one.why is this not giving error?

--------------------------------------------------------------------------------
-------------------------------------------------------------

int x=0; //line#1
public static void main(String d[]) { //line#2

classA a=new classA();

while(a.x<=0) { // line#3


will work fine
---------------------

public static void main(String d[]) { //line#4
int x=5; //line#5
while(x<=0) { // line#6

this compiles fine.

in this line#5 is not a static one.why is this not giving error?

--------------------------------------------------------------------------------
int x=0; //line#1
public static void main(String d[]) { //line#2
while(x<=0) { // line#3

when i use the above code in my program, it will throw a error, cannot make a static reference to nonstatic fiel x.
---------------------

public static void main(String d[]) { //line#4
int x=5; //line#5
while(x<=0) { // line#6

this compiles fine.

the variables (non static) used in static method.why is not giving error?

regards,
Mussy
Ooopps!!! I am sorry...

the complete code is..

public class Currency {
private String country, name;
public getCountry() { return country; }//line # 1
}

class Dollar extends Currency {
public String getCountry() { return super.country; }// line # 2
}

class Inr extends Currency {
public String getCountry(String timeZone) {
return super.getCountry();//line # 3
}
}
Which statements are correct? (Choose two.)
A. Doller returns correct values.
B. Inr returns correct values.
C. An exception is thrown at runtime.
D. Doller and Inr both return correct values.
E. Compilation fails because of an error at line 2.
F. Compilation fails because of an error at line 3.

the code wont compile cause of line # 1.
if the line # 1 is corrected as
public String getCountry() { return country; }//line # 1
}

then the answer is E

regards,
Mussy