Class dependencies
Hi, I have created an Applet using forte. I can run it in forte but when I put it in the broswer it complains about not finding some classes. I can try to find where all those classes are but most are in big jar files.
I was wondering is there a way or maybe a tool that can look for dependencies and put only those classes into one jar file. so the size of the applet is small. and would make sure that it would run on any browser?
or do I have to do something else?
look at sourceforge, i think there is a project being developed that will work out dependencies.
Similar Messages
-
Tracking down rogue class dependencies
Hi,
This is a bit of a wierd one, and it could well be that it's late at night and I'll suddenly realise I'm being terribly stupid tomorrow morning.
I have an issue that I have a base class in that when I load it, it also loads all of its child classes and as it's a fairly big project makes everything horrendously slow. I've done the right click on dependencies and selected 'Why in dependencies?' for clues and it points to 2 VI's that are called from child classes, but it still doesn't explain why all of these child classes should be loaded.
Does anyone have any advice or strategies for trying to figure out why this is happenning - is it something VI Analyzer might find?
Any advice greatly received,
Thanks,
Dave
David Clark
CLA | CTA
CLA Design Ltd
Hampshire, EnglandTwo thoughts:
Are the classes all in a library together? I think that a library does load all the classes that it owns when it's loaded.
Is it possible that you have controls/indicators/constants somewhere with default data which includes the child classes? That would cause them to be loaded.
Also, if the class points to a VI in the class, check to see where that VI is called.
Try to take over the world! -
Hi,
I was curious if anyone has or knows of a way to determine the dependencies for a given class. For example...
Example
package people;
import java.util.List;
import pet.*;
public class Bob {
Pet[] pets;
List todoList;
// ...other code here
package pets;
import cool.stuff.*;
public class Pet {
private String name;
// ....other code here
}Ok, so in this case if I want to know what dependencies the "Bob" class has I can easily look at the import statements and see Bob needs java.util.List and all classes in the "pets" package.
What i am interested in is gathering a list of classes needed by "Bob" inclusive. So in this case it would be something like...
Bob needs...
pets.*
Pet needs...
cool.stuff.*
so the list would include, people\Bob.java, pets\Pet.java (because the pets package in my case only contains one class, and all classes in cool\stuff.
So how can I get this list? I saw a class in the Ant API called DependencyAnalyzer which may work for this...but I have no clue how to use it ( i am still looking for an example of where / how it is used).
Thanks.Hi,
I was curious if anyone has or knows of a way to
to determine the dependencies for a given class.You would obviously need some tool to do that. I guess you have done some research as you've found the Ant task mentioned, but I don't know that you really have researched.
http://www.google.com/search?hl=en&q=Java+dependency+analyze
Seems there are some tools out there. The only thing I would add is that you really can't be 100% sure that any tool will be totally accurate. They would pretty much have to run your code and have 100% code coverage executed to tell what all the dependencies are. Most code is never totally covered, as there are exception conditions which may never be met, for example. -
Class dependencies with Ant?
The "Show Dependencies" functionality for Java classes doesn't work because I use Ant as the build system:
Message
showDeps.ShowDepsNoDepBuildSystem: Cannot show dependencies as the projects build system does not support this.
Cause
The build system for the project (e.g. Ant) you are using does not support generation of dependencies that this feature requires.
Action
Switch to a build system that does support generation of dependency information. The standard JDeveloper build system supports this.
Now is there a way that I can configure Ant to create this dependency information (maybe by using the Oracle compiler in JDeveloper)?At this time there is no way to configure this feature to work when using the Ant build system. It is possible to use the Oracle Java Compiler from within your Ant buildfile. However, due to the arbitrary content of an Ant buildfile, JDeveloper still has no way of knowing if the resulting compilation will produce all the information needed for an accurate dependency analysis. Therefore, this feature is disabled when using the Ant build system. A possible solution might be to configure your project to use the normal JDeveloper build system to enable this feature, and run Ant manually by right clicking on the buildfile in the System Navigator and selecting the target you want to bulid.
-Matt Hawkins, JDeveloper Team -
Question about view/controller/nib class design
Assume you need to make an application with, let's say, 15 different views in total. There are two extreme design choices you can use to implement the app:
1) Every single view has its own view controller and a nib file. Thus you end up with 15 controller classes and 15 nib files (and possibly a bunch of view classes if any of your views needs to be somehow specialized).
2) You have only one controller which manages all the views, and one nib file from which they are loaded.
AFAIK Apple and many books recommend going purely with option #1. However, going with this often results in needless complexity, large amounts of classes (and nib files) to be managed and complicated class dependencies, especially if some of the views (and thus their controllers) interact with each other or share something (something which would be greatly simplified if all these related views were handled by one single controller class).
Option #2 also usually ends up being very complex. The major problem is that the single controller will often end up being enormous, handling tons of different (and usually unrelated) things (which is just outright bad design). This is seldom a good design, unless your application consists of only a few views which are closely related to each other (and thus it makes sense for one single controller class to handle them).
(Option #2 also breaks the strictest interpretation of the MVC pattern, but that's not really something I'm concerned about. I'm concerned about simple design, not about following a programming pattern to the letter.)
A design somewhere in between the two extremes often seems to be the best approach. However, since I don't have decades of Cocoa programming experience, I would like to hear some opinions about this subject matter from people with more experience on that subject. (I do have object-oriented programming experience, but I have only relatively recently started programming for the iPhone and thus Cocoa and its design patterns are relatively new to me, so I'm still learning.)Somehow I get the feeling that my question was slightly misunderstood.
I was not asking "which one of these two designs do you think is better, option #1 or option #2?" I already said in my original post that option #2 is bad design (unless your application consists of just one or two views). That's not the issue.
The issue is that from my own experience trying to adhere very strictly to the "every single view must have its own view controller and nib file" often results in needless complexity. Of course this is not always the case, but sometimes you end up having controller classes which perform very similar, if not even the exact same actions, resulting in code repetition. (An OO'ish solution to this problem would be to have a common base class for these view controllers where the common functionality has been grouped, but this often just adds to the overall complexity of the class hierarchy rather than alleviating it.)
As an example, let's assume that you have a set of help screens (for example one help screen for each major feature of the app) and a view where you can select which help view to show. Every one of these views has, for example, a button to immediately exit the help system. If you had one single controller class managing these views, this becomes simpler: The controller can switch between any of the views and the buttons of each view (most of them doing the same things) can call back actions on this controller (eg. to return to the help selection or to exit the help screen completely). These help screens don't necessarily have any functionality of their own, so it's questionable what do they would need view controllers of their own. These view controllers would basically be empty because there's nothing special for them to do.
View controllers might make it easy to use the navigation controller class, but the navigation controller is suitable mainly for utility apps but often not for things like games. (And if you need animated transitions between views, that can be implemented using the UIView animation features.)
I also have hard time seeing the advantages of adhering strictly to the MVC pattern. The MVC pattern is useful in things like web servers, where MVC adds flexibility. The controller acts as a mediator between the database and the user interface, and it does so in such an abstract way that either one can be easily changed (eg. the "view", which normally outputs HTML, could be easily changed to a different "view" which outputs a PDF or even plain text, all this without having to touch the controller or the model at all). However, I'm not seeing the advantages of the MVC pattern in an iPhone app. It provides a type of class design, but why is it better than some other class design? It's not like the input and output formats of the app need to be changed on the fly (which is one advantage of a well-designed program using the MVC pattern). -
Adding Java Fact Classes not erroring, but not adding the facts/classes
I'm attempting to build Rule dictionaries modeled after maven modules of the project I'm working on. First I created a dictionary "common" with common classes added as Java facts. Second I created a dictionary "domain". In the "domain" dictionary I linked the "common" dictionary and added some domain specific classes as java facts. Finally I created a "product" dictionary. The product dictionary links the "domain" dictionary. When I look at the facts in the "product" dictionary I see all the facts from "common" and "domain" linked in. When I attempt to add more facts to the "product" dictionary I can find the classes in the classpath without a problem. However when I select the classes I wanted added as java facts and click "OK" in JDevelopers 'Create Java Fact' Dialog none of the facts are added. I cannot find any error or explanation for why they were not added. I believe I have all class dependencies of these java facts already added in the "common" and "domain" dictionaries I have linked in. Any help in how to resolve this would be appreciated - or even some general guidelines on how to build and maintain dictionaries.
Thanks,
MikeHello, I seem to have the same problem as you. Have you found a solution to this?
See my thread here: Oracle Rules: Adding Java Facts - not showing up in list. -
EXCEPTION_ACCESS_VIOLATION Problem
Hello,
Everytime I launch this Tivoli TME client I get this access Violation error. I have un-install java and re-installed it with the same result. It use to work fine but now just does a dump. Reloaded the program on other pc's and it works fine.
NULL ------------------------------------------------------------------------
0SECTION TITLE subcomponent dump routine
NULL ===============================
1TISIGINFO signal 11 received
1TIDATETIME Date: 2011/12/29 at 12:46:01
1TIFILENAME Javacore filename: C:\Tivoli\TEC39FP8\javacore.20111229.124601.2836.txt
NULL ------------------------------------------------------------------------
0SECTION XHPI subcomponent dump routine
NULL ==============================
1XHEXCPCODE Exception code: C0000005 Access Violation
1XHEXCPADDRESS Fault address: 700D6DC3 01:000D5DC3
1XHEXCPMODULE Fault module: C:\Tivoli\TEC39FP8\jre\bin\awt.dll
NULL
1XHREGISTERS Registers:
2XHREGISTER EAX:00000002
2XHREGISTER EBX:08246338
2XHREGISTER ECX:07BEEA8C
2XHREGISTER EDX:A38E5000
2XHREGISTER ESI:00000000
2XHREGISTER EDI:701178E8
2XHREGISTER CS:EIP:001B:700D6DC3
2XHREGISTER SS:ESP:0023:07BEE9C0 EBP:00000015
2XHREGISTER DS:0023 ES:0023 FS:003B GS:0000
NULL
1XHFLAGS Flags:00010202
NULL
NULL ------------------------------------------------------------------------
0SECTION CI subcomponent dump routine
NULL ============================
1CIJAVAVERSION J2RE 1.4.2 IBM Windows 32 build cn142-20070317 (SR8)
1CIRUNNINGAS Running as a standalone JVM
1CICMDLINE C:\Tivoli\TEC39FP8\jre\bin\javaw.exe -Djavax.net.ssl.trustStore=C:\Tivoli\TEC39FP8\jcf.jks -Dnv_inst_flag=NO -Dnvwc.cwd= -Dnvwc.java=C:\Tivoli\TEC39FP8\jre\bin\java.exe -classpath C:\Tivoli\TEC39FP8\log.jar;C:\Tivoli\TEC39FP8\evd.jar;C:\Tivoli\TEC39FP8\tec_console.jar;C:\Tivoli\TEC39FP8\jhall.jar;C:\Tivoli\TEC39FP8\jrim.jar;C:\Tivoli\TEC39FP8\avail_common.jar;C:\Tivoli\TEC39FP8\console.jar;C:\Tivoli\TEC39FP8\ibmjsse.jar;C:\Tivoli\TEC39FP8\jcf.jar;C:\Tivoli\TEC39FP8\jsafe.zip;C:\Tivoli\TEC39FP8\uif.jar;C:\Tivoli\TEC39FP8\jcchart362J-classes.zip;C:\Tivoli\TEC39FP8\tec_ui_svr.jar;C:\Tivoli\TEC39FP8\tec_ui_svr_stubs.jar;C:\Tivoli\TEC39FP8\tec_svr.jar;C:\Tivoli\TEC39FP8\tec_svr_stubs.jar;C:\Tivoli\TEC39FP8\java-getopt-1.0.6.jar;; -DINTERP=w32-ix86 -DDISPLAY= com.tivoli.tec.console.EnterpriseConsoleLauncher
1CIJAVAHOMEDIR Java Home Dir: C:\Tivoli\TEC39FP8\jre
1CIJAVADLLDIR Java DLL Dir: C:\Tivoli\TEC39FP8\jre\bin
1CISYSCP Sys Classpath: C:\Tivoli\TEC39FP8\jre\lib\core.jar;C:\Tivoli\TEC39FP8\jre\lib\graphics.jar;C:\Tivoli\TEC39FP8\jre\lib\security.jar;C:\Tivoli\TEC39FP8\jre\lib\server.jar;C:\Tivoli\TEC39FP8\jre\lib\xml.jar;C:\Tivoli\TEC39FP8\jre\lib\charsets.jar;C:\Tivoli\TEC39FP8\jre\lib\ibmcertpathprovider.jar;C:\Tivoli\TEC39FP8\jre\lib\ibmjaasactivelm.jar;C:\Tivoli\TEC39FP8\jre\lib\ibmjaaslm.jar;C:\Tivoli\TEC39FP8\jre\lib\ibmjcefw.jar;C:\Tivoli\TEC39FP8\jre\lib\ibmjgssprovider.jar;C:\Tivoli\TEC39FP8\jre\lib\ibmjssefips.jar;C:\Tivoli\TEC39FP8\jre\lib\ibmjsseprovider.jar;C:\Tivoli\TEC39FP8\jre\lib\ibmorb.jar;C:\Tivoli\TEC39FP8\jre\lib\ibmorbapi.jar;C:\Tivoli\TEC39FP8\jre\lib\ibmpkcs.jar
1CIUSERARGS UserArgs:
2CIUSERARG vfprintf 0x4030F0
2CIUSERARG -Djavax.net.ssl.trustStore=C:\Tivoli\TEC39FP8\jcf.jks
2CIUSERARG -Dnv_inst_flag=NO
2CIUSERARG -Dnvwc.cwd=
2CIUSERARG -Dnvwc.java=C:\Tivoli\TEC39FP8\jre\bin\java.exe
2CIUSERARG -DINTERP=w32-ix86
2CIUSERARG -DDISPLAY=
2CIUSERARG -Dinvokedviajava
2CIUSERARG -Djava.class.path=C:\Tivoli\TEC39FP8\log.jar;C:\Tivoli\TEC39FP8\evd.jar;C:\Tivoli\TEC39FP8\tec_console.jar;C:\Tivoli\TEC39FP8\jhall.jar;C:\Tivoli\TEC39FP8\jrim.jar;C:\Tivoli\TEC39FP8\avail_common.jar;C:\Tivoli\TEC39FP8\console.jar;C:\Tivoli\TEC39FP8\ibmjsse.jar;C:\Tivoli\TEC39FP8\jcf.jar;C:\Tivoli\TEC39FP8\jsafe.zip;C:\Tivoli\TEC39FP8\uif.jar;C:\Tivoli\TEC39FP8\jcchart362J-classes.zip;C:\Tivoli\TEC39FP8\tec_ui_svr.jar;C:\Tivoli\TEC39FP8\tec_ui_svr_stubs.jar;C:\Tivoli\TEC39FP8\tec_svr.jar;C:\Tivoli\TEC39FP8\tec_svr_stubs.jar;C:\Tivoli\TEC39FP8\java-getopt-1.0.6.jar;;
2CIUSERARG vfprintf
NULL
1CIJVMMI JVM Monitoring Interface (JVMMI)
NULL ------------------------
2CIJVMMIOFF No events are enabled.
NULL
NULL ------------------------------------------------------------------------
0SECTION DC subcomponent dump routine
NULL ============================
1DCHEADEREYE Header eye catcher DCST
1DCHEADERLEN Header length 24
1DCHEADERVER Header version 1
1DCHEADERMOD Header modification 0
1DCINTERFACE DC Interface at 0x70DC039C with 15 entries
2DCINTERFACE 1 - dcCString2JavaString 0x70CCF0C0
2DCINTERFACE 2 - dcInt642CString 0x70CCF280
2DCINTERFACE 3 - dcJavaString2NewCString 0x70CCF4A0
2DCINTERFACE 4 - dcJavaString2CString 0x70CCF3C0
2DCINTERFACE 5 - dcJavaString2NewPlatformString 0x70CCF5F0
2DCINTERFACE 6 - dcJavaString2UTF 0x70CCF990
2DCINTERFACE 7 - dcPlatformString2JavaString 0x70CCF710
2DCINTERFACE 8 - dcUnicode2UTF 0x70CCF8C0
2DCINTERFACE 9 - dcUnicode2UTFLength 0x70CCF830
2DCINTERFACE 10 - dcUTF2JavaString 0x70CCFD60
2DCINTERFACE 11 - dcUTFClassName2JavaString 0x70CD0060
2DCINTERFACE 12 - dcJavaString2ClassName 0x70CCFA60
2DCINTERFACE 13 - dcUTF2UnicodeNext 0x70CD02E0
2DCINTERFACE 14 - dcVerifyUTF8 0x70CD03D0
2DCINTERFACE 15 - dcDumpRoutine 0x70CD0A60
1DCARRAYINFO Array info at 0x70D749A8 with 16 entries
2DCARRAYINFO 1 - index 0 signature 0 name N/A factor 0
2DCARRAYINFO 2 - index 0 signature 0 name N/A factor 0
2DCARRAYINFO 3 - index 2 signature L name class[] factor 4
2DCARRAYINFO 4 - index 0 signature 0 name N/A factor 0
2DCARRAYINFO 5 - index 4 signature Z name bool[] factor 1
2DCARRAYINFO 6 - index 5 signature C name char[] factor 2
2DCARRAYINFO 7 - index 6 signature F name float[] factor 4
2DCARRAYINFO 8 - index 7 signature D name double[] factor 8
2DCARRAYINFO 9 - index 8 signature B name byte[] factor 1
2DCARRAYINFO 10 - index 9 signature S name short[] factor 2
2DCARRAYINFO 11 - index 10 signature I name int[] factor 4
2DCARRAYINFO 12 - index 11 signature J name long[] factor 8
2DCARRAYINFO 13 - index 0 signature 0 name uint[] factor 0
2DCARRAYINFO 14 - index 0 signature 0 name uint1[] factor 0
2DCARRAYINFO 15 - index 0 signature 0 name uint2[] factor 0
2DCARRAYINFO 16 - index 0 signature 0 name uint3[] factor 0
NULL ------------------------------------------------------------------------
0SECTION DG subcomponent dump routine
NULL ============================
1DGTRCENABLED Trace enabled: Yes
2DGTRCTYPE Trace: Internal
2DGTRCBUFFERS Buffer specification: 8k
2DGTRCBUFALLOC Buffers allocated: 0
2DGTRCBUFUSED Buffers in use: 0
1DGJDUMPBUFF Javadump buffer size (allocated): 2621440
NULL ------------------------------------------------------------------------
0SECTION ST subcomponent dump routine
NULL ============================
1STGCMODES Resettable GC: No
1STGCMODES Concurrent GC: No
1STCURHBASE Current Heap Base: 0x100401FC
1STCURHLIM Current Heap Limit: 0x108BFBFC
1STMWHBASE Middleware Heap Base: 0x100401FC
1STMWHLIM Middleware Heap Limit: 0x108BFBFC
1STGCHELPERS Number of GC Helper Threads: 1
1STJVMOPTS -Xconcurrentlevel: 0
1STJVMOPTS -Xconcurrentbackground: 0
1STGCCTR GC Counter: 7
1STAFCTR AF Counter: 7
1STHEAPFREE Bytes of Heap Space Free: 1adcb0
1STHEAPALLOC Bytes of Heap Space Allocated: 87fa00
1STSMBASE SM Base: 0x0
1STSMEND SM End: 0x0
1STPAMSTART PAM Start: 0x0
1STPAMEND PAM End: 0x0
1STCOMACTION Compact Action: 0
NULL ------------------------------------------------------------------------
0SECTION XE subcomponent dump routine
NULL ============================
1XETHRESHOLD MMI threshold for java methods is set to 2000
1XEJITINIT JIT is initialized
1XEJVMPIOFF JVMPI is not activated
1XEJNITHRESH MMI threshold for JNI methods is set to 0
1XETRCHIS Trace history length is set to 4
1XEJITDUMP JIT dump routine is not yet implemented.
NULL ------------------------------------------------------------------------
0SECTION LK subcomponent dump routine
NULL ============================
NULL
1LKPOOLINFO Monitor pool info:
2LKPOOLINIT Initial monitor count: 32
2LKPOOLEXPNUM Minimum number of free monitors before expansion: 5
2LKPOOLEXPBY Pool will next be expanded by: 16
2LKPOOLTOTAL Current total number of monitors: 32
2LKPOOLFREE Current number of free monitors: 29
NULL
1LKMONPOOLDUMP Monitor Pool Dump (flat & inflated object-monitors):
2LKMONINUSE sys_mon_t:0x002BBC90 infl_mon_t: 0x000386A8:
3LKMONOBJECT java.lang.ref.Reference$Lock@100C2990/100C2998: <unowned>
3LKNOTIFYQ Waiting to be notified:
3LKWAITNOTIFY "Reference Handler" (0x7014808)
2LKMONINUSE sys_mon_t:0x002BBCD8 infl_mon_t: 0x000386D4:
3LKMONOBJECT java.lang.ref.ReferenceQueue$Lock@100C26C8/100C26D0: <unowned>
3LKNOTIFYQ Waiting to be notified:
3LKWAITNOTIFY "Finalizer" (0x7016BA8)
2LKMONINUSE sys_mon_t:0x002BBD20 infl_mon_t: 0x00038700:
3LKMONOBJECT javax.swing.TimerQueue@104FFE50/104FFE58: <unowned>
3LKNOTIFYQ Waiting to be notified:
3LKWAITNOTIFY "TimerQueue" (0x8082290)
NULL
1LKREGMONDUMP JVM System Monitor Dump (registered monitors):
2LKREGMON JITC PIC Lock (0x070DE440): <unowned>
2LKREGMON JITC CHA lock (0x070C8748): <unowned>
2LKREGMON JITC MB UPDATE lock (0x07610070): <unowned>
2LKREGMON JITC Global_Compile lock (0x07610020): <unowned>
2LKREGMON Free Class Loader Cache Entry lock (0x0003A490): <unowned>
2LKREGMON IO lock (0x0003A448): <unowned>
2LKREGMON Evacuation Region lock (0x0003A3B8): <unowned>
2LKREGMON Heap Promotion lock (0x0003A370): <unowned>
2LKREGMON Sleep lock (0x0003A328): <unowned>
2LKREGMON Method trace lock (0x0003A2E0): <unowned>
2LKREGMON Heap lock (0x0003A1C0): owner "TivoliEnterpriseConsoleLauncher" (0x80B4138), entry count 1
2LKREGMON Monitor Cache lock (0x0003A130): owner "TivoliEnterpriseConsoleLauncher" (0x80B4138), entry count 1
2LKREGMON JNI Pinning lock (0x0003A208): <unowned>
2LKREGMON JNI Global Reference lock (0x0003A178): <unowned>
2LKREGMON Classloader lock (0x0003A298): <unowned>
2LKREGMON Binclass lock (0x0003A0E8): <unowned>
2LKREGMON Thread queue lock (0x002B2838): owner "TivoliEnterpriseConsoleLauncher" (0x80B4138), entry count 1
3LKNOTIFYQ Waiting to be notified:
3LKWAITNOTIFY "Thread-0" (0x381F0)
2LKREGMON Monitor Registry lock (0x0003A250): owner "TivoliEnterpriseConsoleLauncher" (0x80B4138), entry count 1
2LKREGMON System Heap lock (0x00039408): <unowned>
2LKREGMON ACS Heap lock (0x00039450): <unowned>
2LKREGMON PAM lock (0x00039498): <unowned>
2LKREGMON Intern String Table lock (0x000394E0): <unowned>
2LKREGMON Classloader lock (0x00039528): <unowned>
2LKREGMON JIT Byte Code lock (0x00039570): <unowned>
2LKREGMON JIT Global Compile lock (0x000395B8): <unowned>
2LKREGMON JIT BINCLASS lock (0x00039600): <unowned>
2LKREGMON JIT Debug lock (0x00039648): <unowned>
2LKREGMON JIT Log lock (0x00039690): <unowned>
2LKREGMON JITmemT 1 lock (0x000396D8): <unowned>
2LKREGMON JITspaceT 1 lock (0x00039720): <unowned>
2LKREGMON JITcodeT 1 lock (0x00039768): <unowned>
2LKREGMON JITnccbT 1 lock (0x000397B0): <unowned>
2LKREGMON JIT Invoke Interface Cache lock (0x000397F8): <unowned>
2LKREGMON JIT Class Map lock (0x00039840): <unowned>
2LKREGMON JIT Code lock (0x00039888): <unowned>
2LKREGMON JITmblkT 1 lock (0x000398D0): <unowned>
2LKREGMON JIT MB Update lock (0x00039918): <unowned>
2LKREGMON Permanent Variable subpool lock (0x00039960): <unowned>
2LKREGMON Intern String Buckets subpool lock (0x000399A8): <unowned>
2LKREGMON UTF8 Cache subpool lock (0x000399F0): <unowned>
2LKREGMON Namespace Cache subpool lock (0x00039A38): <unowned>
2LKREGMON Class Storage subpool lock (0x00039A80): <unowned>
2LKREGMON CL Tables subpool lock (0x00039AC8): <unowned>
2LKREGMON JIT General subpool lock (0x00039B10): <unowned>
NULL
1LKFLATMONDUMP Thread identifiers (as used in flat monitors):
2LKFLATMON ident 0x09 "TimerQueue" (0x8082290) ee 0x080820B0
2LKFLATMON ident 0x02 "Thread-0" (0x381F0) ee 0x00038010
2LKFLATMON ident 0x08 "TivoliEnterpriseConsoleLauncher" (0x80B4138) ee 0x080B3F58
2LKFLATMON ident 0x05 "Finalizer" (0x7016BA8) ee 0x070169C8
2LKFLATMON ident 0x04 "Reference Handler" (0x7014808) ee 0x07014628
2LKFLATMON ident 0x03 "Signal dispatcher" (0x7011D58) ee 0x07011B78
NULL
1LKOBJMONDUMP Java Object Monitor Dump (flat & inflated object-monitors):
2LKINFLATEDMON java.lang.ref.ReferenceQueue$Lock@100C26C8/100C26D0
3LKINFLDETAILS locknflags 80000200 Monitor inflated infl_mon 0x000386D4
2LKINFLATEDMON java.lang.ref.Reference$Lock@100C2990/100C2998
3LKINFLDETAILS locknflags 80000100 Monitor inflated infl_mon 0x000386A8
2LKINFLATEDMON javax.swing.TimerQueue@104FFE50/104FFE58
3LKINFLDETAILS locknflags 80000300 Monitor inflated infl_mon 0x00038700
2LKFLATLOCKED sun.awt.Win32GraphicsEnvironment@107D9788/107D9790
3LKFLATDETAILS locknflags 00080000 Flat locked by thread ident 0x08, entry count 1
NULL ------------------------------------------------------------------------
0SECTION XM subcomponent dump routine
NULL ============================
NULL
1XMCURTHDINFO Current Thread Details
NULL ----------------------
3XMTHREADINFO "TivoliEnterpriseConsoleLauncher" (TID:0x100ADE40, sys_thread_t:0x80B4138, state:R, native ID:0xA4) prio=5
4XESTACKTRACE at sun.awt.windows.Win32SurfaceData.initDDraw(Native Method)
4XESTACKTRACE at sun.awt.windows.Win32SurfaceData.<clinit>(Win32SurfaceData.java:302)
4XESTACKTRACE at sun.awt.windows.D3DBlitLoops.register(D3DBlitLoops.java:72)
4XESTACKTRACE at sun.awt.windows.Win32OffScreenSurfaceData.initD3D(Win32OffScreenSurfaceData.java:125)
4XESTACKTRACE at sun.awt.windows.Win32OffScreenSurfaceData.<clinit>(Win32OffScreenSurfaceData.java:167)
4XESTACKTRACE at sun.awt.Win32GraphicsDevice.<clinit>(Win32GraphicsDevice.java:91)
4XESTACKTRACE at sun.awt.Win32GraphicsEnvironment.makeScreenDevice(Win32GraphicsEnvironment.java:201)
4XESTACKTRACE at sun.java2d.SunGraphicsEnvironment.getScreenDevices(SunGraphicsEnvironment.java:353)
4XESTACKTRACE at sun.awt.Win32GraphicsEnvironment.getDefaultScreenDevice(Win32GraphicsEnvironment.java:94)
4XESTACKTRACE at java.awt.Window.init(Window.java:268)
4XESTACKTRACE at java.awt.Window.<init>(Window.java:312)
4XESTACKTRACE at java.awt.Frame.<init>(Frame.java:431)
4XESTACKTRACE at java.awt.Frame.<init>(Frame.java:396)
4XESTACKTRACE at com.tivoli.uif.controls.UFFrameManager.<init>(UFFrameManager.java:755)
4XESTACKTRACE at com.tivoli.uif.controls.UFFrameManager.startFrameManager(UFFrameManager.java:97)
4XESTACKTRACE at com.tivoli.console.ConsoleLauncher.<init>(ConsoleLauncher.java:84)
4XESTACKTRACE at com.tivoli.console.SingleAppLauncher.<init>(SingleAppLauncher.java:64)
4XESTACKTRACE at com.tivoli.tec.console.EnterpriseConsoleLauncher.<init>(EnterpriseConsoleLauncher.java:142)
4XESTACKTRACE at com.tivoli.tec.console.LauncherThread.run(LauncherThread.java:38)
1XMTHDINFO All Thread Details
NULL ------------------
NULL
2XMFULLTHDDUMP Full thread dump Classic VM (J2RE 1.4.2 IBM Windows 32 build cn142-20070317 (SR8), native threads):
3XMTHREADINFO "TimerQueue" (TID:0x100ADD90, sys_thread_t:0x8082290, state:CW, native ID:0x169C) prio=5
4XESTACKTRACE at java.lang.Object.wait(Native Method)
4XESTACKTRACE at javax.swing.TimerQueue.run(TimerQueue.java:260)
4XESTACKTRACE at java.lang.Thread.run(Thread.java:570)
3XMTHREADINFO "Thread-0" (TID:0x100ADDE8, sys_thread_t:0x381F0, state:CW, native ID:0xC3C) prio=5
3XMTHREADINFO "TivoliEnterpriseConsoleLauncher" (TID:0x100ADE40, sys_thread_t:0x80B4138, state:R, native ID:0xA4) prio=5
4XESTACKTRACE at sun.awt.windows.Win32SurfaceData.initDDraw(Native Method)
4XESTACKTRACE at sun.awt.windows.Win32SurfaceData.<clinit>(Win32SurfaceData.java:302)
4XESTACKTRACE at sun.awt.windows.D3DBlitLoops.register(D3DBlitLoops.java:72)
4XESTACKTRACE at sun.awt.windows.Win32OffScreenSurfaceData.initD3D(Win32OffScreenSurfaceData.java:125)
4XESTACKTRACE at sun.awt.windows.Win32OffScreenSurfaceData.<clinit>(Win32OffScreenSurfaceData.java:167)
4XESTACKTRACE at sun.awt.Win32GraphicsDevice.<clinit>(Win32GraphicsDevice.java:91)
4XESTACKTRACE at sun.awt.Win32GraphicsEnvironment.makeScreenDevice(Win32GraphicsEnvironment.java:201)
4XESTACKTRACE at sun.java2d.SunGraphicsEnvironment.getScreenDevices(SunGraphicsEnvironment.java:353)
4XESTACKTRACE at sun.awt.Win32GraphicsEnvironment.getDefaultScreenDevice(Win32GraphicsEnvironment.java:94)
4XESTACKTRACE at java.awt.Window.init(Window.java:268)
4XESTACKTRACE at java.awt.Window.<init>(Window.java:312)
4XESTACKTRACE at java.awt.Frame.<init>(Frame.java:431)
4XESTACKTRACE at java.awt.Frame.<init>(Frame.java:396)
4XESTACKTRACE at com.tivoli.uif.controls.UFFrameManager.<init>(UFFrameManager.java:755)
4XESTACKTRACE at com.tivoli.uif.controls.UFFrameManager.startFrameManager(UFFrameManager.java:97)
4XESTACKTRACE at com.tivoli.console.ConsoleLauncher.<init>(ConsoleLauncher.java:84)
4XESTACKTRACE at com.tivoli.console.SingleAppLauncher.<init>(SingleAppLauncher.java:64)
4XESTACKTRACE at com.tivoli.tec.console.EnterpriseConsoleLauncher.<init>(EnterpriseConsoleLauncher.java:142)
4XESTACKTRACE at com.tivoli.tec.console.LauncherThread.run(LauncherThread.java:38)
3XMTHREADINFO "Finalizer" (TID:0x100AE0B0, sys_thread_t:0x7016BA8, state:CW, native ID:0x1340) prio=8
4XESTACKTRACE at java.lang.Object.wait(Native Method)
4XESTACKTRACE at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
4XESTACKTRACE at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:160)
4XESTACKTRACE at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:225)
3XMTHREADINFO "Reference Handler" (TID:0x100AE108, sys_thread_t:0x7014808, state:CW, native ID:0xB00) prio=10
4XESTACKTRACE at java.lang.ref.Reference.process(Native Method)
4XESTACKTRACE at java.lang.ref.Reference.access$300(Reference.java:52)
4XESTACKTRACE at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:132)
3XMTHREADINFO "Signal dispatcher" (TID:0x100AE160, sys_thread_t:0x7011D58, state:R, native ID:0x194) prio=5
NULL ------------------------------------------------------------------------
0SECTION CL subcomponent dump routine
NULL ============================
1CLCLASSPATH Classpath Z(C:\Tivoli\TEC39FP8\jre\lib\core.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\graphics.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\security.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\server.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\xml.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\charsets.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\ibmcertpathprovider.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\ibmjaasactivelm.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\ibmjaaslm.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\ibmjcefw.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\ibmjgssprovider.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\ibmjssefips.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\ibmjsseprovider.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\ibmorb.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\ibmorbapi.jar),Z(C:\Tivoli\TEC39FP8\jre\lib\ibmpkcs.jar)
1CLFLAGOLDJAVA Oldjava mode false
1CLFLAGBOOTSTRP Bootstrapping false
1CLFLAGVERBOSE Verbose class dependencies false
1CLENUMVERIFY Class verification VERIFY_REMOTE
1CLPNTRNAMECLLO Namespace to classloader 0x00000000
1CLPNTRCHAINLO Start of cache entry pool 0x081A1978
1CLPNTRCHFREE Start of free cache entries 0x081A39E4
1CLPNTRMETHODTB Location of method table 0x06FA2F40
1CLPNTRANCHRGLN Global namespace anchor 0x002B383C
1CLPNTRCLSLOADS System classloader shadow 0x06F4B008
1CLPNTRSYSLOADS Classloader shadows 0x081265C0
1CLPNTRCLSEXT Extension loader 0x100ADFD8
1CLPNTRSYSLOADR System classloader 0x100ADF58
1CLTEXTCLLOS Classloader summaries
1CLTEXTCLLSS 12345678: 1=primordial,2=extension,3=shareable,4=middleware,5=system,6=trusted,7=application,8=delegating
2CLTEXTCLLOADER ------a- Loader sun/reflect/misc/MethodUtil(0x081265C0), Shadow 0x100ADD28, Parent sun/misc/Launcher$AppClassLoader(0x100ADF58)
3CLNMBRLOADEDCL Number of loaded classes 1
3CLNMBRCACHECLS Number of cached classes 7
3CLHEXDALLOCTIO Allocation used for loaded classes 1
3CLHEXDPCKGEOWN Package owner 0x100ADD28
2CLTEXTCLLOADER -x---t-d Loader sun/reflect/DelegatingClassLoader(0x079559A0), Shadow 0x100ADEA0, Parent sun/misc/Launcher$ExtClassLoader(0x100ADFD8)
3CLNMBRLOADEDCL Number of loaded classes 1
3CLNMBRCACHECLS Number of cached classes 3
3CLHEXDALLOCTIO Allocation used for loaded classes 3
3CLHEXDPCKGEOWN Package owner 0x100ADEA0
2CLTEXTCLLOADER -----ta- Loader sun/misc/Launcher$AppClassLoader(0x070DC9A0), Shadow 0x100ADF58, Parent sun/misc/Launcher$ExtClassLoader(0x100ADFD8)
3CLNMBRLOADEDCL Number of loaded classes 51
3CLNMBRCACHECLS Number of cached classes 341
3CLHEXDALLOCTIO Allocation used for loaded classes 1
3CLHEXDPCKGEOWN Package owner 0x100ADF58
2CLTEXTCLLOADER -xh-st-- Loader sun/misc/Launcher$ExtClassLoader(0x070CFFD0), Shadow 0x100ADFD8, Parent none(0x00000000)
3CLNMBRLOADEDCL Number of loaded classes 10
3CLNMBRCACHECLS Number of cached classes 95
3CLHEXDALLOCTIO Allocation used for loaded classes 3
3CLHEXDPCKGEOWN Package owner 0x100ADFD8
2CLTEXTCLLOADER p-h-st-- Loader System(0x06F4B008), Shadow 0x00000000
3CLNMBRLOADEDCL Number of loaded classes 952
3CLNMBRCACHECLS Number of cached classes 956
3CLHEXDALLOCTIO Allocation used for loaded classes 3
3CLHEXDPCKGEOWN Package owner 0x00000000
3CLTEXT3CLTEXTCLASS [S(0x002D1D58)
NULL ------------------------------------------------------------------------
0SECTION Javadump End section
1DGJDUMP Javadump Buffer Usage Information
NULL =================================
2DGJDUMPALLOC Javadump buffer size (allocated): 2621440
2DGJDUMPUSED Javadump buffer size (used) : 84652
NULL ---------------------- END OF DUMP -------------------------------------It use to work fine Something changed. Could be a newer (maintenance) version of Java. Seems like those have been having more than a few problems say in the last year or so.
Wild guess alternative - could also be a graphics driver problem.
Everytime I launch this Tivoli TME client IThat sounds like a product. This is not a product support site. It is a site for programmers who use java. Product support should be directed to the source of the product. -
Error while running ADF-BC Test Suite from command line
Hi,
I have created a separate test project containing the Test Suite for the Model componenet of my ADF-BC application.
I need to run this test project separately from jmeter.
The tests run fine from Jdev, But when I package the test project into a jar and try to run from command line, I get the following error:
java.lang.NoClassDefFoundError: oracle/jbo/ApplicationModule
at com.oracle.cs.cap.module.applicationModule.ServiceAMFixture.<init>(ServiceAMFixture.java:36)
at com.oracle.cs.cap.module.applicationModule.ServiceAMFixture.<clinit>(ServiceAMFixture.java:15)
at com.oracle.cs.cap.module.view.EntitlementReportDurationViewVO.EntitlementReportDurationViewVOTest.<init>(EntitlementReportDurationViewVOTest.java:11)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.junit.internal.runners.JUnit4ClassRunner.createTest(JUnit4ClassRunner.java:72)
at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:79)
at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)
at org.junit.runners.Suite.access$000(Suite.java:26)
at org.junit.runners.Suite$1.run(Suite.java:93)
at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
at org.junit.runners.Suite.run(Suite.java:91)
at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)
at org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:28)
at org.junit.runner.JUnitCore.run(JUnitCore.java:130)
at org.junit.runner.JUnitCore.run(JUnitCore.java:109)
at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
at org.junit.runner.JUnitCore.runMain(JUnitCore.java:81)
at org.junit.runner.JUnitCore.main(JUnitCore.java:44)
Caused by: java.lang.ClassNotFoundException: oracle.jbo.ApplicationModule
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 27 more
The Test project jar is created as ADF Library JAR File with Model.jpr as the dependent project. This takes care of project class dependencies
All the adf library dependencies are added to the manifest file of the Test Project jar referring to a location lib/ in the jar file directory.
I tried creating the ApplicationModule using both Configuration class (Configuration.createRootApplicationModule) as well as using the JDBC Connection String but both fail when I run the test cases independently from jmeter.
Anybody came across such an error? Please help.
Thanks,
SapnaHi Timo,
Im using JDev version 11.1.1.6.0.
I checked the class path on the jdev console. All the library references are mentioned in the manifest.mf classpath of the test project like below:
Manifest-Version: 1.0
Class-Path: lib/identitystore.jar
lib/adfm.jar
lib/groovy-all-1.6.3.jar
lib/adftransactionsdt.jar
lib/adf-dt-at-rt.jar
lib/adfdt_common.jar
lib/adflibrary.jar
lib/xmlparserv2.jar
lib/db-ca.jar
lib/jdev-cm.jar
lib/ojmisc.jar
lib/commons-el.jar
lib/jsp-el-api.jar
etc...
So I expect the library references should be resolved looking at the manifest file.
Another set of entries that I see in the jdev classpath are related to the Model project which is under test.
-classpath
D:\CurrentProject_1\16_7_2013_3pm\11_7_2013\.adf;
D:\CurrentProject_1\16_7_2013_3pm\11_7_2013\Model\classes;
How do I put these entries into my class path? Will it be sufficient if I add the Model.jar into my test project classpath?
Thanks,
Sapna -
Loading .jar files in oracle
I read the following lines in the site
http://download.oracle.com/docs/cd/B10501_01/java.920/a96659/02_load.htm
Resolving Class Dependencies
Many Java classes contain references to other classes, which is the essence of reusing code. A conventional Java virtual machine searches for classes, ZIP, and JAR files within the directories specified in the CLASSPATH. In contrast, the Oracle Java virtual machine searches database schemas for class objects. With Oracle, you load all Java classes within the database, so you might need to specify where to find the dependent classes for your Java class within the database.
All classes loaded within the database are referred to as class schema objects and are loaded within certain schemas. All JVM classes, such as java.lang., are loaded within PUBLIC. If your classes depend upon other classes you have defined, you will probably load them all within your own schema. For example, if your schema is SCOTT, the database resolver (the database replacement for CLASSPATH) searches the SCOTT schema before PUBLIC. The listing of schemas to search is known as a resolver spec. Resolver specs are for each class, whereas in a classic Java virtual machine, CLASSPATH is global to all classes.*
When locating and resolving the interclass dependencies for classes, the resolver marks each class as valid or invalid, depending on whether all interdependent classes are located. If the class that you load contains a reference to a class that is not found within the appropriate schemas, the class is listed as invalid. Unsuccessful resolution at runtime produces a "class not found" exception. Furthermore, runtime resolution can fail for lack of database resources if the tree of classes is very large.
Question is ....
do we realy need to mention -resolve option when using load java to load the .jar files?
because... i read some where that when the java procedure gets executed it willl first search for the classes in current schema.... then it finds for the objects in public schema...
now if its searchingg them in current schema why is -resolve required?
my scenario
i have a base class which calls alll the classes that are inside the .jar file
i loaded the base class first..
then loaded all the .jar files ..
in both the above options the .jar files contains user defined classes... and they are not present in oracle jvm library.. .so how do i need to proceed here?Correct name resolver or address resolution problems in the referenced class, or correct compilation problems in its source.
-
Create Custom Application E-Commerce B2B with IPC
Hello,
I created a custom E-commerce application with NWDI. I followed the very clear "How-to_Create_Custom_Application_In_E-commerce" document of Hari Ravu. All steps has been done successfully. I applied the XCM files of my B2B standard application.
<p>
When I don't set "IPC use", my custom B2B application work well in my laptop J2EE engine (I use NWDS workplace for the development) and after deploiment.
<p>
But when I select "IPC use" (in the XCM and the shopadmin), an exception is raised when I browse in the catalog.
For information the b2b standard application work well with IPC. No error is detected in local and in my developement server.
<p>
It seems to be an issue with the IPC class dependencies but I didn't solve the pb. In the document of Hari Ravu, no detail has be done concerning IPC dependencies.
<p>
I found some thread about the pb with IPCintegration with the B2B custom appli, , but these threads don't provide the solution
<p>
I have to use IPC for the pricing and product configuration for my project, so if somebody can help me..
<p>
Thank you
<p>
ERROR LOG ********************************************************************************
ISA Framework: java.lang.NoClassDefFoundError: com/sap/msasrv/socket/shared/ErrorCodes -
Loader Info -
ClassLoader name: [sap.com/b2b_thys1] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization service:jms_provider service:apptracing library:com.sap.km.trex.client library:crmtealeaf library:com.sap.mw.jco library:sapxmltoolkit library:com.sap.mona.api library:com.sap.tc.Logging library:com.sapportals.htmlb library:ilog.rulesilog sap.com/com.sap.jdo library:com.sap.util.monitor.grmg library:com.sap.util.monitor.jarm library:core_lib library:tcjmx service:tcsecsecurestorageservice service:tcsecdestinationsservice interface:tcsecdestinationsinterface service:applocking library:crmtclibcorelib Resources: C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtcpersmodelassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\struts.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\commons-logging.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisasmartstreamassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmipcipcassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmipcipccoreassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtccontractassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\commons-lang.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\struts-legacy.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\commons-validator.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisaauctionb2xassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\commons-fileupload.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisashopadminassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtccampaignassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmipcipcpricingassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\commons-beanutils.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtcuserassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisaisacoreassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtcappbaseassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\work C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisaadvisorassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisaisacorer3assembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\classes C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtcpcatapiassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\src.zip C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtcschedulerassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtcperstransformassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtccoreassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtcxcmadminassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtcpersrtassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisaisacatassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\commons-digester.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisabasketdbassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisalwcassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtccatalogassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisauserr3assembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\commons-collections.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisaauctionbaseassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmipcipcboassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmisapersonalizationassembly.jar C:\usr\sap\NS2\JC00\j2ee\cluster\server0\apps\sap.com\b2b_thys1\servlet_jsp\b2b_thys1\root\WEB-INF\lib\sap.comcrmtcecommercebase~assembly.jar
Loading model: {parent,references,local} -
The error occurred while trying to load "com.sap.spc.remote.client.ClientException". com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:401) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) com.sap.spc.remote.client.object.IPCException.<init>(IPCException.java:29) com.sap.isa.businessobject.ipc.imp.DefaultIPCBOManager.createIPCClient(DefaultIPCBOManager.java:297) com.sap.isa.backend.r3base.ipc.ServiceR3IPC.getIPCClient(ServiceR3IPC.java:128) com.sap.isa.backend.r3.salesdocument.rfc.WriteStrategyR3.setIPCInformation(WriteStrategyR3.java:335) com.sap.isa.backend.r3.salesdocument.rfc.WriteStrategyR3.setConfigurationInfo(WriteStrategyR3.java:193) com.sap.isa.backend.r3.salesdocument.rfc.CreateStrategyR3.callRfcSd_SalesDocument_Create(CreateStrategyR3.java:766) com.sap.isa.backend.r3.salesdocument.rfc.CreateStrategyR3.simulateDocument(CreateStrategyR3.java:301) com.sap.isa.backend.r3.salesdocument.QuotationR3.simulateInBackend(QuotationR3.java:300) com.sap.isa.businessobject.quotation.Quotation.simulate(Quotation.java:150) com.sap.isa.isacore.action.order.MaintainBasketSimulateAction.basketPerform(MaintainBasketSimulateAction.java:216) com.sap.isa.isacore.action.order.MaintainBasketBaseAction.isaPerform(MaintainBasketBaseAction.java:999) com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:343) com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353) com.sap.isa.core.BaseAction.execute(BaseAction.java:211) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) com.sap.isa.core.ActionServlet.process(ActionServlet.java:243) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) javax.servlet.http.HttpServlet.service(HttpServlet.java:760) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321) com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) com.sap.isa.core.RequestProcessor.processForwardConfig(RequestProcessor.java:267) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) com.sap.isa.core.ActionServlet.process(ActionServlet.java:243) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) javax.servlet.http.HttpServlet.service(HttpServlet.java:760) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117) com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62) com.tealeaf.capture.LiteFilter.doFilter(LiteFilter.java:98) com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61) com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58) com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384) com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) java.security.AccessController.doPrivileged(Native Method) com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)Hello Pradeep, <p>
I am trying to configure the "Single session Trace" (OSS Note 1090753) but I am not able to see the second Tabs 'Single Session trace"
when I select the logging link in the Administration console of my application.
- I modified as described the attribut "ForceSingleTraceFile" in the visual Admin.
- I modified the appinfo and logFileDownload attributs to TRUE in the XCM
- I rebooted the cluster
Extract of OSS note 1090753
4. Choose the 'Logging' link.
a page with two tabs 'Log Configuration' and 'Session Tracing' is displayed.
The Session Tracing doesn't appear for me !!
do you not why I am not able to see the Single session trace ?
Currenty, the only way is to retrieve trace in the file defaultTrace10.log. (see my previous log capture)
Thanks for your help -
Variant configuration questions
HI Gurus,
Pls help me answer following two questions
1.Is there a way i can transfer the variant configuration master data(Characteristics, class,dependencies etc) to other(quality, production) system automatically?
2.In case of inconsistency in the VC configuration system says "Configuration is inconsistent" it doesn't give any specific message where the inconsistency happened.Pls let me know is there a way i can give specific message when inconsistency happenes.
Example: when user selects car model 1105, colour red should not be allowed.In this case i want to send a message "For model 1105, colour red not allowed" not just "configuration inconsistent"
Thanks,
KRishna1) Data that is used in Varaint Config (Classes, Characteristics, Object Dependencies, etc .................) can be sent to other Clients by ALE).
2) When you see that you have an inconsitency, double click on the Red Error, this will bring up a Window with the Characteristic and Value that is inconsistent. Next click on the Object Dependency Button, under the window title bar. This wil show you the Object Dependency that is raising the inconsistency. Variant also has a Trace Tool that you can use to watch Object dependencies, to see the Value before the Object dependency set the Value, and than the Value after the Object dependency. -
Resolving type names during compilation
Hi,
I have a question about how the default (or any other) java compiler resolves type names when compiling several files. How does the compiler efficiently organise itself so that it can resolve type names that it has not yet parsed?
take a trivial example:
//file a.java
class a{b myB;}
//file b.java
class b{}
if it compiles file a.java first then it must search for class b in some way to check that it exists. how?
If you are wondering why I ask this, it is becuase I am using antlr(www.antlr.org) to reverse engineer java into UML.
tia + cheers,
Alexsee
http://forum.java.sun.com/thread.jsp?forum=7&thread=31728
Thanks for the feedback, but it does not answer my question of how the insides of the java compiler works. I assume that it can compile and the classpath is set up correctly...
Try a less trivial example: you compile a large open source project like netbeans. When the compiler arrives at a declaration involving a type that it has not come across. how does it know that it is a valid type? I am talking about how the compiler is implemented. This is a question about compiler design.
does the compiler first work out class dependencies and compile in a certain order?
or does it make a symbol table of all type first, then check that when compiling?
maybe this forum is more about how to compile rather than how compilers work? -
Automatically includng dependecies in jar files
We are using JBuilder 6 on our project. The archive builder wizard has the ability to automatically determine the dependencies of the classes you select and include them in the jar. This I like. The problem is we want to be able to source control the content list or 'plan' for building the jar so that we can distibute it to other members of the team. There doesn't seem to be a way to save this info in JBuilder. Is there are tool that has similar features that uses a batch file or something else that we can save?
To make a .bat file:
1. open a text editor and a new (blank) document
2. put your command line arguments for creating your
Jar into the document. You should be able to either
copy this from JBuilder, or just inspect the jar file
and see what you need to include
ex. (In your file) jar -myJar.jar *.class
3 Save the file with the extension .batThanks for trying to help but I know how to create a batch file and I know hoe to create a jar file using the jar tool.
What I want is tha ability to pick out the classes I 'really' need and have a tool that determines the dependencies. We have a group of people working on the same code base. If a class' dependencies change most of the developers will never know. If we did what you are suggesting, we would spend more time maintaining the batch file than it takes to set up the archive in JBuilder with much less reliability.
For example. We have a session bean coded in JBuilder and we want to load the classes into our server (we didn't spring for the enterprise edition.) In JBuilder we can create an archive, select the remote home and bean classes, tell it to include all dependencies and it will create the jar with all the classes we need to deploy the session bean. This is an easy one. The problem is that I can't take my 'plan' i.e. the three classes in the content pane of the wizard and import them into my co-workers JBuilder environment. He or she must create the archive from scatch. This isn't a big deal as long as everyone follows naming conventions and the number of classes that are 'needed' is small but we have some cases where we need to specify a dozen or more classes in the content pane. -
Com.sun.image.codec.jpeg package and different platforms?
I heard that this package is SunOS specific. Is that true? What platforms does it support for real?
I have been trying to find more info than just the API documentation and haven't succeeded so far. Anybody know where I can retrieve more info on that package?Java is platform independent right? .. bundle the packages you use (that's not in the JDK) and it will work on *nix as well.
You can usa tool like JDeploy (use google) to find out class dependencies etc. when you bundle your JAR (although this won't work if you use class.forName() etc.);
- bjorn -
Mass compile operation keeps on looping
hi,
when i do a mass compile on my project , it keeps on looping during a save operation
and it does that may be a 50 times & eventually ends also without error.
the curent file remains the same
Attachments:
mass-compile-loop.PNG 15 KBJust as TiTou said: it looks like recompiling each VI which depend on any class hierarchy makes LV recompile each VI of this hierarchy, and then each VI of this class makes recompilation of each other VI, etc... As a workaround you can try closing the project and mass compile project folder from Tools->Advanced menu. I noticed this does not loop as much as there are not all dependencies loaded, but there are many more factors to this (i.e. how you managed libraries and classes dependencies). Furthermore, this might not give you exactly the same effect as mass compiling the project (same reason - not all dependencies are loaded).
Maybe you are looking for
-
Text in display mode, in VF02
Members, When billing document is created, the Header text is populated automatically because of some enhancement. In VF02, in standard SAP, this text is editable. How to make Header text non-editable (only display) in VF02? Thank you! Jelena Perfilj
-
I've never encountered this before, but my iMac can't seem to "remember" that my specified default mail client is "Mail" and my default web browser is "Safari". Even after I set them up in the Preference window, when I relaunch "Mail" the default mai
-
Simple drag and drop programme. Bug
Hi. I have a simple drag and drop app for learning English. You hear for eg: banana and have to drag that object to a certain area. When my little kid plays it she finds bugs - she's my researcher. It's hard to explain the bug as its hard to get it b
-
Pics been loaded to my picture file
hi when I go to photos there is tones I was told I should transfer them to SD card or my USB plug I have USB plug in now it shows public zone and my USB is A Verbatim Please help thanks and when I send the USB to a photo place should it read ok cause
-
Can I sync my Visor on Windows7?
I'm using Handspring Visor Prism, and Windows7 on computer. I installed Palm Desktop 3.1 & Hotsync, but I can't sync. I could see the messege "The connection between your handheld computer and the desktop could not be established. Please check your s