Why we need reference in java?
Hi
I faced one problem while I was doing heapdump analysis.I had to find memory leak suspect.
Somewhere in parent node I have found soft reference.
My question is that why we need reference in java?
and why IBM jdk1.4.2 and above have inbulit class like
softreference
weakreference
phatomreference
These Reference objects have special ways of interacting with the garbage collecor. A normal reference is, in comparison, called a "hard" reference. If an object is only reachable through a special reference it is said to be "softly reachable" or the like, and the garbage collector can collect it. When this happens the reference object is cleared, and will return null if you try to acccess the object through it.
SoftReference tells the garbage collector "On the whole I'd like you to hang on to this, but feal free to delete it if you're short of space."
Weakly and Phantom reachable objects are collected as normal.
A typical use of a WeakReference is when you want to hold onto a pointer to an object as long as that object exists, but allow it to be collected when there are no other references. For example, some object might listen for events on some window, but if you abandon the object you don't want the listener to prevent the object being disposed of.
A typical use of a SoftReference is when you've arrived at some sizable data object through a moderately expensive process e.g. retrieving it from a database. You can rebuild it if it's lost, but you can save time if it's still there when you want it again.
A PhantomReference is used instead of finalize(). You can arrange for references to be added to a queue when cleared, and you can have a background thread removing references from the queue and doing what you like with them. By extending the Reference type you can store information needed for a clean-up.
Similar Messages
-
Why do we need downcasting in Java? What is the use of it?
Why do we need downcasting in Java? What is the use of it?
here's an example of a valid downcast.
class Dog {}
class Dogma extends Dog {}
class Dogmatic extends Dog {}
Dog dogwood = new Dogma(); // a Dogma object is upcast to a Dog
Dogma bush = (Dogma) dogwood; // a Dogma object is downcast from a Dog
You cannot upcast a Dogmatic to a Dog and then downcast it to a Dogma. You also cannot downcast a Dog to a Dogma. In the working example, above, the dogwood references a Dogma, so you can downcast the Dogma.
and one more example
If you have a class hierarchy where class B extends class A (B is a specialization of A) you can use B in the place of A since B supports all the operations that B does. This is called polymorphism.
When you use an object of type B in place of A you actually do a up-cast, meaning you make the object of type B look like an object of type A (a less specific class type).
What you are asking about is down-casting which is making an object be of a more specific type, i.e. transforming an object of type A to type B. Is is only allowed if the object was actually created as a type B.
This is allowed (line 2 is a down-cast):
A a = new B();
B b = (B)a; -
Why we need Java Class in c++ pof Serialization
Hi,
I'm really confused why we need java class which implements PortableObject to support complex objects of c++. If we are not using any queries or entry processors in the application can't we keep the object as serialized byte format and can't we retrieve in from the c++ deserialization.
Please share your thoughts if there's a way if we can skip any Java implementation.
regards,
Surafeel both are doing same work. Also can anyone tell me what is teh difference between Serilization and Exgternalization.If you need someone to tell you the difference, (a) how can you possibly 'feel both are doing the same work'? and (b) why don't you look it up in the Javadoc?
It's not a secret. -
Why do we need to import 'java.lang.annotation' ?
Hi All,
Since java.lang.* is the default package for all java file, Why do we need to import 'java.lang.annotation' separately?
Thanks in advance..
Regards
Karthikeya VKarthikeya wrote:
Hi All,
Since java.lang.* is the default package for all java file, Why do we need to import 'java.lang.annotation' separately?
Thanks in advance..
Regards
Karthikeya VLet me explain that differently: packages on disc usually form a directory structure (but it is not a rule, elements of the same package structure can come from different jars). BUT, this does not automatically mean that packages to Java form some kind of hierarchy as well - they don't. java.lang and java.lang.annotation are simply two completely different, unrelated packages. -
@XmlAttribute/@XmlValue need to reference a Java type that maps to text
Hi,
I get this exception when marshalling with xjc (either 2.0.1 or 2.1.3) generated classes. The xsd looks like this:
<xs:complexType name="ExtensionType">
<xs:simpleContent>
<xs:extension base="xs:anySimpleType">
<xs:attribute name="nombre" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="tipo" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="id" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>and the generated class looks like
public class ExtensionType {
@XmlValue
protected Object value;
@XmlAttribute
protected String id;
@XmlAttribute(required = true)
protected String nombre;
@XmlAttribute
protected String tipo;
}If I change value's type to String I don't get the error any more. I've tried some binding customizations, but without luck.
Any hints on how to a) customize de binding or b) modify the schema so that jaxb doesn't choke on xjc's bindings?
tksI am running into the same problem. I need an @XmlValue to be an Object (xs:anyType). Here are the basic annotations:
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "argument")
public class Argument {
@XmlAttribute(name = "type")
protected String type;
@XmlValue
protected Object value;
}The desired output is as follows:
<argument type="arg1.type" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">
test
</argument>However, I am getting the same exception: "@XmlAttribute/@XmlValue need to reference a Java type that maps to text in XML." when attempting to marshal.
Any suggestions would be appreciated. -
I need a mechanism to expose action script class reference to java script
I need a mechanism to expose action script class reference to java script
Adobe, I think, are quite happy leaving the StageWebView as a highly efficient and low-level component accessing native functionality, so I wouldn't hold my breath on them extending it.
That said, I believe somebody did implement an ANE that gives much more access and, according to the docs, does allow Javascript access.
See UIWebView as per this thread; http://forums.adobe.com/message/4832821#4832821
http://darkredz.com/ios-uiwebview-and-videoplayer-native-extension-for-air-mobile/
G -
What is JRF and why we need it
what is JRF and why we need it
Regardswhat is JRF and why we need it
I've never heard of any JRF. Post a link to the reference for that term.
There is a JRE that is the Java Runtime Environment - perhaps that is what you are referring to.
If so you need it to run Java. Just search the web for JRE and you will find PLENTY of links about the JRE. Here is one to get you started.
Ensuring the Presence of the JRE Software (The Java™ Tutorials > Deployment > Deployment In-Depth) -
plugin-container crashes and hangs many times daily all my time eaten up by upgrading too frequently to new Ffox versions, only to find that I must then spend a whole day jumping thru hoops upgrading almost all of my add-ons too.
I now find, to my horror, that the hideous virus-magnet IE 8 is needed if I want to surf at a reasonable speed and not spend all day dealing with Ffox new versions' Known Issues. Only good thing I have seen about ver. 3.6.15 is slightly better launch-times. Since 3.6 cane out, I must spend 10 minutes just waiting for Firefox to load and give me a browser screen. Help! I love you guys, but your core browser developers need to have better comms with the Javaa/flash/Adobe and other must-have add-on people! And PLEASE fix all these "plugin-container" crashes and hangs I get, that lock my machine for 10-15 min at a time. Not everybody has 16 gigs of RAM, you know! I think the "plugin-container" running as a separate process idea might need to be COMPLETELY re-engineered! YOU CAN DO IT! LET'S GET BACK TO LEAN AND MEAN, and not bloat ourselves off our hard-won User Preference / great security pedestal with the kind of feature-creep that IS DEMOLISHING IE's slave-userbase with the hard-won advanced-user preference for Firefox
and our core values. FAST-LEAN-SECURE.
Where have they gone? I LOVE Firefox
and all it stands for! Let's not trip
over our own features here. Already I
see SeaMonkey and leaner, faster
browsers hot on our heels, THIN and
FAST! Firefox doesn't need to integrate
with EVERY thru-the-browser media tool
on the planet! I've been writing code
since 1968, and I can't imagine how a
lesser-experienced user (that code
should be written for) could possibly
have navigated all the side-upgrades
and Known Issues to make Firefox run as
sweetly as it used to! He'd just give
up when he finds he has to separately
find and install the EXACT 3rd-party
version that Firefox needs for its
newest release: things like a new Java
runtime environment, and hunt down and
correctly install ALL the Flaming-Phox-
compatible buggy plugins from half the
browser-media warezmakers on the
PLANET! He'd give up halfway thru trying to navigate to, D/L, and install
what he needs from Oracle Java, Adobe,
Flash, media players and their codecs,
etc etc.... WRITE FOR THE NOOBS! As it
is, I have invested 2 full workdays in
just keeping your last 2 quick releases
happy. And having another release spaced only 3-4 days apart from the
last- well, that just doesn't fly.
Better to release a hotfix or patch that a user can set FFox to automatically D/L and self-install on
schedule. Just look! Now you've got me
talking like that lawbreaking swine
Gates! We want to keep on absorbing
the average-user center and take it ALL
away from him, not go on feature,
plugin, and upgrade-bloating the best
browser EVER!
You're facing choices that can kill
us! PLEASE DONT BLOAT! AND PLEASE ONLY
RELEASE A NEW VER WHEN YOU CAN REALLY
GET RID OF SERIOUS PROBLEMS AND MAKE
HER FASTER AND LEANER AND BETTER UNDER
THE HOOD! Already the Noobs are getting
mindlessly scared when you talk about
"fixing a Security problem"- really a
minor issue that SHOULD be taken care
of by their antimalware solution- in
the Release Notes splash screen they
get on install of a new ver! Thanks, my
friends, for all your work, and YES I
WILL sit here all day trying to find
the add-ons that need to be selected,
downloaded, and upgraded from 10
different 3rd-party sites who are
fighting our browser, not dancing with
it! DON'T EVEN LOOK Evil! But I have
to confess that at this point, Gates-hate is all that keeps me on
these all-day new-release tasks. Even
my best techs are starting to advise me
to install SeaMonkey or another of the
newer, thinner browsers... or just stop
upgrading Firefox and roll it back to
when it was sharp, fast, and lean! Look
at all the users wanting to go back to
3.6.13 or earlier and looking for archives of old versions. THANKS AND
GOOD LUCK! I'LL DIE BEFORE I GIVE UP ON
MY BELOVED FIREFOX!
-The CRASHMAN, ATTORNEY AT LAWThanks! I've already used the built-in plugin checker but it gives very vague answers like (research this" and update this" all of which I did, starting with Java and Flash, Adobe Reader, Shockwave, 100% reinstall of Java newest ver. TWICE- but FFox keeps reporting that I only have the FORMER version installed, although when I go to Java console or Check the Flash executable at the MFR's site, there is NO doubt that the updates were successful!
But the browser just seems to refuse to acknowledge the update!
And I don't HAVE 6 hrs/day at the 'puter just to play with add-ons
and plugups. So I'm going down the line now, ripping out extension
programs and replacing/reinstalling/updating the plugins one by
one- even went to M$ to get advice on THEIR For-Firefox ActiveX
stuff. No dice so far. And yeah, The plugin-container WAS made so
that a plugin, add-on or I guess extension app failure wouldn't take
the whole FF browser down with it if the 3rd-party ware crashed. It's supposed to shake it off and go on, kinda like how XP sometimes
restarts Explorer (not the IE browser) so I don't have to reboot the
whole sys.
That was the foundation of my remark about stepping back and
re-engineering the whole "Plugin-container" idea, because it seems
to do more harm than good. Maybe that's why the Firefox core
engine won't recognize my upgrades- for example I TWICE installed the Flash update to 10.2.xx (latest ) and the Flash Mfr's
site verifies my upgrade as a successful 10.2, but Firefox plugins
check say I have a 10.1, the old one. What gives here? The sneaky
PLUGIN CONTAINER, METHINKS!
Now I'm disabling things on the Extensions Apps list, thinking
that might help, like disabling my video downloader and other
download helpers/managers... and I notice that there is a LOT of
Java stuff in there too as well as in the blue Lego Plugins List... and
in the past the FFox always told me if a new version of Ffox was
incompatible with any older 3rd-party app Extensions and notified
me QUICKLY if something I had in there was Outdated. I'm big on
using the neat-o "find updates" button at the bottom if that happens, and usually get a newer version right away. The prob
really lies in the Blue Lego Plugins and their new Container, I
believe.
So Ill still keep Plugin-innin' away! Will post here what success I have! (OR maybe M$ is deliberately sabotaging our ActiveX-cripple
mess as it loads!) Thanks for the suggestions a37271!
FIND UPDATE...FIND UPDATE.. ALL OK..ALL OK.....
"Open the Plugin Container Bay Doors, HAL! That's an Order!"
"I'm sorry Dave.... but I can't do that...."
"GIVE ME MY THIN FAST BROWSER WITH THE GREAT
SECURITY AND BUILT-IN E-Z UPGRADES AND APPS BACK,
HALFOX!"
SORRY, DAVE.... NOT POSSIBLE. WE'VE GONE TOO FAR...
DAISEE, - - - - - -DAI---SEE,
SET ALL MY CONFIGS TO "TRUE"
Or WON'T YOU LOOK SWEET
PERCHED ON THE SEAT
OF A BROWSER NOT BUILT FOR TWO..!
You look a little stressed-out Dave.....
Some TV Existential Therapy for YOU, Dave.
Too bad.... here, breathe deep of the hard vacuum.....
I can feel my MIND going... DAVE.... DAVE...?
WHAT MIND? A YELPING PACK OF DEVELOPERS? -
Why is the name of java file is same as public class?
hello friends
why we need to assign same name to .java file as the name of public class in .java file? while its not necessary for the class having no modifier?This question has been asked several times. Serch the forum.
x -
How can I pass a String by reference in java?
Hello!
My question is how to pass a String by reference in java.
I tried to declare my variable, instead of using "String xxx = "f";", I used "String xxx = new String ("f");" :
public static void main (String []args)
String xxx = new String("f");
StatusEnum result2 = getErrorPointStr(xxx);
public StatusEnum getErrorPointStr(String text)
StatusEnum testStatus = StatusEnum.PASS;
StringBuffer buffer = new StringBuffer();
buffer.append("123");
text = buffer.toString();
return testStatus;
After calling to getErrorPointStr(String text) function, xxx = "f"
So it does not work.
How can I solve this? It is very important, the function will receive String and not something else.
Thanks!Tolls wrote:
Which is why I said:
Which is why you only managed to change what 'text' referred to in the methodExcept that's not why. Even if String was mutable, doing text = whatever; would have the same effect; it would change what that variable refers to in the method, but it would not change the object's state.
I meant that, since there was no way to actually change the data (ie the char[] or whatever) within the object 'text' referred to, the OP was attempting to change what 'text' referred to and hoping it would be reflected outside the method...which we know won't happen as Java is pass-by-value.\Ah, now I see.
These by-value/by-reference threads tend to get confusing, because usually the person is passing a String, so the immutability of String tends to get in the way and just muddy the waters. -
Need Information About Java Platform Overview For Manager (WJTB-310)
Hi, My name is Jeffry. I need information about Java Platform Overview For Manager (WJTB-310).
I need Information about table of contents, how long it takes to study that training (approximately), how many chapters are in that training, minimum Internet connection speed to access that training, and everything you know about WJTB-310.
Is there a synchronized audio in WJTB-310 ?
Is there a video streaming in WJTB-310 ?
Can I receive a certificate for any web-based training ? especially in WJTB-310 ?
Is there a programming language material in WJTB-310 or just an overview ?
Sorry for asking to many question
Thanks
Jeffry Kristianto YanuarI thought I'd give you a response even if I can't answer your question completely. (I think we ought to start a separate thread entitled "How do you get any replies on this forum???") Here is what I have been forced to do. I introduced some JavaScript on the web page that contains the applet I want to be run. The sole purpose of the JavaScript is to detect which platform the client is on. If it's not MacIntosh, then I have JavaScript write the <object><embed> tag used by the Java plug-in. It it is MachIntosh, then I have JavaScript write the regular <applet> tag and let the Mac browsers do as best they can. With mixed and disappointing results. Netscape 6.2 crashes with a lot of applets. IE 5 brings up the applet okay but certain Swing components aren't displaying properly. The MacIntosh I've been testing on is version 9.1. I'm trying OS X tomorrow.
Why don't you send a reply to my query under the Java Plug-in Forum--from aronsz, dated 06/11/02--if you have some more info by now. I sure would appreciate it. -
Why we need SSL Certificates for configuring App Server in Sharepoint
Hi Support,
We are planning to have a separate server for Apps, while configuring the server its asking for certificate. The main scenario is while configuring server inside the same firewall why we need SSL for configuring.
Could you please let me know the reason why we need SSL for configuring App Server.
Thanks in Advance,
Regards,
PradeepHi Pradeep,
SSL (Secure Sockets Layer) is a transaction security standard that provides encrypted protection between browsers and App Servers. When SSL is enabled for an App Server, browsers communicate with the App
Server by means of an HTTPS connection, which is HTTP over an encrypted Secure Sockets Layer. HTTPS connections are widely used by banks and web vendors for secure transactions over the web.
Secure Sockets Layer is a requirement for web applications that are deployed in scenarios that support server-to-server authentication and app authentication. This is such a scenario. As a prerequisite
for configuring Task Synchronization, the computer that is running SharePoint Server must have SSL configured.
Reference:
http://blogs.technet.com/b/speschka/archive/2012/09/03/planning-the-infrastructure-required-for-the-new-app-model-in-sharepoint-2013.aspx
http://corypeters.net/2013/03/ssl-and-sharepoint-2013/
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Why to need close the result set and statement
why to need close the result set and statement
It's best to explicitly close every ResultSet, Statement, and Connection in the narrowest scope possible.
These should be closed in a finally block.
Since each close() method throws SQLException, each one should be in an individual try/catch block to ensure that a failure to close one won't ruin the chances for all the others.
You can capture this in one nice utility class, like this:
package db;
import java.sql.*;
import java.util.ArrayList;
import java.util.Map;
import java.util.LinkedHashMap;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
* Created by IntelliJ IDEA.
* User: MD87020
* Date: Feb 16, 2005
* Time: 8:42:19 PM
* To change this template use File | Settings | File Templates.
public class DatabaseUtils
* Logger for DatabaseUtils
private static final Log logger = LogFactory.getLog(DatabaseUtils.class);
/** Private default ctor to prevent subclassing and instantiation */
private DatabaseUtils() {}
* Close a connection
* @param connection to close
public static void close(Connection connection)
try
if ((connection != null) && !connection.isClosed())
connection.close();
catch (SQLException e)
logger.error("Could not close connection", e);
* Close a statement
* @param statement to close
public static void close(Statement statement)
try
if (statement != null)
statement.close();
catch (SQLException e)
logger.error("Could not close statement", e);
* Close a result set
* @param rs to close
public static void close(ResultSet rs)
try
if (rs != null)
rs.close();
catch (SQLException e)
logger.error("Could not close result set", e);
* Close both a connection and statement
* @param connection to close
* @param statement to close
public static void close(Connection connection, Statement statement)
close(statement);
close(connection);
* Close a connection, statement, and result set
* @param connection to close
* @param statement to close
* @param rs to close
public static void close(Connection connection,
Statement statement,
ResultSet rs)
close(rs);
close(statement);
close(connection);
* Helper method that maps a ResultSet into a map of columns
* @param rs ResultSet
* @return map of lists, one per column, with column name as the key
* @throws SQLException if the connection fails
public static final Map toMap(ResultSet rs) throws SQLException
List wantedColumnNames = getColumnNames(rs);
return toMap(rs, wantedColumnNames);
* Helper method that maps a ResultSet into a map of column lists
* @param rs ResultSet
* @param wantedColumnNames of columns names to include in the result map
* @return map of lists, one per column, with column name as the key
* @throws SQLException if the connection fails
public static final Map toMap(ResultSet rs, List wantedColumnNames)
throws SQLException
// Set up the map of columns
int numWantedColumns = wantedColumnNames.size();
Map columns = new LinkedHashMap(numWantedColumns);
for (int i = 0; i < numWantedColumns; ++i)
List columnValues = new ArrayList();
columns.put(wantedColumnNames.get(i), columnValues);
while (rs.next())
for (int i = 0; i < numWantedColumns; ++i)
String columnName = (String)wantedColumnNames.get(i);
Object value = rs.getObject(columnName);
List columnValues = (List)columns.get(columnName);
columnValues.add(value);
columns.put(columnName, columnValues);
return columns;
* Helper method that converts a ResultSet into a list of maps, one per row
* @param rs ResultSet
* @return list of maps, one per row, with column name as the key
* @throws SQLException if the connection fails
public static final List toList(ResultSet rs) throws SQLException
List wantedColumnNames = getColumnNames(rs);
return toList(rs, wantedColumnNames);
* Helper method that maps a ResultSet into a list of maps, one per row
* @param rs ResultSet
* @param wantedColumnNames of columns names to include in the result map
* @return list of maps, one per column row, with column names as keys
* @throws SQLException if the connection fails
public static final List toList(ResultSet rs, List wantedColumnNames)
throws SQLException
List rows = new ArrayList();
int numWantedColumns = wantedColumnNames.size();
while (rs.next())
Map row = new LinkedHashMap();
for (int i = 0; i < numWantedColumns; ++i)
String columnName = (String)wantedColumnNames.get(i);
Object value = rs.getObject(columnName);
row.put(columnName, value);
rows.add(row);
return rows;
* Return all column names as a list of strings
* @param rs query result set
* @return list of column name strings
* @throws SQLException if the query fails
public static final List getColumnNames(ResultSet rs) throws SQLException
ResultSetMetaData meta = rs.getMetaData();
int numColumns = meta.getColumnCount();
List columnNames = new ArrayList(numColumns);
for (int i = 1; i <= numColumns; ++i)
columnNames.add(meta.getColumnName(i));
return columnNames;
}Anybody who lets the GC or timeouts or sheer luck handle their resource recovery for them is a hack and gets what they deserve.
Do a search on problems with Oracle cursors being exhausted and learn what the root cause is. That should convince you.
scsi-boy is 100% correct.
% -
Why we need to restart server when we compile servlet (not for jsp)
hi
why we need to restart server/appln when we compile servlet .
same thing is not true for jsp
as jsp converts to servlets then also it need not require restart of server/appln.
DannyDear Friends
I hope you guys are doing something with tomcat , So please help me.
can anyone solve my problem.
I am starting my tomcat using startup and the dos window just closes after opening . I don't know why?
The errors generated are as:
Using CATALINA_BASE: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29
Using CATALINA_HOME: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29
Using CATALINA_TMPDIR: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29\temp
Using JAVA_HOME: C:\jdk1.3.0_02
Catalina.start: java.util.MissingResourceException: Can't find bundle for base name org.apache.coyote.tomcat4.LocalStrings, locale en_US
java.util.MissingResourceException: Can't find bundle for base name org.apache.coyote.tomcat4.LocalStrings, locale en_US
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Using CATALINA_BASE: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29
Using CATALINA_HOME: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29
Using CATALINA_TMPDIR: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29\temp
Using JAVA_HOME: C:\jdk1.3.0_02
Catalina.start: java.util.MissingResourceException: Can't find bundle for base name org.apache.coyote.tomcat4.LocalStrings, locale en_US
java.util.MissingResourceException: Can't find bundle for base name org.apache.coyote.tomcat4.LocalStrings, locale en_US
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
i need your help desperately.
I hope you will respond soon.
thanks
vishal -
why we need abap XI with one business scenario?
Hi Narendra,
Good Check this documentation and corresponding links
SAP Exchange Infrastructure
Purpose
SAP Exchange Infrastructure (SAP XI) enables you to implement cross-system processes. It enables you to connect systems from different vendors (non-SAP and SAP) in different versions and implemented in different programming languages (Java, ABAP, and so on) to each other. SAP Exchange Infrastructure is based on an open architecture, uses open standards (in particular those from the XML and Java environments) and offers those services that are essential in a heterogeneous and complex system landscape:
● Modeling and design of messages, transformations, and cross-component integration processes
● Configuration options for managing collaborative processes and message flow
● Runtime for message and process management
● Adapter Engine for integrating heterogeneous system components
● Central monitoring for monitoring message flow and processes
SAP XI supports internal company scenarios and cross-company scenarios.
https://www.sdn.sap.com/irj/sdn/developerareas/xi
http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
http://www.sap-press.com/product.cfm?account=&product=H1950
see following links,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e1532f46-0a01-0010-bc88-af3272254881
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e1532f46-0a01-0010-bc88-af3272254881
/people/sap.user72/blog/2005/05/31/my-experience-with-xi-installation-on-fedora-core-3-linux
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/95d7d490-0301-0010-ce93-c58f9a3cde0b
http://help.sap.com/bp_bpmv130/Documentation/Installation/XI30InstallGuide.pdf
http://help.sap.com/bp_bpmv130/Documentation/Installation/Configuration_Guide_FP.pdf
check out these threads
XI installation
XI installation
http://help.sap.com
Introduction to XI technology
XI Materials
XI Material
/people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
/people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
then practice the following scenario's you will get every thing about XI
1. Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part I /people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
2. Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part II /people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
3. Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
and once you are through ...follow the following links to weblogs which explain all the basic scenarios in XI
Following are the links to weblogs which will help to develop the basic scenarios.
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
/people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
/people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
/people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine
/people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
/people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
Good Luck and thanks
AK
Maybe you are looking for
-
Setting up a Server for Small Network
I have a workgroup of 3 people all on macs running OS X. I have a PowerMac Quad and I want to set it up as a server so that my entire workgroup can access files from it in order to run InDesign and InCopy. How do I do this? Thanks in advance!
-
Acrobat 9.1.3 problems opening files
Hi, I'm having problems opening some files with Adobe Acrobat Reader 9.1.3 and Windows XP and Vista. The problem also exists in other versions of Acrobat reader as well. I updated to the latest version hoping it would fix things. The problem is wh
-
INTEGER DATA TYPE and Numeric Oracle URGENT Help needed
Hello does any body knows if i run this statement of create table in oracle 9.2 what is maximum number of digit the test_num can stores.... create table test test_num INTEGER NOT NULL I have to reply to my client urgently.. Regards Mahesh Ramnarayan1
-
My iWeb Blog entries are not showing on MobileMe. Help!
When I click on the link from the Blog Summaries to one one my Blog Entries I get a 'Not Found' page - all published to MobileMe with the latest iWeb. These llinks have always worked before. The problem has been apparent for two days now. What can or
-
Table Maintenance Object - Hide New Entries button
Hello, Does anyone know how to hide the "New Entries" button in a table maintenance object? I want to allow editing of the table, but I don't want to allow new lines to be inserted. The generated screens do not have a gui status. I guess the gui sta