SMTP IPS block problem
I setup ID 3110 (suspicious mail attachment)to deny attacker inline thinking that nobody needs to send those type of attachments and it would cut down on virus's. Worked fine until today when someone internal tried to send one and the IPS blocked my internal smtp server from going to the internet. Is there a way of setting up execptions in the IPS so that my internal IP range is allways allowed access? Or is there a better way of doing this?
Thanks for the help.
We've seen false positives with that signature, but YMMV...they've modified it recently so maybe it's fixed.
anyway, to answer your question...there are two ways to handle this.
1) Use an event filter to subtract the action from the alarm. The mail server source ip would part of the criteria in the filter. You might want to consider creating an event variable for your entire DMZ and creating an event filter that subtracts any of the "deny" actions if DMZ=source. See Event Action Rules->Even Action Filters in the IDM.
2) add the source ip or network to the "never block addresses". See Blocking->Blocking Properties in the IDM. I don't believe this works for actions that are "deny"...you'll need an event filter for those.
Similar Messages
-
Hi,
We have installed oracleAS 10g and our application is deployed for sms.Now we are shifting machine in new building. In new building IPs will be change.
Please let me know, Can changed IPs create problems or 10g will work normally after change in IP.
saqibYou might want to check and see if your hostname or DNS information is going to change along with the IP. Any and all of these changes WILL affect the move, and all have to be dealt with - usually by reconfiguring the listener and server parameters. Changing these items is not a trivial task and expect a few bumps before you get things back up. The name resolution will be key to the clients, so don't forget to check the DNS records.
-
Mail SMTP rogers authentication problem or bug?
I'm setting up multiple email accounts in Mail.
Internet provider is with Rogers
Rogers blocks SMTP ports so the only SMTP I can use with all my mail accounts is smtp.broadband.rogers.com
Having a problem with Mail where one of the accounts is using the "Email Address" field (under Mail Prefs, Accounts, Account Information, field under "Description") for SMTP authentication and not the actual "User Name" field (under Outgoing Mail Server, edit server list, advanced, Authentication: Password)
So when I try to send an email with this non rogers account, I get the error:
*The sender address [email protected] was rejected by the server smtp.broadband.rogers.com.*
*Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be delivered.*
If I go to [email protected]'s settings and remove [email protected] from the email address field under "Account Information", the message can send fine... Problem being, it uses another of my email address as the sender so if people reply, they reply to the wrong address.
Seems that Apple mail's tying to use the email address for for SMTP authentication, instead of the username field.
Any ideas on how to fix this? All help appreciated and thank you in advance.
Cheers.Hello,
From other reports, I believe Rogers blocks sending from other addresses, unless you register each such address with them in advance. See:
http://discussions.apple.com/thread.jspa?messageID=7140992�
Ernie -
ASA: SMTP Outbound Blocked
Hello everyone,
i am having trouble with my outbound SMTP traffic. i have 5510 ASA with IPS module. i also have three interfaces configured the inside, DMZ, and outside. my incoming email pass with no problemes but my outgoing onse do not they get stuck in my DMZ with the follwing message No route to host . from my email relay i can ping even telnet any other port of any server on the internet but when it comes to SNMP it gives me this error. also the same thing happens with the inside. the configuration hasen't changed i also did a packet trace witch gave the result allowed across the board. now i am really stuck and can't figure out what is going on here is my asa config:
ASA Version 8.2(1)
hostname dspasa2
names
interface Ethernet0/0
nameif outside
security-level 0
ip address X.X.X.165 255.255.255.248
interface Ethernet0/1
nameif inside
security-level 100
ip address 192.168.0.3 255.255.255.0
interface Ethernet0/2
nameif dmz
security-level 50
ip address 10.0.0.101 255.255.255.240
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
interface Management0/0
nameif management
security-level 100
ip address 192.168.1.1 255.255.255.0
management-only
ftp mode passive
clock timezone CEST 1
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
object-group protocol TCPUDP
protocol-object udp
protocol-object tcp
access-list inside_access_in extended permit tcp host 192.168.0.1 any log disable inactive
access-list inside_access_in extended permit udp host 192.168.0.1 any log disable inactive
access-list inside_access_in extended permit ip host 192.168.0.4 any log disable
access-list inside_access_in extended permit tcp host 192.168.0.5 any log disable
access-list inside_access_in extended permit udp host 192.168.0.5 any log disable
access-list inside_access_in extended permit tcp 192.168.0.0 255.255.255.0 any eq ftp-data log disable
access-list inside_access_in extended permit tcp 192.168.0.0 255.255.255.0 any eq ftp log disable
access-list inside_access_in extended permit icmp 192.168.0.0 255.255.255.0 any log disable
access-list inside_access_in extended permit tcp 192.168.0.0 255.255.255.0 host 10.0.0.100 eq 8445
access-list inside_access_in extended permit ip 192.168.0.0 255.255.255.0 192.168.64.0 255.255.192.0
access-list inside_access_in extended permit ip 192.168.0.0 255.255.255.0 192.168.128.0 255.255.192.0
access-list inside_access_in extended permit ip 192.168.0.0 255.255.255.0 172.18.1.0 255.255.255.0
access-list inside_access_in extended permit ip 192.168.0.0 255.255.255.0 172.18.2.0 255.255.255.192
access-list inside_access_in extended permit object-group TCPUDP host 192.168.0.201 host 81.80.56.164 log disable
access-list inside_access_in extended permit ip 192.168.0.0 255.255.255.0 192.168.198.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.0.0 255.255.255.0 10.10.10.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.0.0 255.255.255.0 192.168.128.0 255.255.192.0
access-list inside_nat0_outbound extended permit ip 192.168.0.0 255.255.255.0 172.18.1.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.0.0 255.255.255.0 192.168.200.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.0.0 255.255.255.0 192.168.64.0 255.255.192.0
access-list inside_nat0_outbound extended permit ip 192.168.0.0 255.255.255.0 172.18.2.0 255.255.255.192
access-list inside_nat0_outbound extended permit ip 192.168.0.0 255.255.255.0 192.168.198.0 255.255.255.0
access-list outside_access_in extended permit icmp any any log disable
access-list outside_access_in extended permit esp any any log disable
access-list outside_access_in extended permit ah any any log disable
access-list outside_access_in extended permit udp any any eq isakmp
access-list outside_access_in extended permit tcp any host X.X.X.161 eq smtp
access-list outside_access_in extended permit tcp any host X.X.X.161 eq 8445
access-list outside_access_in extended permit tcp any host X.X.X.161 eq https
access-list outside_access_in extended permit object-group TCPUDP any host X.X.X.164
access-list dspgroup_splitTunnelAcl standard permit any
access-list dspgroup_splitTunnelAcl_1 standard permit any
access-list dspgroup_splitTunnelAcl_2 standard permit any
access-list snimndb extended permit ip 192.168.0.0 255.255.255.0 192.168.128.0 255.255.192.0
access-list snimndb extended permit ip 192.168.0.0 255.255.255.0 172.18.1.0 255.255.255.0
access-list snimndb extended permit ip 192.168.0.0 255.255.255.0 192.168.200.0 255.255.255.0
access-list snimndb extended permit ip 192.168.0.0 255.255.255.0 192.168.64.0 255.255.192.0
access-list snimndb extended permit ip 192.168.0.0 255.255.255.0 172.18.2.0 255.255.255.192
access-list snimndb extended permit ip 192.168.0.0 255.255.255.0 192.168.198.0 255.255.255.0
access-list SPIL standard permit 192.168.0.0 255.255.255.0
access-list QOS extended permit ip 192.168.0.0 255.255.255.0 192.168.64.0 255.255.192.0
access-list dmz-in extended permit icmp any any
access-list dmz-in extended permit tcp host 10.0.0.100 any eq https
access-list dmz-in extended permit tcp host 10.0.0.100 any eq www
access-list dmz-in extended permit udp host 10.0.0.100 any eq domain
access-list dmz-in extended permit tcp host 10.0.0.100 any eq smtp
pager lines 24
logging enable
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu dmz 1500
mtu management 1500
ip local pool VPNPOOL 10.10.10.1-10.10.10.20 mask 255.255.255.0
ip verify reverse-path interface outside
ip verify reverse-path interface inside
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 192.168.0.0 255.255.255.0
static (inside,dmz) 192.168.0.0 192.168.0.0 netmask 255.255.255.0
static (dmz,outside) X.X.X.161 10.0.0.100 netmask 255.255.255.255
static (outside,inside) 192.168.0.201 X.X.X.164 netmask 255.255.255.255
access-group outside_access_in in interface outside
access-group inside_access_in in interface inside
access-group dmz-in in interface dmz
route outside 0.0.0.0 0.0.0.0 X.X.X..166 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
aaa authentication enable console LOCAL
aaa authentication http console LOCAL
aaa authentication serial console LOCAL
aaa authentication ssh console LOCAL
aaa authorization command LOCAL
http server enable
http 192.168.0.0 255.255.0.0 management
http 192.168.0.0 255.255.0.0 inside
snmp-server location DSP
no snmp-server contact
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set myset esp-aes esp-md5-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map outside_dyn_map 20 set pfs group1
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-MD5
crypto map outside_map 1 match address snimndb
crypto map outside_map 1 set peer X.X.X.X
crypto map outside_map 1 set transform-set myset
crypto map outside_map 1 set security-association lifetime seconds 1800
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 1
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 1800
crypto isakmp ipsec-over-tcp port 10000
telnet timeout 5
ssh 192.168.0.0 255.255.255.0 inside
ssh 192.168.64.0 255.255.255.0 inside
ssh 192.168.0.0 255.255.0.0 management
ssh timeout 60
console timeout 0
management-access inside
priority-queue outside
threat-detection basic-threat
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
ntp server 192.168.0.4 source management
webvpn
group-policy dspgroup internal
group-policy dspgroup attributes
dns-server value 192.168.0.4 192.168.64.47
split-tunnel-policy tunnelspecified
split-tunnel-network-list value SPIL
default-domain value dsp.snim.com
tunnel-group DefaultRAGroup ipsec-attributes
pre-shared-key *
isakmp keepalive threshold 10 retry 2
tunnel-group DefaultRAGroup ppp-attributes
authentication pap
authentication ms-chap-v2
authentication eap-proxy
tunnel-group X.X.X.X type ipsec-l2l
tunnel-group X.X.X.X ipsec-attributes
pre-shared-key *
tunnel-group RAPARIS type remote-access
tunnel-group RAPARIS general-attributes
address-pool VPNPOOL
default-group-policy dspgroup
tunnel-group RAPARIS ipsec-attributes
pre-shared-key *
class-map voix
match dscp ef
class-map IPS
match any
class-map QOS
match access-list QOS
class-map inspection_default
match default-inspection-traffic
class-map inspection_defautl
policy-map type inspect dns preset_dns_map
parameters
policy-map voix
class voix
priority
policy-map global_policy
class inspection_default
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
class IPS
ips promiscuous fail-open
service-policy global_policy global
service-policy voix interface outside
prompt hostname context
Cryptochecksum:bb43480221ed20aafc3e397fd7432bc3
: end
Here is an ouput of the Packet Tracer
dspasa2# packet-tracer input dmz tcp 10.0.0.100 234 173.194.79.26 25
Phase: 1
Type: FLOW-LOOKUP
Subtype:
Result: ALLOW
Config:
Additional Information:
Found no matching flow, creating a new flow
Phase: 2
Type: ROUTE-LOOKUP
Subtype: input
Result: ALLOW
Config:
Additional Information:
in 0.0.0.0 0.0.0.0 outside
Phase: 3
Type: ACCESS-LIST
Subtype: log
Result: ALLOW
Config:
access-group dmz-in in interface dmz
access-list dmz-in extended permit tcp host 10.0.0.100 any eq smtp
Additional Information:
Phase: 4
Type: IP-OPTIONS
Subtype:
Result: ALLOW
Config:
Additional Information:
Phase: 5
Type: IDS
Subtype:
Result: ALLOW
Config:
class-map IPS
match any
policy-map global_policy
class IPS
ips promiscuous fail-open
service-policy global_policy global
Additional Information:
Phase: 6
Type: NAT
Subtype:
Result: ALLOW
Config:
static (dmz,outside) X.X.X.161 10.0.0.100 netmask 255.255.255.255
match ip dmz host 10.0.0.100 outside any
static translation to X.X.X.161
translate_hits = 3540, untranslate_hits = 920
Additional Information:
Static translate 10.0.0.100/0 to 81.80.56.161/0 using netmask 255.255.255.255
Phase: 7
Type: NAT
Subtype: host-limits
Result: ALLOW
Config:
static (dmz,outside) X.X.X.161 10.0.0.100 netmask 255.255.255.255
match ip dmz host 10.0.0.100 outside any
static translation to X.X.X.161
translate_hits = 3540, untranslate_hits = 920
Additional Information:
Phase: 8
Type: IP-OPTIONS
Subtype:
Result: ALLOW
Config:
Additional Information:
Phase: 9
Type: FLOW-CREATION
Subtype:
Result: ALLOW
Config:
Additional Information:
New flow created with id 8470, packet dispatched to next module
Result:
input-interface: dmz
input-status: up
input-line-status: up
output-interface: outside
output-status: up
output-line-status: up
Action: allow
please helpHi,
I bealeve that you must to edit your policy map and add to your default inspection the smtp traffic.
policy-map global_policy
class inspection_default
inspect smtp
Because your dmz is more trustable than the outside interface, I think you must include this type of traffic to the global inspection.
Take care man. -
Iphone 4 smtp outgoing mail problems
Hi,
I am trying to set up the outgoing mail with the iphone, however it fails everytime.
My mail server doesnt accespt smtp requests from external Ips, so in the past on my Treo phone
I had a vzwmail.net account and used that to send my mail out.
On my blackberry i had no problems, however on the iphone i cannot send mail.
My collegue who has att iphone has to use a att smtp server for his outgoing which works fine.
I tried the smtp.vzwmail.net with my [email protected] but this no longer seems to be working.
I was told to try hostname: outgoing.verizon.net with port 587
however then it asks me for a usename /password.
I have tried my cell number as username, also my Myverizon username and password , all which fail.
How can i resolve this and be able to send mail.
Thanks
BrianHello Brian,
Please visit our Verizon Wireless forum for your iPhone support question at http://community.vzw.com/. You may find answers to your questions on existing posts or one of our Wireless agents can help you further.
Thank you
Mike_VZ
Verizon Support
Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms of Service, or your Customer Agreement Terms and Conditions or Plan. -
Hello readers!
We have a Cisco 2821 with the IPS NME module in it wich is causing problems for our VPN..
We have two gateways: x.x.6.1 (the router) and x.x.6.21 (software gateway)
When we establish a VPN connection over x.x.6.21 everything goes fine.
But when we establish a VPN connection over x.x.6.1, you guessed it, it goes wrong; a connection isnt made.
After some trying out and being on the phone with Cisco Tech Support, we discovered it was the IPS getting in the .. while the IPS wasnt logging anything about stopping the packets related to the VPN connection and the IPS isnt blocking any of the IP addresses for the VPN connection.. I've also monitored it with Wireshark, when on the x.x.6.1 you see the packets with the destination address, but nothing else.
I've been looking around but didnt find a way to solve. I hope you guys can help me out here.
Thanks in advance,
Marco
*Moved this thread to Intrusion Prevention System/IDS because there is where it should be in the first place.Hello Marco,
I'd like to take a deeper look at this via a TAC case. Would you mind opening one and having it sent to the IDS team? Please forward me the SR number when you receive it so that I can pull it up.
Thank you,
Blayne Dreier
[email protected]
Cisco TAC Escalation Team
**Please check out our Podcasts**
TAC Security Show: http://www.cisco.com/go/tacsecuritypodcast
TAC IPS Media Series: https://supportforums.cisco.com/community/netpro/security/intrusion-prevention?view=tags&tags=tac_ips_media_series -
I just changed isp provider and I am trying to use mail with my yahoo account. Everything seems to work except sending mail. I have talked with Yahoo and Adelphia and they can not figure it out. Adelphia suggested that my server port was blocked but I don't know how that could be because it was working with my last isp verizon. How do I unblock port 25 if that is the case or do you have any other suggestions?
Most, if not all ISPs block the use of SMTP servers that are outside of their network (or not provided by the ISP) on Port 25. Some ISPs allow the use of an authenticated SMTP server only that is outside of their network on Port 25 but some block its use regardless.
These restrictions are in place as part of an overall effort to prevent spam emanating from the ISP's domain.
You cannot unblock using Port 25 with an SMTP server that is outside of your ISPs network. If using an SMTP server that is outside of your ISP's network is blocked by your ISP on Port 25, only your ISP can do so.
Are you also accessing an email account and SMTP server in Mail that is provided by Adelphia and if so, are you able to send mail with your Adelphia email account?
If so, sounds like the person you talked to with Adelphia does not know what they are talking about.
Something to try.
Go to Mail > Preferences > Accounts and under the Account Information tab for your Yahoo account preferences at the SMTP server selection, select the Server Settings button below.
Enter 587 in place of 25 in the Server Port field and when finished, select OK to save the changed setting.
Test if this resolves the problem. If not and you are accessing an email account and SMTP server in Mail provided by Adelphia and you are able to send messages with this account, select/use Adelphia's SMTP server to send mail with your Yahoo email account which is invisible to all recipients. -
Hi All,
we've installed IPS 4240 since 6 months ago and everything worked fine. Then I noticed time in IPS was not correct, then in the IDM, I've changed summer time to 60 minutes offset to get the right time from NTP. then reboot the IPS, since that time users inside the network are not able to connect to internet, and basically traffic from inside to outside is blocked. But traffic from outside to inside is fine and outside users are able to hit to the web server in DMZ zone.
any idea would be very appreciated.
thanks
AlexChanging your time offset should not cause this type of problem. Check for any non-running processes with a "sh ver", reboot your sensor and check the system log for some signs of trouble or blocking with "sh events past 01:00".
Open a TAC case to get additional help. -
IPS Block Computers on a Certain Windows Domain
I have been trying to figure out if the IPS can find out if a computer is part of a certain Domain and if so block it.
I have setup where I want a PC from domain
Workgroup\PCNAME to be blocked or at least logged by the IPS. I currently use multple TCP, UDP, and uri functions but I have never tried to look up the domain of a PC. If anyone has tried this or if it is not even possible I would like to know. I know a NAC solution would work but we don't have that at this moment.
Thank you for any help.I found out the issue with this, just thought I would post the solution if anyone else comes across it.
The problem was the users account had a drive mapped to his AD account on a server that no longer existed.
So I'm guessing at login it would try and map the drive and create a folder on the desktop but couldn't reach the server and time out, preventing the account to login. -
number of data block
is there any limit for the number of datablocks in a form?
i have a form that has 8 blocks and all of them are none base,
some times when i use this form it suddenly closed and a special file (ifrun60_dump file)
is created.i donot know the reson and i cannot solve the problem
if you have any idea about this ,plz help me?
thanks in advance.
regards ,
shoja.Restriction on the number of objects is documented in the Help topic "Limits" - There is no practical limit to the number of blocks in a form. Certainly 8 is a timy number compared with mosdt forms.
Contact support and supply them with the dump file, that should help to identify the issue you have. -
Hello expert,
I have a problem in MT100 generation.
File is generated with the correct payment information but I don't have headr block i mean tags 01, 02, 03, 04, 05, 06 and 07.
There is an option that i should set to print also header block?
Thank you in advance.Thank you Gaurav.
I checked all MF of all events. There is no tags 1,2..7. In the event 30, the MF creates tags 20 until 72.
The bank sent me the file format MT100 expected. There are two blocks: header Block (Tag from 1 to 7) and payment information block (Tag from 20 to 72). I have no problem with the payment block is what generate SAP and i found those tags in event 30.
by cons I do not know how to enable the generation of header block?
1- This block could be generated by standard SAP ? What i must to set?
2- Or i must use MF to add myself this header block? (Specific dev)
Just for information, header block is like that:
:01: Refrence --> YYMMDDNN when NN is the file number --> Mandatory for the bank
:02: Total amount --> Mandatory for the bank
:03: No orders --> Mandatory for the bank
:04: Paying Bank --> SWIFT --> Mandatory for the bank
:05: Ordering party --> Ordering party name and adress --> Mandatory for the bank
:06: User No --> User No at the paying bank -->optional
:07: File name -->optional
Thank you very much for your help. -
JOptionPane event blocking problem
Hi,
JOptionPane is causing me a problem.
I have a simple frame that contains a text field and a button.
Pressing the button should write something to the standard output.
When the text field loses focus a JOptionPane in poped to the user.
The following scenario is problematic:
1. The text field owns the focus.
2. The user presses the button.
Expected result:
The JOptionPane appears due to the lost focus event on the text field.
After closing it some text is written to the standard output due to the action event on the button.
The actual result:
The JOptionPane does appears but after closing it nothing is written to the standard output. The button stays in a curious state (when the mouse hovers over the button the button looks pressed, and when the mouse doesn't hover over the button the button looks unpressed).
Probable reason for this behaviour:
The JOptionPane blocks all awt/swing events while it is opened. Some of the button code is perfomed due to the button press, but the ActionListener's actionPerformed method is not invoked.
I need the actionPerfomed method to be invoked.
Can anyone help me?
Here is the source code:
package test;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.text.*;
import java.awt.*;
import java.awt.event.*;
public class Test {
public Test() {
public static void main(String[] args) {
//Test test1 = new Test();
final JFrame f = new JFrame("Test");
JButton b = new JButton("Click Here");
JTextField tField = new JTextField("Text", 10);
f.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
b.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.out.println("Button pressed!");
tField.addFocusListener(new FocusAdapter() {
public void focusLost(FocusEvent e) {
if (e.isTemporary()) return;
JOptionPane.showMessageDialog(f,
"Focus lost",
"Title",
JOptionPane.INFORMATION_MESSAGE);
JPanel content = (JPanel)f.getContentPane();
content.setLayout(new BoxLayout(content, BoxLayout.X_AXIS));
content.add(tField);
content.add(Box.createHorizontalStrut(5));
content.add(b);
f.pack();
f.show();
Thanks,
ShaiHello Shai.
The JOptionPane seems to consume all events when its shown. (Check the stack after JOptionPane is shown.) I've solved a similar problem with the SwingUtilities.invokeLater() method. Maybe the following example will help:
Runnable doDlgError = new Runnable() {
public void run() {
JOptionPane.showMessageDialog(this, "Error", "Error",
JOptionPane.ERROR_MESSAGE);
SwingUtilities.invokeLater(doDlgError);
-Olaf -
GP - Sequential Block Problem with input structure
Hi all
My scenario is as follows:
I have three Actions A1 , A2, A3
every action has collable object of type WebDynproComponent : CO1 CO2 CO3
CO1 has only output parameters that i have mapped to input parameters of CO2 .
Output parameters of CO2 are apped to input parameters of CO3 .
I have created sequential block with Actions A1 , A2, A3.where target of A1 is A2 and that of A2 is A3
I have created IVIEW of this GP process .
when i open iview , ideally it should directly open the webdynpro comp of collable object CO1.
*But my problem is its before instantiation asking me to fill values for input parameters of CO2 which is in sequence to CO1.*
*Is there any setting that i have missed while creating block?*
Regards,
SheetalHi,
If you expose parameters at the process level, it will ask you to provide values while instaniation.
If it is not a mandatory parameter, you can proceed with out providing values.
The best way is don't expose paramters, if is not required at process level.
You have to expose a parameter at process level, only if you want to use that parameter in other processes.
by default, it will be exposed. You have to uncheck it, If you don't want to expose it.
thanks -
Thread Problem - (Thread Blocking Problems?)
Hi Friends
In my program while using thread i found a problem in this code .
In this whlie running the 'msg' was printen only after all 5 inputs are given .
why i was not getting output after one input.why the thread out was waiting for remaining threads input.
my code is
import java.io.*;
class MyThread extends Thread
BufferedReader bin;
MyThread()
super();
start();
public void run()
try
bin=new BufferedReader(new InputStreamReader(System.in));
String msg=bin.readLine();
System.out.println(msg);
catch(IOException e)
System.out.println(e);
public class Threads
public static void main(String args[])
for(int i=0;i<5;i++)
new MyThread();
}Hi Friends
In my program while using thread i found a problem
em in this code .
In this whlie running the 'msg' was printen only
after all 5 inputs are given .
why i was not getting output after one input.why
hy the thread out was waiting for remaining threads
input.Probably because of how the scheduler was rotating among the threads while waiting for input and queueing up output.
When you call readLine, that thread blocks until a line is available. So it probably goes to the next thread's readLine, and so on. All threads are probably blocked waiting for input before you enter a single character.
Something inside the VM has to coordinate the interaction with the console, and between that and your threads, the out stuff just doesn't get a chance to display right away.
In general, you can't predict the order of execution of separate threads. -
Hi Friends,
I am facing a issue. Can some one help to overcome this issue please
1. We have created PO with item value Rs 100 and GR is not done yet.
2. Then we created Invoice for value Rs 20. Invoice got blocked due to Quantity (because GR is not done)
3. Now,I am creating subsequent debit for the same PO for the remaining value of Rs 80. But this subsequent document is not getting blocked . According to me this subsequent document should also get blocked. Can some one help me why this problem. Is it a standard SAP functionality that subsequent document will not get blocked?
DevaPlease have a look for details
http://help.sap.com/saphelp_erp60_sp/helpdata/en/a8/b99725452b11d189430000e829fbbd/content.htm
Subsequent Debits/Credits are used in cases where the quantity is in the original invoice is to remain the same. For eg.
PO 10 - $10
Gr 10 - $10
LIV 10 - $11 (Logistics Invoice Verification)
The vendor invoice is more than that in the Purchase Order. In order to correct, the Vendor may send in another invoice for
the Increased amount or a credit memo for the increased amount.
If you approve of the price increase, post the subsequent invoice received as a Subsequent Debit/Credit Invoice.
If it is a credit memo that has been received, then post the credit memo as Subsequent Debit/Credit.
This would retain the quantity but reduce the amount.
Subsequent Debit/Credit is for the case when the credit is not for the full amount eg. if the Vendor decided to credit
only the $1 overcharged.
Credit memo is for the credit of the full amount and value.
Edited by: Sridhar Jayavarapu on Feb 12, 2009 2:34 PM
Maybe you are looking for
-
How can I tell if an arb is currently generating a waveform? (LabView 8.5)
I have a VI which configures the load impedance of a 5421 arb card by changing the value of the property node "Load Impedance". This only works if the arb is not generating at the time of the call to the VI. I wish to be able to call the function whe
-
I am trying to install adobe reader on a PC running windows 8.1. I downloaded the file to install reader, install_reader11_en_mssd_aaa_aih.exe. However, when I try to run the program, and I've also tried "Run As Administrator" as well, it has a sort
-
'd just got my G4 back to school, when I found that the ribbon connector to the Superdrive was jostled loose when I took my G4 in to TekServe for a new power supply. I re connected it, but now the picture was SERIOUSLY messing up. There was heavy vis
-
Is there any free software for reading PDF in BB8300
Can anyone advice me a free PDF reader for BB8300, the eOffice is too expensive;(
-
Can Javascript text link in PDF?
Is there a way to insert a javascript text link in a PDF? I've added web links to text, but I just want to insert some javascript so when the user clicks on the text, it runs my script I post problem in many forums but not got the best answer any hel