S.O.S : problems packages!!!!!
Hi everybody:
I have a problem creating packges. When doing portlets, with HTML informtaion (I do not want to use Built-in portlets, I want to create a new one, a database portlet to practise)I do not know how to create a link which goes to next pages (in another procedure but in the same package).
Can anybody help me?
Thanks to everybody.
null
Hi everybody:
I have a problem creating packges. When doing portlets, with HTML informtaion (I do not want to use Built-in portlets, I want to create a new one, a database portlet to practise)I do not know how to create a link which goes to next pages (in another procedure but in the same package).
Can anybody help me?
Thanks to everybody.
null
Similar Messages
-
Problems Packaging/Copying Links..
I have a huge file, 50 pages chock full of high res art that is being pulled from all different folders on my machine. There are 300+ pieces of art, the InDesign file itself is 75MB. When I try to package it, OR go to the LINKS panel and choose Copy Links, and try to gather the art that way, it works for a while and eventually gives me a message that just says Cannot copy linked files.. or something like that.. sometimes it copies nothing.. Other times when I try: when I go and look it DID copy many of them but not all, can't figure out the rhyme or reason what went wrong or why it chose some but not others..
It should not be a memory issue on my machine, and all my links are up to date, etc..
Any ideas why this won't work?
using InDesign CS6I don't think a space should be a problem, but I usually use an underscore for the same thing.
As far as how deep, I don't know if there's a hard limit, but the total number of characters in the path is a factor. Not sure what the limit is on that, either. -
Hello, i hava a problem when i am packaging a epub file. it pass epubcheck with " no errors"
When i try to package the file i put: java -Xmx1024M -jar uploadtest-1_2.jar [URL] file.epub -pass X -xml -jpg
I don´t know what it is happened...I hope this isn't a silly question, but when I viewed the help for the "open/create/replace file" tool it said this for the file path:
"file path is the path name of the file. If file path is empty (default) or is (not a path), the VI displays a dialog box from which you can select a file. Error 43 occurs if you cancel the dialog box."
That is different from what your help says. The help I read for mine implies that the dialog box pops up only if you don't wire a path to it, leading me to think if you wire a path to the file name it will automatically use that file without bringing up a dialog box. It says nothing about the file path input being used only to specify the initial path for the dialog box - which is what your help says.
I'm using LabView 7.1, is there a difference in help dialogues between versions of LabView?
Amateur programmer for over 10 years! -
Problems packaging non debug swf for iOS
Hi all,
I'm using the latest 3.5 beta (saw the same problem using 3.4). When i package de swf for iOS i got this error:
Packaging failed!
Packaging error message:
Exception in thread "main" java.lang.Error: Unable to find named traits: public::read activation
at adobe.abc.Domain.resolveTypeName(Domain.java:232)
at adobe.abc.Domain.resolveTypeName(Domain.java:149)
at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6722)
at adobe.abc.GlobalOptimizer$SccpContext.commit(GlobalOptimizer.java:4395)
at adobe.abc.GlobalOptimizer.sccp_modify(GlobalOptimizer.java:5866)
at adobe.abc.GlobalOptimizer.sccp_modify(GlobalOptimizer.java:4728)
at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4700)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3566)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2260)
at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:532)
at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:341)
at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:582)
at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:80)
ONLY if the swf is a release one (not debug). I'm using this parameters:
/Users/7daysofrain/Documents/aslibs/flex_sdk_4.6.0.23201B/bin/adt
-package
-target
ipa-test
-storetype
pkcs12
-keystore
ios/joseba.p12
-storepass
-provisioning-profile
ios/certificados/Social_Futbol.mobileprovision
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/ios/Canal+ Social Futbol.ipa
ios/canalplus-socialfutbol-app.xml
-C
ios
canalplus-socialfutbol_tv.swf
-e
ios/background.mp4
background.mp4
-e
flash/assets/tv.swf
tv.swf
-platformsdk
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPh oneOS6.0.sdk/
If I use this with the debug swf the ipa gets generated right:
/Users/7daysofrain/Documents/aslibs/flex_sdk_4.6.0.23201B/bin/adt
-package
-target
ipa-debug
-listen
7936
-storetype
pkcs12
-keystore
ios/joseba.p12
-storepass
-provisioning-profile
ios/certificados/Social_Futbol.mobileprovision
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/ios/Canal+ Social Futbol.ipa
ios/canalplus-socialfutbol-app.xml
-C
ios
canalplus-socialfutbol_tv.swf
-e
ios/background.mp4
background.mp4
-e
flash/assets/tv.swf
tv.swf
-platformsdk
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPh oneOS6.0.sdk/
Any idea of what could be the problem? Thanks in advanceNope, not native extensions used The only unusual thing is that i use custom metadata tags
Here are the full options of the compiler:
Compiler arguments:
-output
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/ios/canalplus-socialfutbol_t v.swf
-+configname=air +flexlib=
/Users/7daysofrain/Documents/aslibs/flex_sdk_4.6.0.23201B/frameworks
--compiler.debug=false
--debug-password=
--compiler.source-path+=
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/classes
--compiler.library-path+=
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/MonsterDebugger. swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/analytics.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/greensock.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/rosa.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/greensock.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/titan.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/GraphAPI_Web_1_8 _1.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/as3corelib.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/parsley-flash-2. 4.0.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/spicelib-flash-2 .4.0.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/assets_tv.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/parsley-core-3.0 .0.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/spicelib-command s-3.1.1.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/spicelib-reflect -3.0.0.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/spicelib-util-3. 0.0.swc,
/Users/7daysofrain/Documents/aslibs/flex_sdk_4.6.0.23201B/frameworks/libs/air/airglobal.s wc,
/Users/7daysofrain/Documents/aslibs/flex_sdk_4.6.0.23201B/frameworks/libs/core.swc,
/Users/7daysofrain/Documents/aslibs/flex_sdk_4.6.0.23201B/frameworks/libs/osmf.swc,
/Users/7daysofrain/Documents/aslibs/flex_sdk_4.6.0.23201B/frameworks/libs/textLayout.swc,
/Users/7daysofrain/Documents/aslibs/flex_sdk_4.6.0.23201B/frameworks/libs/air/servicemoni tor.swc,
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/libs/refr3shlib.swc
-static-link-runtime-shared-libraries=
true
-target-player=11.1
-library-path+=
/Users/7daysofrain/Documents/aslibs/flex_sdk_4.6.0.23201B/frameworks/locale/en_US
-default-size=960,640
-swf-version=13
-keep-as3-metadata+=Asset,Assets,
AssetsReady,AssetsContainer,FrameScript
/Users/7daysofrain/Documents/Proyectos/canalplus-socialfutbol/flash/classes/canalplus/soci alfutbol/MainTV.as -
Problem: package javax.servlet.jsp does not exist
I am a novice JSP programmer. My projects that use any javax.servlet classes are not seeing those at all. I am working with a group of folks using Java SE 1.5. (Note: I'm using Windows so the directory separator is "\")
What Used to work:
1. Nearly all my projects were working using Java version 1.6. These projects were developed as examples from Wrox and Apress books about JSP and Struts.
What has changed:
1. I un-installed the version 1.6 of JDK and JRE, as well as tomcat, netbeans, and all the associated libraries/jars.
2. I installed version 1.5 of JDK and JRE, as well as tomcat, netbeans, and all the associated libraries/jars.
3. I updated my JAVA_HOME, CATALINA_HOME, CLASSPATH, and PATH environmental variables. I made sure that the path to servlet-api.jar (in the tomcat common\lib) is included in the classpath.
What is wrong:
1. References to javax.servlet.* are not satisfied--they are flagged in the source code in NetBeans and I get compiler errors with any project containing those references. For example:
... package javax.servlet.jsp does not exist
import javax.servlet.jsp.*;
What I've found:
1. My CATALINA_HOME=C:\Java\Tomcat 5.5
2. My JAVA_HOME=C:\Java\jdk1.5.0_11
3. My CLASSPATH=.;C:\Program Files\QuickTime\QTSystem\QTJava.zip;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib;%JAVA_HOME%\lib\jsp-api.jar;%CATALINA_HOME%\common\lib\servlet-api.jar;C:\Java\logging-log4j-1.2.14\dist\lib\log4j-1.2.14.jar
4. My PATH=c:\wint\BIN;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%CATALINA_HOME%\bin;C:\MySQL\MySQL Server 5.0\bin;D:\MiKTeX 2.5\miktex\bin;C:\Perl\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\SFU\Perl\bin\;C:\SFU\common\;C:\Program Files\Lahey-Fujitsu Fortran\v7.1\Bin;C:\Program Files\Lahey-Fujitsu Fortran\v7.1\Win32\Bin
What I need:
1. I need to have some reference to the servlet classes satisfied in my configuration. Any help is appreciated.
thanks
jondrOh. I got some over-the-shoulder debug help.
My error was in the classpath specification:
The path: %JAVA_HOME%\lib\jsp-api.jar
Should be: %CATALINA_HOME%\lib\jsp-api.jar
That contains the javax.servlet.jsp.*
Thimk.
Message was edited by: jon
jondr -
PROBLEM: package " org.openide.awt " does not exist
Hi everyone,
Iam experiencing a problem when creating JInternalFrame into JDesktopPane.
The problem is as follows:
org.openide.awt.Mnemonics.setLocalizedText(.......);
What does "org.openide.awt......" means?
How to fix this problem?
I cannot compile my project coz by above problem
Any assistance highly appreciated and thanks in advance.
Regards,
AdjieThanks to all especially to Loko which give this
link:
http://wiki.java.net/bin/view/Netbeans/FaqGenerateMnem
onicsCode, I just fixed my problem correctly.
Greetings,
AdjieDon't thank me, thank Google, she did all the work ;-p
regards,
Loko -
UTL_SMTP Installation Problem, Package Created with errors
Hi Forum Friend!
I tried to Install UTL_SMTP Package in my Oracle8 Release 8.0.6.1.0. A friend of mine sent me the UtLSMTP.SQL Script and I run from SQL+ connected as SYS. When I check the Package by the Oracle Schema Manager I Notice that UTL_SMTP has errors so the package will not run successfully. The Errors are the following:
PLS-00103: Encountered the symbol "CONNECTION" when expecting one of the following:
:= . ) , @ % default character
The symbol ":=" was substituted for "CONNECTION" to continue.
I have no Idea how to handle this error. I tried to install the Package in my Developing Database But the Production Database is in HPUX(Unix). Could you please send me some recommendation to solve this issue and start executing the package!
Best Regards
Emmanuel Carrillo Trejos
P.D. LNB, Republic of Panama (Central America).Dear Friends
Well, I think that my Database version is too old to use this package. I think that one time looking for this topic I found something relating sending email using a Host call(I think that using Mail Command from Unix) Does anybody has and Idea how to do it?. Thanks for your time colleagues!
Best Regards
Emmanuel Carrillo Trejos
LNB, Panamà. -
Problem packaging AIR app with NativeProcess support!?
My AIR packaged AIR app doent work with NativeProcess
when I package it like
<supportedProfiles>extendedDesktop desktop<supportedProfiles>
or
<supportedProfiles>desktop extendedDesktop<supportedProfiles>
But when I use just <supportedProfiles>extendedDesktop<supportedProfiles>
Packager complains with Error 306!!
What is that suppose to mean?
Help please
I'm using FB4,SDK 4.1Are you packaging your application as a native application (.exe or .dmg)? I believe applications with extendedDesktop support (and nativeprocesses) can only be packaged as native applications.
-
Problem packaging epubs - Invalid UUID
Hi All,
We have some epubs that will not package. There are various messages but the epubs seem valid when checked on epub validators.
error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://<url>/packaging/Package Invalid UUID string: 9789525912173"
error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://<url>/packaging/Package Invalid UUID string: 9789525912159"
error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://<url>/packaging/Package Invalid UUID string: 9789525912128"
error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://<url>/packaging/Package Invalid UUID string: 9789525912166"
etc
The string that ACS is complaining about is the ISBN of the book. This could possibly be coming from the file name which is <ISBN>.epub.
What does the Invalid UUID mean?
If we change from epub to pdf the file works fine which suggests its something to do with the epub.
Any help appreciated.The package command is similar to the following:
Which as you can see doesn't contain a dc:identifier composite. Or do you mean there is an identifier within the epub file that I need to check?
Thanks -
Problems packaging assignments for incopy
After the recent updates I can't seem able to package the assignments for inCopy anymore.
Any clue?
If I right click on the assignment all I get is "open package" or "add to assignment" but the option "package for inCopy" has disappearedNo. It doesn’t work that way.
Everyone in this workflow needs to have the same fonts installed.
Bob -
I have formatted my SSIS Package beautifully, if I do say so myself, so that all my tasks are visible at 50% zoom. However, when I close my project and then re-open it in Visual Studio, it defaults back to 100%...YUK!
I did find this post which didn't seem to work...even to the point that no where within my xml could I even find the "PersistedZoom" Parameter. I even tried manually adding it, I couldn't find the exact syntax on it, and that didn't even work.
1. In BIDS (Visual Studio) first close all open SSIS packages / xml files to avoid confusion ...
2. Right click on the SSIS package and select the "View Code" menu item. (to open the actual xml)
3. Search for all instances of "PersistedZoom" and change the value directly to the right of it to 100 (mine
was 80 or 90 ...)
4. Now save and close the XML file.
5. Now open the SSIS package in the designer, you will notice that it is still scrolled to the bottom right!
6. Now make any small change (I scrolled to the top-left and just slightly moved a task)
7. Now save and close the designer
8. Re-open the SSIS package in the designer! and what do you know it does not start scrolled down to the bottom right anymore!
Let me know if you still have issues - but as I said I followed this same process on all my problem packages and they ALL now open correctly.
I noticed that after doing all this the PersistedZoom property disappeared from the xml, which leads me to believe that if I zoom in and out of my packages again it will probably get stuck by opening to the bottom right again ...
Can anyone help me out with this?
Thanks for your review and am hopeful for a reply.
PSULionRPThere is no way to preserve view preferences.Just remember or annotate the zoom % used in the package.
You may want to open an MS Connect item asking to add such a feature.
I can tell you it may not be implemented because a package may be opened on different size monitors.
Arthur My Blog -
Problem with binding sequences to attributes
Hello everyone.
[you may directly jump to the question at the bottom of this post and if you don't understand what the heck I'm asking, feel free to read the whole post ;)]
I wanted to crate a table node where several attributes are for rows only.
Because i want it to be a CustomNode, the table should be created dynamically (one should at least be able to define different amounts of rows and columns at the initialization).
My problem is a combination of "creating dynamically" and binding attributes.
To create an arbitrary amount of rows i use a "while(i < x) CustomNode{}" loop.
To store the value of an attribute for a row i use sequences. So during the loop i do the following:
someValue: bind sequenceValue[i]
After quite some frustration i finally discovered that all the attributes will be bound to sequenceValue[last value of i].
I don't find the right words right now, so here's some code to demonstrate the problem:
package javafxtestbench;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.scene.text.Font;
import javafx.scene.CustomNode;
import javafx.scene.Node;
import javafx.scene.Group;
import javafx.scene.input.KeyEvent;
var t1 = [true, true, false];
Stage {
title: "Application title"
width: 250
height: 500
scene: Scene {
content: [
Text {
font : Font {
size : 16
x: 10
y: 30
content: "Application content"
createFubar(),
function createFubar(): Group{
var grp : Group = Group{
content:[
//this works
/*b1{ blob: bind t1[0]}
b1{ blob: bind t1[1]}
b1{ blob: bind t1[2]}*/
//this doesnt
createSomeBs(),
onKeyPressed: function( e: KeyEvent ):Void {
println("=== KeyPressed ===");
if (t1[2] == true) t1[2] = false
else t1[2] = true;
println("new sequence value: {t1}");
grp.requestFocus();
return grp;
function createSomeBs(): Node[]{
var i = 0;
var grp : Node[];
while(i < 3){
insert b1{
blob: bind t1[i]
}into grp;
i++;
println("Sequence @ startup: {t1}");
return grp;
class b1 extends CustomNode{
public var blob = true on replace{
println("attribute value b1.blob: {blob}");
override function create():Node{
Group{
}As you can see i created a CustomNode (b1) and use two different methods to add it to the scene.
First method: i add b1 thee times to the scene and set the attribute
or
2nd method: i use a loop (its index to bind the corresponding sequence entries to the attributes)
finally i added a key listener, which changes the value of the last sequence value if an arbitrary key has been hit.
output for using the "this works" block (1st method) after pressing some keys:
=== KeyPressed ===
attribute value b1.blob: true
new sequence value: truetruetrue //contains {true, true, true}
=== KeyPressed ===
attribute value b1.blob: false
new sequence value: truetruefalse //contains {true, true, false}and here for the "this doesnt" (2nd method) part:
=== KeyPressed ===
attribute value b1.blob: false
attribute value b1.blob: false
attribute value b1.blob: false
new sequence value: truetruetrueSo even though all elements in the sequence say "true", the attribute values of all CustomNodes will keep saying "false".
Here it's due to the fact that "i" is in the end greater than the sequence (cause by the increment at the end of the loop).
In the end all attributes will be bound to the same entry. So messing around with the index, so it doesn't get beyond the sequence size, won't help.
So to finally bring this post to an end ;P, here's my question:
How do you create an arbitrary amount of Nodes containing attributes which are bound to a list entries?
Edited by: Mr._Moe on 08.09.2009 20:17HI
May be you can fetch the data from the table with looping the table size and catching the
index of the elements . To be more clear .
1 . get the size of the table .
int leadSelection= wdcontext.node<TableName>.getLeadSelection();
for (int i=0 ;i<n;i++)
if(wdcontext.node<tablename>.isMultiselected(leadSelection))
String name = wdcontext.node<tablename>.getelementatindex(leadSelection).getname();
similarly fetch the size of the other elements from the table .
and set to other RFC as
ZClass abc = new ZClass();
abc.setName(name);
wdcontext.node<NameName>.bind(abc);
and othere thing is when you use Abstract class you can insert only one element at a time .
or may be you may want to set the values direclty to the RFC
AbstractList lst = new ZClass.ZClassList();
ZClass cls = new ZClass();
clas.setName(name)
lst.add(class);
wdcontext.currentRFcNameElement.modelObject.setName(lst);
and
execute the RFC .
murali -
Java Reflection API problem... Please HELP!
Hi,
I'm writing a Client-Server program set where the Server class receives a Java file, along with some parameters, from the Client class/computer.
The Server class then invokes a certain method from the Java file it received (depending on the parameters received).
My Server program keeps giving me a ClassNotFoundException, and I'm going crazy.. I've been trying to fix it for a long time now... but with no avail.
Here's the Server program.. but I doubt you need to read it all. Please just scroll down to "// The line below is what give me problems:".
package remoterun;
import java.net.*;
import java.io.*;
import java.lang.reflect.*;
* <p>Copyright: Copyright ms2000 (c) 2005</p>
public class Server2 {
public static void main(String args[]) throws Exception {
int numParameters;
int port = 6789;
boolean isThere = false;
String className, methodName;
Object[] parameters;
ServerSocket welcomeSocket = new ServerSocket(port);
for (; ; ) {
* Create a new socket, called connectionSocket, when some client knocks
* on welcomeSocket. This socket has the same port number. TCP then
* establishes a direct virtual pipe between the client socket and
* connectionSocket at the server so the client and server can send bytes
* to each other over it.
Socket connectionSocket = welcomeSocket.accept();
// Get number of parameters
DataInputStream in = new DataInputStream(new BufferedInputStream(
connectionSocket.getInputStream()));
numParameters = in.readInt();
// Get the parameters for the method to be invoked.
parameters = new Object[numParameters];
ObjectInputStream objStream = new ObjectInputStream(
connectionSocket.getInputStream());
for (int i = 0; i < numParameters; i++) {
parameters[i] = objStream.readObject();
// read the class
File program = (File) objStream.readObject();
System.err.println(program); // It prints the program name correctly, e.g. Class2.java
// Receiving some String parameters...
BufferedReader inFromClient = new BufferedReader(new
InputStreamReader(connectionSocket.getInputStream()));
className = inFromClient.readLine();
methodName = inFromClient.readLine();
// The line below is what give me problems:
Class classDefinition = Class.forName("remoterun." + className + ".java");
Object object = classDefinition.newInstance();
Method[] theMethods = classDefinition.getMethods();
for (int i = 0; (i < theMethods.length) && (!isThere); i++) {
if (theMethods.getName().equals(methodName)) {
isThere = true;
theMethods[i].invoke(object, parameters);
The Client code just sends the stuff to the Server, and it works fine. The code is below if it may help:
package remoterun;
import java.net.*;
import java.io.*;
public class Client2 {
public static void main(String[] args) throws Exception {
int result;
int port = 6789;
int num1 = 5;
int num2 = 6;
int numParameters = 3;
String hostIP = "127.0.0.1";
String className = "Class2";
String methodName = "add";
Object[] parameters;
Socket clientSocket = new Socket(InetAddress.getByName(hostIP),
port);
// Send numParameters, className, methodName
DataOutputStream out = new DataOutputStream(new BufferedOutputStream(
clientSocket.getOutputStream()));
out.writeInt(numParameters);
out.flush();
Integer num3 = new Integer(num1);
Integer num4 = new Integer(num2);
parameters = new Object[] {num3, num4, InetAddress.getLocalHost()};
File program = new File((className + ".java"));
ObjectOutputStream output = new ObjectOutputStream(clientSocket.
getOutputStream());
for (int i = 0; i < numParameters; i++) {
output.writeObject(parameters);
output.writeObject(program);
output.flush();
DataOutputStream outToServer = new DataOutputStream(clientSocket.
getOutputStream());
outToServer.writeBytes(className + '\n');
outToServer.writeBytes(methodName + '\n');
outToServer.flush();
clientSocket.close();
The error I get from the Server class is:
java.lang.ClassNotFoundException: remoterun.Class2.java
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at remoterun.Server2.main(Server2.java:94)
Exception in thread "main"
(I also get a dialog box saying sthg like, "A fatal exception occured.. will exit now".)
It's really odd, becuase there were rare times when it works although I don't change the program...
I tried changing the problem line to stuff like:
Class classDefinition = Class.forName(className + ".java");or
Class classDefinition = Class.forName(className);but with no use. Same error. Can someone please pinpoint the problem?
I'm sure the program does get to the Server, because it can print out the file name.
PS: Sometimes it works when I use the same PC as the client/server, sometimes it doesn't.... Help :-(
I'd appreciate some assistance in this.
Thank you.What's this dot-java stuff? Are you sending a source file? If so, that isn't going to work. You need to compile the file and send the dot-class file.
I'll try that. However, can I make the Client program complie the .java file? For example. something like Class2.compile()? Is this feature available, or do I have to open Class2.java and compile it from there?
And in the server you need to either store that somewhere in the server's classpath....
Isn't it automatically stored there? If not, how do I make it stored in the same file as the Server source file (I assume that's what you mean by classpath)?
Thanks for your help... !!! -
Pre-Mavericks I had zero problems packaging my INDD files in Adobe InDesign CS6 with all fonts and links intact. Now, when I go to package the same files I successfully packaged last year under Lion, InDesign tells me the fonts can't be packaged (and doesn't package anything else either). My client is becoming very frustrated so I would really appreciate some help from Adobe in solving this problem as soon as possible.
Thank you Willi for responding.
Which fonts are affected? - I'm assuming all of the fonts are affected since no fonts are able to be packaged.
Are all used fonts installed? - Yes
Did you have your fonts in a Document Fonts folder beside your old file and saved your new document on a different place? - Before I upgraded to Mavericks I was able to package everything for this exact same file so I do have fonts in the packaged folder (referring to my 2013 file) so even though the fonts aren't in a Documents folder (they are inside the package "Fonts" folder) so I think the answer to your question is yes.
Does your font folder have the same permession as the folder before? - I believe so because I never changed the permissions for the fonts
Do you use CS6 as part of the Creative Cloud and are you using TypeKit fonts? Or are you using the boxed version? - I am trying to avoid using Creative Cloud since I already have CS6 that I have already paid for. What I am reading on the internet, however, is that Adobe is forcing people to move over to CC when they upgrade to Mavericks due to problems like I am having now. I am not sure if this is true/untrue but I am definitely concerned. I can not afford right now to start paying a monthly fee (especially after I have already paid for CS6). I am using a boxed version of CS6 and I am not using TypeKit fonts. -
Problem with OWA_UTIL.IDENT_ARR parameters through mod_plsql in 9iAS
Hi!
We discovered very strange bug in our Oracle environment. We're using the following configuration: Oracle8i (8.1.6), OWA-packages (from 9iAS), 9iAS (Release 1).
Suddenly some procedures stopped working. mod_plsql reports the following
---start-------------------------------------------------------------------------
Thu, 27 Jun 2002 04:42:32 GMT
ORA-06550: line 7, column 2:
PLS-00306: wrong number or types of arguments in call to 'INDICATORS_REPORT1'
ORA-06550: line 7, column 2:
PL/SQL: Statement ignored
DAD name: owh8i
PROCEDURE : htm_client_indicators_leshik.indicators_report1
USER : dwh
URL : http://ntw:80/pls/owh8i/htm_client_indicators_leshik.indicators_report1?monthes_=200206&monthes_=200205&monthes_=200204&client_id_=8175682&division_id_=0&type_balance_=morning&mail_=N&rs_without_rs_=on&rs_without_deposit_=on&rs_without_credit_=on&rs_without_veksel_=on
PARAMETERS :
============
monthes_:
200206
client_id_:
8175682
division_id_:
0
type_balance_:
morning
mail_:
N
rs_without_rs_:
on
rs_without_deposit_:
on
rs_without_credit_:
on
rs_without_veksel_:
on
ENVIRONMENT:
============
PLSQL_GATEWAY=WebDb
GATEWAY_IVERSION=2
SERVER_SOFTWARE=Oracle HTTP Server Powered by Apache/1.3.19 (Unix) mod_perl/1.25 mod_oprocmgr/1.0
GATEWAY_INTERFACE=CGI/1.1
SERVER_PORT=80
SERVER_NAME=ntw
REQUEST_METHOD=GET
QUERY_STRING=monthes_=200206&monthes_=200205&monthes_=200204&client_id_=8175682&division_id_=0&type_balance_=morning&mail_=N&rs_without_rs_=on&rs_without_deposit_=on&rs_without_credit_=on&rs_without_veksel_=on
PATH_INFO=/pls/owh8i/htm_client_indicators_leshik.indicators_report1
SCRIPT_NAME=/pls
REMOTE_HOST=
REMOTE_ADDR=172.16.1.36
SERVER_PROTOCOL=HTTP/1.1
REQUEST_PROTOCOL=HTTP
REMOTE_USER=
HTTP_CONTENT_LENGTH=
HTTP_CONTENT_TYPE=
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
HTTP_HOST=ntw
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_ACCEPT_LANGUAGE=en-us
HTTP_ACCEPT_CHARSET=
HTTP_COOKIE=
Authorization=Basic ZHdoOnlmbGp2eWp1aiQ=
HTTP_IF_MODIFIED_SINCE=
HTTP_REFERER=
HTTP_SOAPACTION=
---end---------------------------------------------------------------------------------
here you can see that URL contains substring "monthes_=200206&monthes_=200205&monthes_=200204" but in "parameters" section there's only one "monthes_".
This procedure is part of a package. I tried to create empty package with this procedure alone. And it works. But the original package doesn't work.
Similar things has happened in some other packages. It seems that the problem is somehow connected with IDENT_ARRs.
I can send you configuration files for app server and the problem package.Check for procedure name overloading for the procedure you
are trying to run
If you still have problems, please provide a simple testcase
which shows the procedure signature and how you are attempting
to call it
Maybe you are looking for
-
Automatic creation of Purchasing info record while creating PO.
Dear all, We have one issue. When a purchase order is created due to the Infoupdate checkbox in material data tab is on, a purchasing inforecord gets generated automatically. But it is generated with price as Rs. 0. Is there any ways by which the au
-
Need help with container display / states
Greetings! I am trying to use states to change the contents of a canvas which is the second of two within a tab navigator. Buttons trigger functions to change the state and change the selectedIndex of the navigator to the second tab. The functions wo
-
Solaris 10 configuration parameters for Oracle 10g
Hello all, I have installed: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit on the latest version of Solaris 10 SPARC. My /etc/project file looks as follows: user.oracle:101:Oracle:::process.max-sem-nsems=(privileged,256,deny);proj
-
Is anyone else having problems with Infinity?
Hi, I got BT Infinity on the 27th November, the first few days I had it, no problems I was getting speeds like 37k down & 10+ up, but I have now been suffering slower speeds than I had with my old option package for the past 10 days or so, I get 1.7k
-
PCMCIA is not working properly on Satellite Pro U200 with Vista
Hi I have upgraded to Vista home premium on U200 and so far almost everything is fine. I do however have 2 issues relating to PCMCIA that are bugging me: - Any PCMCIA card inserted causes the machine to slow down drastically and mouse movement etc be