SAPScript: Box Problem??
Hi all,
I need a dynamic box size on Main Window, here are the conditions
if I Script layout output is going Beyond one page then I need BOX1 on Main Window, otherwise, if output is limited to one page then BOX2.
Here i am trying to display line items in main window A a Tabular format using boxes. If line itmes are filling half the page, then half page size box should get printed.
How can i get this?? any ideas?
Thanks
Message was edited by: Vipin Nagpal
Hi
Instead of using static box; calculate the position of Y coordinate by using ABAP subroutine in Script.
you can refer the following code for the same.
/: PERFORM 'XXXXXX' IN PROGRAM 'ZXXXXXX'
/: USING &FLAG&
/: USING &PAGENO&
/: CHANGING &YP&
/* FOR FIRST PAGE
/: IF &PAGE(C)& = 1
/* THE TOP LINE
/: POSITION PAGE
/: POSITION XORIGIN '4.5' CH YORIGIN '44.0' LN
/: SIZE WIDTH '68' CH HEIGHT '0' LN
/: BOX FRAME 10 TW
The 1st vertical line
/: POSITION PAGE
/: POSITION XORIGIN '4.5' CH YORIGIN &YP& LN
/: SIZE WIDTH '0' CH HEIGHT '1' LN
/: BOX FRAME 10 TW
/* The 2nd vertical line
/: POSITION PAGE
/: POSITION XORIGIN '24.0' CH YORIGIN &YP& LN
/: SIZE WIDTH '0' CH HEIGHT '1' LN
/: BOX FRAME 10 TW
Similar Messages
-
"Dialog box "PROBLEM WITH SHORTCUT"
When my T40 p starts up I keep getting the following message, over and over again until I close the system tray IBM Connect bar.
"Dialog box “PROBLEM WITH SHORTCUT”
The drive or network connection that the shortcut IBM Access Support.lnk refers to is unavailable. Make sure that the disc is properly inserted to the network resource is available, and then try again. "
Help!You'll need to find your iTunes folder. It's usually located on your main hard disk under My Documents/My Music/iTunes. Copy this whole folder to another hard drive (if possible) or burn it on a CD (probably will take more than one--depending upon how large your library is) or DVD. Once you have a good backup of your library, try downloading and reinstalling iTunes.
-
I am working on an Activity Box problem. I got some errors, Please Help and Thanks in advance!!!
My program likes:
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
/*ActivityBox Applet */
public class ActivityBox extends Applet {
//Declarations
String panelString = new String("News from the field.");
String southString = new String("South Button");
String infoString = new String("Type here.");
String kbString = new String("East ");
MousePanel cp = new MousePanel(100,100,panelString);
MousePanel ep = new MousePanel(100,100, kbString);
MousePanel np = new MousePanel(50,50);
MousePanel sp = new MousePanel(100,100);
MousePanel wp = new MousePanel(100,100,"West - Type here");
TextField myText = new TextField(infoString);
Button southButton = new colorChanger(southString);
colorChanger Blues = new colorChanger(Color.blue);
buttonListener Zap = new buttonListener(cp, myText, ep);
kbListener Tap = new kbListener(ep, kbString);
//init
public void init() {
setLayout(new BorderLayout(5,5));
np.addMouseListener(Blues);
add("North",np);
np.add(myText);
np.setBackground(Color.Cyan);
sp.addMouseListener(Blues);
southButton.addActionListener(Zap);
sp.add(southButton);
add("South", sp);
sp.setBackground(Color.Cyan);
ep.addMouseListener(Blues);
add("East",ep);
ep.setBackground(Color.Cyan);
wp.addMouseListener(Blues);
wp.addKeyListener(Tap);
add("West",wp);
wp.setBackground(Color.Cyan);
cp.addMouseListener(Blues);
add("Center",cp);
cp.setBackground(Color.Cyan);
/* MousePanel */
class MousePanel extends Panel {
public String nameTag = "";
Dimension myDimension = new Dimension(15,15);
//Constructor 1 - no name tag
MousePanel(int h, int w) {
myDimension.height = h;
myDimension.width = w;
//Constructor2 - with name tag
MousePanel(int h, int w, String nt) {
myDimension.height = h;
myDimension.width = w;
nameTag = nt;
//paint
public void paint(Graphics g) {
g.drawString(nameTag,5,10);
//change text
public void changeText(String s){
nameTag = s;
repaint();
public Dimension getPreferredSize(){
retrun myDimension;
//getMinimumSize
public Dimension getMinimumSize(){
return myDimension;
class colorChanger implements MouseListener {
private Color oldColor = new Color(0,0,0);
private Color changeColor = new Color(0,0,0);
//constructor
colorChanger(Color it){
changeColor = it;
//Methods required to implement MouseListener interface
public void mouseEntered(MouseEvent e) {
oldColor = e.getComponent().getBackground();
e.getComponent().requestFocus();
public void mouseExited(MouseEvent e) {
e.getComponent().setBackground(oldColor);
e.getComponent().transferFocus();
public void mousePressed(MouseEvent e) {
public void mouseReleased(MouseEvent e) {
public void mouseClicked(MouseEvent e) {
class buttonListener implements ActionListener {
private MousePanel it1 = new MousePanel(0,0,"");
private MousePanel it2 = new MousePanel(0,0,"");
private TextField from = new TextField("");
private String words = new String("");
//constructor
buttonListener(MousePanel target1, TextField source, MousePanel target2){
it1 = target1;
from = source;
it2 = target2;
//Methods required to implement ActionLIstener interface
public void actionPerformed(ActionEvent e) {
words = from.getText();
it1.changeText(words);
from.setText("");
it2.changeText("");
}//end buttonListener
class kbListener implements KeyListener {
private MousePanel it = new MousePanel(0,0,"");
private String putString = new String("");
//constructor
kbListener(MousePanel target, String display){
it = target;
putString = display;
//Methods required to implement KeyListener interface
public void keyPressed(KeyEvent e) {
public void keyReleased(KeyEvent e){
public void keyTyped(KeyEvent e){
putString = putString + e.getKeyChar();
it.changeText(putString);
}When I compiled it, I got:
ActivityBox.java:18: cannot resolve symbol
symbol : constructor colorChanger (java.lang.String)
location: class colorChanger
Button southButton = new colorChanger(southString);
^
ActivityBox.java:24: cannot resolve symbol
symbol : constructor BorderLayout (int,int)
location: class BorderLayout
setLayout(new BorderLayout(5,5));
^
ActivityBox.java:28: cannot resolve symbol
symbol : variable Cyan
location: class java.awt.Color
np.setBackground(Color.Cyan);
^
ActivityBox.java:33: cannot resolve symbol
symbol : variable Cyan
location: class java.awt.Color
sp.setBackground(Color.Cyan);
^
ActivityBox.java:36: cannot resolve symbol
symbol : variable Cyan
location: class java.awt.Color
ep.setBackground(Color.Cyan);
^
ActivityBox.java:40: cannot resolve symbol
symbol : variable Cyan
location: class java.awt.Color
wp.setBackground(Color.Cyan);
^
ActivityBox.java:43: cannot resolve symbol
symbol : variable Cyan
location: class java.awt.Color
cp.setBackground(Color.Cyan);
^
ActivityBox.java:72: cannot resolve symbol
symbol : class retrun
location: class MousePanel
retrun myDimension;
^
.\BorderLayout.java:8: setLayout(java.awt.LayoutManager) in java.awt.Container c
annot be applied to (BorderLayout)
p.setLayout(new BorderLayout ());
^
.\BorderLayout.java:9: cannot resolve symbol
symbol : variable NORTH
location: class BorderLayout
p.add("North", BorderLayout.NORTH);
^
.\BorderLayout.java:10: cannot resolve symbol
symbol : variable SOUTH
location: class BorderLayout
p.add("SOUTH", BorderLayout.SOUTH);
^
.\BorderLayout.java:11: cannot resolve symbol
symbol : variable EAST
location: class BorderLayout
p.add("EAST", BorderLayout.EAST);
^
.\BorderLayout.java:12: cannot resolve symbol
symbol : variable WEST
location: class BorderLayout
p.add("WEST", BorderLayout.WEST);
^
.\BorderLayout.java:13: cannot resolve symbol
symbol : variable CENTER
location: class BorderLayout
p.add("CENTER", BorderLayout.CENTER);
^
14 errorsAgain compile ur code .... I don't seem to get all those errors
-
Hi!
I have some problem and I need help..
fail-box problem with lokal and network system.
I dont know how to solve it'
Thank you...Are you still facing the same issue ? if yes then please post the screenshot of exact error and few details such as if you are getting this error while opening a specific file or on double click on Muse itself ?
Thanks,
Sanjit -
I have been working all morning to add a horizontal spry menu
bar to the menu_bar section of the Mother Earth Template (
http://www.webshapes.org/template/details/id/200702247034127204)
from Webshapes (
http://www.webshapes.org/)
Anyway, I had to do some crazy positioning to get the
submenus to lign up with the menus and now the submenus will not
display in IE because of an 'expanding box problem' All of the
problems are associated with either my "ul.MenuBarHorizontal ul" or
my "ul.MenuBarHorizontal ul ul"
Can anyone help me with this? I am a beginner with
Dreamweaver and have been having a lot of troubles with it.
Thanks.Hello Tom, Is it a template related error message?
I would suggest you to use percentages when setting the width
and height values. -
Spry Vertical Submenu - Expanding Box Problem, white background
Hello everyone. I've recently incorporated a Spry Vertical Menu on my site for the first time and I'm experiencing problems with the submenu in IE7. (Things look fine in FF, Safari, and Opera.) A white box appears behind the text area (the "bios" and "contact us" links). And....In IE6 the entire menu bar becomes a horizontal mess.
I've come to learn that this is called an Expanding Box Problem but I don't know how to fix it. Perhaps this is seperate issue from the white panel issue altogether. I dunno. Can anyone be of assistance? I've been trying to solve this problem for days.
http://www.exposedproductionsnyc.com
Below is the CSS:
/* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
ul.MenuBarVertical
list-style-type: none;
font-size: 100%;
cursor: default;
width: 8em;
padding-top: 0px;
padding-right: 0;
padding-bottom: 0;
padding-left: 31.5px;
background-color: #000;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
z-index: 1000;
/* Menu item containers, position children relative to this container and are same fixed width as parent */
ul.MenuBarVertical li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 160px;
background-color: #000;
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarVertical ul
margin: -5% 0 0 95%;
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 8.2em;
left: -1000em;
top: 0;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarVertical ul.MenuBarSubmenuVisible
left: 0;
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
width: 100px;
padding-left: 29px;
padding-top: 3px;
margin-top: 1px;
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Outermost menu container has borders on all sides */
ul.MenuBarVertical
/* Submenu containers have borders on all sides */
/*ul.MenuBarVertical ul
border: 1px none #CCC;
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarVertical a
display: block;
cursor: pointer;
background-color: #000;
padding: 0.5em 0em;
color: #FFF;
text-decoration: none;
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
background-color: #000;
color: #6CC3D7;
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
background-color: #000;
color: #6CC3D7;
SUBMENU INDICATION: styles if there is a submenu under a given menu item
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
background-color: transparent;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
background-color: transparent;
BROWSER HACKS: the hacks below should not be changed unless you are an expert
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarVertical iframe
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarVertical li.MenuBarItemIE
display: inline;
f\loat: left;Long answer = z-index
http://www.smashingmagazine.com/2009/09/15/the-z-index-css-property-a-comprehensive-look/
Nancy O. -
Expanding box problem in some browsers
My bottom three dividers are having an expanding box problem in some browers. Any idea how to fix? This is my first website and I am clueless.....
www.privateinsurancebrokers.com
Source Code:
V <div id="container">
<div id="main_image"><img src="Images/ThreeArch.jpg" width="960" height="400" alt="Kenneth G. Harris Insurance Agency" /></div>
<div id="left_colum">
<strong><a href="employeebenefits.html"><img src="Images/Website_EmployeeBenefits.jpg" width="310" height="127" alt="Employee Benefits Orange County" /></a>Employee Benefits
</strong><br />
Since 1972, Kenneth G. Harris Insurance Agency has advocated for our clients in the process of securing the highest value employee benefit program. <a href="employeebenefits.html" target="_new">Learn More»</a> </div>
<div id="center_column"><strong><a href="HealthInsurance.html"><img src="Images/Family and Individual Insurance.jpg" alt="Family and Individual Insurance Services" width="310" height="127" align="top" /></a>Individual & Family Insurance Services
</strong>Kenneth G. Harris Insurance Agency will work with our insurance and financial partners to assist you with all aspects of your personal insurance needs. <a href="individualinsurance.html" target="_new">Learn More»</a></div>
<div id="right_column"><a href="news.html"><img src="Images/blog.jpg" width="310" height="127" alt="Health and Life Insurance News Orange County" /></a>
<strong>Information</strong> <br />
Keep up-to-date with the latest employee benefits and private insurance news. Let us serve as your resource for health care reform news and<a href="article2.html" title="Kenneth G. Harris Insurance Agency Group Health and Individual Insurance" target="_new"> more»</a></div>
</div>Your CSS Layout has a provision for clearing floats but I don't see it in your HTML markup.
Insert a float clearing <br> <p> or <hr> right above your footer division like so:
<hr class="clearfloat" />
<div class="footer">
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
10.4.7 MLTE black box problem
Hi all
Anyone get a black MLTE box problem after the 10.4.7 upgrade?
The multilingual text engine in the open source game Aleph One after the upgrade to 10.4.7 - shows a black box in the chat area. It is not always a problem - about 30% of the games I start seem to have it.
ThanksI just recieved an email from F-Secure, after I told them, that no attachments sent from Mail (after 10.4.7) go through to F-Secure / Windows users.
They have investigated the problem and reported this:
The attachments MIME header has the following fields: name and filename.
For some reason Mail removes the blank spaces from the name field but leaves the filename field untouched. These differences in the fields make F-Secure remove the attachment (alarm).
One "fix" is removing the blank spaces from the filename, for example File 1.pdf >> File1.pdf. But this in not easy computing. Everything works just fine with 10.4.6 and before, but 10.4.7 >> is causing the problems.
PowerMac Dual Core G5/2,3GHz | 250Gb | SD | 23 Cinema • PB G4/1,67GHz | 15,2 | 8 Mac OS X (10.4.7) AppleFarmer -
Hi Guys,
I'm facing difficulties on drawing a box with records in SAPScript. Im using below for box drawing:
1. Draw main box
/: BOX WIDTH 280 MM HEIGHT 130 MM FRAME 10 TW
2. Draw vertical line to separate each different COLUMN
/: BOX XPOS 15 CH WIDTH 0 CH HEIGHT 130 MM FRAME 10 TW
3. Draw <b>horizontal line</b> to separate each different RECORD
/: BOX YPOS 4 CH WIDTH 280 MM HEIGHT 0 CH FRAME 10 TW
Problems:
1. For drawing <b>horizontal line</b> to seprate each record, basically i fix a static incremental counter for YPOS xxx CH.
For eg:
1st line -> /: BOX YPOS <b>4</b> CH WIDTH 280 MM HEIGHT 0 CH FRAME 10 TW
2nd line -> /: BOX YPOS<b> 6</b> CH WIDTH 280 MM HEIGHT 0 CH FRAME 10 TW
3rd line -> /: BOX YPOS <b>8</b> CH WIDTH 280 MM HEIGHT 0 CH FRAME 10 TW
... and so on, until the end of the box
The output LINE for first few records still ok, but for the rest it is <b>overlapping</b> with the records.
---> Please comment the right way to overcome above.
2. The code for drawing horizontal line is a lot, is there a better to perform the drawing?
> Please comment
Thanks in advance.Hi,
My problem solved by using LN as below:
:/ BOX YPOS 4 <b>LN</b> WIDTH 280 MM HEIGHT 0 CH FRAME 10 TW
But right now, im using command SIZE to draw a box for me automatically by following the actual window size. I did that with no problem.
But im facing problem when im drawing Vertical line(column separator)within the box. Im intend to draw a line <b>without</b> specific the height for <b>Vertical</b> line(because my 2nd page's height is larger than 1st page and thus i do not want to harcode the height). Below is my code:
/:SIZE WINDOW -->Draw main box
/:BOX FRAME 10 TW -->Draw main box
/:BOX XPOS 15 CH FRAME 10 TW --> Draw vertical line
The result returned with problem, there are 2 vertical line being draw out. 1st line is draw at position 15 ch as instructed by the command, but there is <b>2nd line draw out of my main box</b> on right, this is not expected.
Please comment on how should i fix the code.
Thanks in advance. -
SapScript - Box / Position / Writing Text -
Hello everyone.
I have an problem in a SapScript.
I made the following code:
BOX FRAME 20 TW
BOX HEIGHT '2.2' CM FRAME 10 TW
BOX HEIGHT '2.7' CM FRAME 10 TW
BOX YPOS '2.7' CM WIDTH '5.5' CM HEIGHT '9.5' CM FRAME 10 TW
BOX YPOS '2.7' CM WIDTH '7.0' CM HEIGHT '9.5' CM FRAME 10 TW
BOX YPOS '2.7' CM WIDTH '9.5' CM HEIGHT '10.3' CM FRAME 10 TW
BOX YPOS '2.7' CM WIDTH '15.0' CM HEIGHT '9.5' CM FRAME 10 TW
BOX YPOS '2.7' CM WIDTH '16.5' CM HEIGHT '9.5' CM FRAME 10 TW
BOX HEIGHT '3.2' CM FRAME 10 TW
BOX HEIGHT '12.2' CM FRAME 10 TW
BOX HEIGHT '13' CM FRAME 10 TW
My main problem is: How do i write something that appears at the end of this box without going "ENTER" all the way in the SapScript.
Thanks in advance,
Rui Ribeiro.emowtf,
If this is a Word Processing document, Select the Text Box and Format > Advanced > Move Object to Section Master. It will then appear on each page in the Section. If you have multiple sections, you will have to do this for each section.
If it is a Page Layout document, create your first page and then Format > Advanced > Capture Pages to make a reusable master page with your custom page number text box.
Regards,
Jerry -
Hi,
I have a Sapscript and I use box to make borders.
I´m printing in a Laser printer and it´s works but in Epson LQ-1070 it doesn´t.
This problem was solved once by basis but now there no basis here to help me.
I tryed some configurations on SPAD and diden´t work.
Thanks in advance.
Best regards,
Marcelo PerineExecute TCODE : SPAD.
go to outputdevices tab.
press output device button .
press button 'create using templete' by selecting the default printer .now in your 'SPOOL ADMINISTRATION OUTPUT DEVICE ' define your EPSON Printer into device type(take care of nos of pins as more than one epson printers might be available.so determine the pins in your printer ,printer model and select the appropriart printer).
SAVE IT and use this name instead of original one .your printout will be directed to epson printer.
reward if it helps -
I'm having the text field problem. I have two text boxes (inside my .fla file) one i can add more text without the box expanding and can then select the text and croll down to view the missing text and the other one just gets longer the more text I add. I'm trying to duplicate the text box that does not expand the more text I add to it.
All the settings in the properties are the same on both and I've tried it in MX and CS3 and the both have the same properties in both.
I'm stumped can anyone help.
I'm attaching the file.
Thanks!If you right click the textfield on the stage you can select the "scrollable" option for it. Another option to duplicate the textfield is to copy/paste it.
-
Re: (forte-users) Forte on Solarix box problem
Hi All,
Thank you very much, for all the help you
people extended towards this problem.Its solved, the
problem was i had 2 users, and i started from one user
Nodemanager ( which does not have oracle home path
set) and from the other user id, i started the
launcher, ( which have oracle home set), so the
application, was running locally, but when i
distributed the application, it was not finding oracle
home variable from the other user, from which node
manager was started. So that was the problem. I found
this specifically after setting FORTE_STACK_SIZE,
variable(as suggested by Thomas), it was throwing
error saying that, tns name is not resolved,( kudos to
Thomas :) ).
Once again thank you all.
Babu
--- Thomas Degen - Sun Germany Forte Tools - Bonn
<thomas.degensun.com> wrote:
>
Hi Babu,
ok, maybe we need to go now a bit more in some
details of
your Forte nodemanager environment on the Sparc
Solaris box.
Q1: Which operating system release ? Solaris
2.51,2.6,7 or 8 ?
Q2: Which Forte Release are you running on all nodes
Q3: Where's the Forte environment manager located ?
Q4: Which Oracle RDBMS release have you installed on
the Sun ?
Q5: Which Oracle client release have you probably
installed
on your PC which is running NT4 I guess ?
(These questions are just the generic Tech Support
approach
to get an idea about your environment).
Q6: You mentioned in your very first message that
during
Forte installation on the Sun, you've left the
path to
Oracle empty....it is mandatory for the Forte
nodemanager
on any box/operating system to find in its
environment
the relevant third party environmental
informations...
For Oracle the Forte nodemanager on Sun
requires a
valid setting for ORACLE_HOME !
Could you send me the complete environment for
the user
who is starting the Forte nodemanager on your
Sun ?
Q7: This is more a necessary suggestion than a
question
but is and when yes, how have you setted
FORTE_STACK_SIZE
on the Sun ?
If it's not there or only set as
FORTE_STACK_SIZE=42000,
then add or reconfigure FORTE_STACK_SIZE to
100000 in the
nodemanager's environment and re-boot the
nodemanager!
Q8: Once more a recommendation than question but can
you
just try to access your Oracle DB instance with
the Forte
sample program DynamicSQL ? You will find this
in
the $FORTE_ROOT/install/examples/database
directory
and it will require the Utility plan that you
may import
from $FORTE_ROOT/install/examples/frame .
Try to access your Oracle instance from local
directly
out of your workspace and later on full
distributed
via an own Forte server partition from the
Partition
Workshop. Send to me all errors thrown during
these
procedures on the client and within the remote
server
partition logfile on the Sun.
BTW: When you can access the Oracle RDBMS running in
the
Forte IDE locally, this is an indicator to me that
you have
setted up the Oracle client on your PC and have
configured
Oracle locally correctly (tnsnames.ora) to connect
to your
remote Oracle instance...hence when test running
locally, Forte
will use this locally configured Oracle SQL*Net V2
client
to connect to your remote Oracle RDBMS instance.
That's one
shortcut making it possible for you as the Forte
developer
to debug DB access within the Forte IDE...when
running completly
distributed debugging of remote partitions is not
possible.
Hope this helps ! Best Regards from Germany !
Thomas
Thomas Degen
Sun Microsystems - Forte Tools
Forte CTE & Sustaining Group
Technical Support Germany
tel.:+49.228/91499-50
MailTo:thomas.degensun.com
At 10:55 09.09.00 -0700, you wrote:
HI Mark,
I have setup all the resources properly.Even
given new names, and tried again, no use so far.
Thanks,
Babu
--- Mark Musgrove <musgrovemarkyahoo.com> wrote:
The message "Loading partition
DatabaseTestSolaris_cl0_Part2 built on
<unknown>."
is
bizarre.
It sounds like the partition workshop is notassigning
the partition containing the DBSession to thecorrect
server node. Normally you would see "built on<node name>."
Have you setup the supported resource managerson
the solaris node? If not, then forte will notassign the
DBSession to the correct node. You mustdesignate in
the environment that the server node supportsall of
the required resources (Oracle, ODBC, etc).
Mark Musgrove
Senior Consultant
Object Technologies, Inc
(540) 977-3861 (home)
(540) 977-2794 (fax)
http://mail.yahoo.com/Hi All,
Thank you very much, for all the help you
people extended towards this problem.Its solved, the
problem was i had 2 users, and i started from one user
Nodemanager ( which does not have oracle home path
set) and from the other user id, i started the
launcher, ( which have oracle home set), so the
application, was running locally, but when i
distributed the application, it was not finding oracle
home variable from the other user, from which node
manager was started. So that was the problem. I found
this specifically after setting FORTE_STACK_SIZE,
variable(as suggested by Thomas), it was throwing
error saying that, tns name is not resolved,( kudos to
Thomas :) ).
Once again thank you all.
Babu
--- Thomas Degen - Sun Germany Forte Tools - Bonn
<thomas.degensun.com> wrote:
>
Hi Babu,
ok, maybe we need to go now a bit more in some
details of
your Forte nodemanager environment on the Sparc
Solaris box.
Q1: Which operating system release ? Solaris
2.51,2.6,7 or 8 ?
Q2: Which Forte Release are you running on all nodes
Q3: Where's the Forte environment manager located ?
Q4: Which Oracle RDBMS release have you installed on
the Sun ?
Q5: Which Oracle client release have you probably
installed
on your PC which is running NT4 I guess ?
(These questions are just the generic Tech Support
approach
to get an idea about your environment).
Q6: You mentioned in your very first message that
during
Forte installation on the Sun, you've left the
path to
Oracle empty....it is mandatory for the Forte
nodemanager
on any box/operating system to find in its
environment
the relevant third party environmental
informations...
For Oracle the Forte nodemanager on Sun
requires a
valid setting for ORACLE_HOME !
Could you send me the complete environment for
the user
who is starting the Forte nodemanager on your
Sun ?
Q7: This is more a necessary suggestion than a
question
but is and when yes, how have you setted
FORTE_STACK_SIZE
on the Sun ?
If it's not there or only set as
FORTE_STACK_SIZE=42000,
then add or reconfigure FORTE_STACK_SIZE to
100000 in the
nodemanager's environment and re-boot the
nodemanager!
Q8: Once more a recommendation than question but can
you
just try to access your Oracle DB instance with
the Forte
sample program DynamicSQL ? You will find this
in
the $FORTE_ROOT/install/examples/database
directory
and it will require the Utility plan that you
may import
from $FORTE_ROOT/install/examples/frame .
Try to access your Oracle instance from local
directly
out of your workspace and later on full
distributed
via an own Forte server partition from the
Partition
Workshop. Send to me all errors thrown during
these
procedures on the client and within the remote
server
partition logfile on the Sun.
BTW: When you can access the Oracle RDBMS running in
the
Forte IDE locally, this is an indicator to me that
you have
setted up the Oracle client on your PC and have
configured
Oracle locally correctly (tnsnames.ora) to connect
to your
remote Oracle instance...hence when test running
locally, Forte
will use this locally configured Oracle SQL*Net V2
client
to connect to your remote Oracle RDBMS instance.
That's one
shortcut making it possible for you as the Forte
developer
to debug DB access within the Forte IDE...when
running completly
distributed debugging of remote partitions is not
possible.
Hope this helps ! Best Regards from Germany !
Thomas
Thomas Degen
Sun Microsystems - Forte Tools
Forte CTE & Sustaining Group
Technical Support Germany
tel.:+49.228/91499-50
MailTo:thomas.degensun.com
At 10:55 09.09.00 -0700, you wrote:
HI Mark,
I have setup all the resources properly.Even
given new names, and tried again, no use so far.
Thanks,
Babu
--- Mark Musgrove <musgrovemarkyahoo.com> wrote:
The message "Loading partition
DatabaseTestSolaris_cl0_Part2 built on
<unknown>."
is
bizarre.
It sounds like the partition workshop is notassigning
the partition containing the DBSession to thecorrect
server node. Normally you would see "built on<node name>."
Have you setup the supported resource managerson
the solaris node? If not, then forte will notassign the
DBSession to the correct node. You mustdesignate in
the environment that the server node supportsall of
the required resources (Oracle, ODBC, etc).
Mark Musgrove
Senior Consultant
Object Technologies, Inc
(540) 977-3861 (home)
(540) 977-2794 (fax)
http://mail.yahoo.com/ -
KVM with mini and out of box problem
#1 Just bought a refurbed mini, want to share kvm as I have in the past with a wintel laptop.
Anyone using a kvm controller with their mini? I've got a iogear with my existing wireless k/m and the mini doesn't like it very much. Sporadic mouse movements, and weird mouse type clicks happening when moving around menus(such as right click result on screen when hand isn't near the button).
I went to a wired mouse for a test as the kvm had a separate usb port for kybd and mouse...that hasn't completely solved the problem.
#2 I've got a 2nd problem which may be causing the keyboard issues. I unboxed my mini, started it and when prompted hooked up my old g4 mac as a target disk unit. The mini flawlessly transferred over all my email, programs, icon's, etc in a little under 2 hours. Rebooted and logged right in to my old environment! Very impressive. Patched it after that and it rebooted fine.
The other night, I turned it on, and the screen resolution was changed. Didnt think much of it thinking the kvm may be messing with it.
Two nights ago I checked my mail and walked away for a while..upon my return it locked. Held pwr key in until it shutdown and went to bed. Last night I turned it on, got the "Osx has recovered.." message. Cleared that and as soon as I opened mail it crashed again(getting the your computer has encountered a problem black box error..). Restarted tried my IM client...crash.... reboot, try firefox...crash.
I haven't tried booting and repairing disk permissions yet. Any other thoughts?
thanksI use a TrendNet KVM with my Mini and PC.
Empirically I've concluded that a wireless mouse is not a good idea with this setup; I use a wired USB mouse now.
I had to try a couple of KVM brands before I found a good fit. Even so, occasionally I get a key repeat from a single key press, but otherwise everything is fine.
My experience has been that any kind of PS/2->USB adapter used with a KVM is a bad idea. The fewer converters the better.
I'd recommend not using the KVM until you get your other issues with the Mini sorted out.
It is possible that migrating your settings from other Mac is causing some of your problems. -
"JPEG Options" Box Problem--Help!
I am new to Lightroom and having a problem using the "Export Actions" function. I am a wedding editor and I send thousands of files through the Bridge Photoshop>Image Processor every week. Well now that I switched over to Lr, I am using the Export Actions function during exporting in order to run my Photoshop actions on the files.
Here's what I do: I export Tiff files and save them as a Jpeg, while also running an Export Action. As a Bridge image processor action, this worked perfectly fine (ie Photoshop opened the files, ran the action, saved, and closed). Now that I am running the action through Lr as an Export Action, Photoshop displays a "JPEG Options" save box for EACH file that you must click "OK" in order to go on to the next file. Again, I run thousands of files and I cannot click "OK" on each one.
Why is this "JPEG Options" box suddenly appearing when it never used to? How can I get Lr/Photoshop to run this action like normal (save and close without being prompted by me)?
Additional Infor: I have Lightroom 2 and Photoshop CS3.
When I create the droplets in Photoshop, I have "Override Action Open Commands" unchecked.
[See "Problem with a Scott Kelby Action" post below for someone who had the same exact problem]Another thing you could do (although I'm sure you won't want to do it) is export TIFF images from Lightroom so that they include all of the Lightroom changes. Then exit Lightroom and load those exported images into Bridge and run your action.
I like Lightroom, and I use it every day. But occasionally I find that it's easier to just forget about it and do all of the work in Photoshop. This is probably because I haven't taken the time to really become proficient with Lightroom, especially integrating it with Photoshop. So I just take the easy way out when I'm forced to do so.
Maybe you are looking for
-
Want to creat customer and vendor as per Co. Branch (Profit Center) wise.
Hello friends, I am in a critical case, my client want the customer and vendor as per company branch wise (i.e. Profit Center wise) not by account Group wise but as per my knowledge we can create the customer and the vendor as per account group.. Kin
-
my problem is I build the first view link by using createViewObjectFromQueryStmt method on my application module instance ,then I build the second view link by using createViewObjectFromQueryStmt method on my application module instance,now when I us
-
Poor Quality When Imported From FCP
Hello I have been having issues when importing a QT files into After Effects. When exported from FCP and imported into After Effects the footage loses significant quality, maybe a little interlaced. Ive checked and double checked fields, Im exporting
-
After Effects GPUSniffer crash SOLVED
I have seen several people with the problem "GpuSniffer" when After Effects is loading. (I have a Nvidia GTX 760 graphic card) In my case the solution has been: ****First: Install the CUDA drivers (after do this the "gpusniffer crash" dissapeared but
-
Studio 3.1 & Portal 9.2 - JSF portlet problem
Hi, first time here. Let say I have create a simple jsf navigation application using Studio 3.1 like this: // inside faces-config.xml <navigation-rule> <from-view-id>/pages/inputname.jsp</from-view-id> <navigation-case> <from-outcome>greeting</from-o